Revisions of python-Werkzeug
buildservice-autocommit
accepted
request 1003681
from
Matej Cepl (mcepl)
(revision 75)
baserev update by copy to link target
Matej Cepl (mcepl)
accepted
request 1003613
from
Benjamin Greiner (bnavigator)
(revision 74)
Superseding because there was a (incomplete) direct commit to the devel project in between - Clean some unused python2 python36 code from specfile - Move MarkupSafe to runtime requirement. Versioned. This is checked in multibuild test flavor as build requirement.
Markéta Machová (mcalabkova)
committed
(revision 73)
clean up
Markéta Machová (mcalabkova)
committed
(revision 72)
...and requires
Markéta Machová (mcalabkova)
committed
(revision 71)
casing
Markéta Machová (mcalabkova)
accepted
request 1003019
from
Yogalakshmi Arunachalam (yarunachalam)
(revision 70)
- test failed due to markupsafe module missing Included markupsafe module - Update to 2.2.2: * Fix router to restore the 2.1 strict_slashes == False behaviour whereby leaf-requests match branch rules and vice versa. #2489 * Fix router to identify invalid rules rather than hang parsing them, and to correctly parse / within converter arguments. #2489 * Update subpackage imports in werkzeug.routing to use the import as syntax for explicitly re-exporting public attributes. #2493 * Parsing of some invalid header characters is more robust. #2494 * When starting the development server, a warning not to use it in a production deployment is always shown. #2480 * LocalProxy.__wrapped__ is always set to the wrapped object when the proxy is unbound, fixing an issue in doctest that would cause it to fail. #2485 * Address one ResourceWarning related to the socket used by run_simple. #2421 - Update to Version 2.2.1: * Fix router so that /path/ will match a rule /path if strict slashes mode is disabled for the rule. #2467 * Fix router so that partial part matches are not allowed i.e. /2df does not match /<int>. #2470 * Fix router static part weighting, so that simpler routes are matched before more complex ones. #2471 * Restore ValidationError to be importable from werkzeug.routing. #2465 - Update to Version 2.2.0 * Deprecated get_script_name, get_query_string, peek_path_info, pop_path_info, and extract_path_info. #2461 * Remove previously deprecated code. #2461 * Add MarkupSafe as a dependency and use it to escape values when rendering HTML. #2419 * Added the werkzeug.debug.preserve_context mechanism for restoring context-local data for a request when running code in the debug console. #2439 * Fix compatibility with Python 3.11 by ensuring that end_lineno and end_col_offset are present on AST nodes. #2425 * Add a new faster matching router based on a state machine. #2433 * Fix branch leaf path masking branch paths when strict-slashes is disabled. #1074 * Names within options headers are always converted to lowercase. This matches RFC 6266 that the case is not relevant. #2442 * AnyConverter validates the value passed for it when building URLs. #2388 * The debugger shows enhanced error locations in tracebacks in Python 3.11. #2407 * Added Sans-IO is_resource_modified and parse_cookie functions based on WSGI versions. #2408 * Added Sans-IO get_content_length function. #2415 * Don’t assume a mimetype for test responses. #2450
buildservice-autocommit
accepted
request 991941
from
Matej Cepl (mcepl)
(revision 69)
baserev update by copy to link target
Matej Cepl (mcepl)
accepted
request 991886
from
Torsten Gruner (Simmphonie)
(revision 68)
- enable multibuild for test
buildservice-autocommit
accepted
request 976285
from
Dirk Mueller (dirkmueller)
(revision 67)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 66)
- update to 2.1.2: * The development server does not set ``Transfer-Encoding: chunked`` for 1xx, 204, 304, and HEAD responses. :issue:`2375` * Response HTML for exceptions and redirects starts with ``<!doctype html>`` and ``<html lang=en>``. :issue:`2390` * Fix ability to set some ``cache_control`` attributes to ``False``. :issue:`2379` * Disable ``keep-alive`` connections in the development server, which are not supported sufficiently by Python's ``http.server``. :issue:`2397` - drop 2402-dev_server.patch (upstream)
buildservice-autocommit
accepted
request 975271
from
Factory Maintainer (factory-maintainer)
(revision 65)
baserev update by copy to link target
Matej Cepl (mcepl)
committed
(revision 64)
- Replace no-network-testing.patch with the upstream solution 2402-dev_server.patch from gh#pallets/werkzeug#2402. - Add moved_root.patch to make test test_exclude_patterns with different PYTHONPATH.
buildservice-autocommit
accepted
request 970992
from
Matej Cepl (mcepl)
(revision 63)
baserev update by copy to link target
Matej Cepl (mcepl)
accepted
request 970987
from
Matej Cepl (mcepl)
(revision 62)
- Update to 2.1.1: - ResponseCacheControl.s_maxage converts its value to an int, like max_age. - Drop support for Python 3.6. - Using gevent or eventlet requires greenlet>=1.0 or PyPy>=7.3.7. werkzeug.locals and contextvars will not work correctly with older versions. - Remove previously deprecated code. - Remove the non-standard shutdown function from the WSGI environ when running the development server. See the docs for alternatives. - Request and response mixins have all been merged into the Request and Response classes. - The user agent parser and the useragents module is removed. The user_agent module provides an interface that can be subclassed to add a parser, such as ua-parser. By default it only stores the whole string. - The test client returns TestResponse instances and can no longer be treated as a tuple. All data is available as properties on the response. - Remove locals.get_ident and related thread-local code from locals, it no longer makes sense when moving to a contextvars-based implementation. - Remove the python -m werkzeug.serving CLI. - The has_key method on some mapping datastructures; use key in data instead. - Request.disable_data_descriptor is removed, pass shallow=True instead. - Remove the no_etag parameter from Response.freeze(). - Remove the HTTPException.wrap class method.
Dirk Mueller (dirkmueller)
committed
(revision 61)
- update to 2.0.3: * ``ProxyFix`` supports IPv6 addresses. * Type annotation for ``Response.make_conditional``, ``HTTPException.get_response``, and ``Map.bind_to_environ`` accepts ``Request`` in addition to ``WSGIEnvironment`` for the first parameter. * Fix type annotation for ``Request.user_agent_class``. * Accessing ``LocalProxy.__class__`` and ``__doc__`` on an unbound proxy returns the fallback value instead of a method object. * Redirects with the test client set ``RAW_URI`` and ``REQUEST_URI`` correctly.
Dirk Mueller (dirkmueller)
committed
(revision 60)
- update to 2.0.2: * Handle multiple tokens in ``Connection`` header when routing WebSocket requests. * Set the debugger pin cookie secure flag when on https. * Fix type annotation for ``MultiDict.update`` to accept iterable values :pr:`2142` * Prevent double encoding of redirect URL when ``merge_slash=True`` for ``Rule.match``. * ``CombinedMultiDict.to_dict`` with ``flat=False`` considers all component dicts when building value lists. :issue:`2189` * ``send_file`` only sets a detected ``Content-Encoding`` if ``as_attachment`` is disabled to avoid browsers saving decompressed ``.tar.gz`` files. * Fix type annotations for ``TypeConversionDict.get`` to not return an ``Optional`` value if both ``default`` and ``type`` are not ``None``. * Fix type annotation for routing rule factories to accept ``Iterable[RuleFactory]`` instead of ``Iterable[Rule]`` for the ``rules`` parameter. :issue:`2183` * Add missing type annotation for ``FileStorage.__getattr__`` * The debugger pin cookie is set with ``SameSite`` set to ``Strict`` instead of ``None`` to be compatible with modern browser security. * Type annotations use ``IO[bytes]`` and ``IO[str]`` instead of ``BinaryIO`` and ``TextIO`` for wider type compatibility. * Ad-hoc TLS certs are generated with SAN matching CN. :issue:`2158` * Fix memory usage for locals when using Python 3.6 or pre 0.4.17 greenlet versions. :pr:`2212` * Fix type annotation in ``CallbackDict``, because it is not utilizing a bound TypeVar. :issue:`2235` * Fix setting CSP header options on the response. :pr:`2237`
Matej Cepl (mcepl)
accepted
request 901091
from
Michael Ströder (stroeder)
(revision 59)
This replaces SR#900998 which came from the wrong branch project.
buildservice-autocommit
accepted
request 862678
from
Markéta Machová (mcalabkova)
(revision 58)
baserev update by copy to link target
Markéta Machová (mcalabkova)
accepted
request 862676
from
Markéta Machová (mcalabkova)
(revision 57)
- Workaround pytest 6.2
buildservice-autocommit
accepted
request 793341
from
Tomáš Chvátal (scarabeus_iv)
(revision 56)
baserev update by copy to link target
Displaying revisions 21 - 40 of 95