Accepting request 965486 from home:stroeder:python
- Update to 2.1.0 * Drop support for Python 3.6. #4335 * Update Click dependency to >= 8.0. #4008 OBS-URL: https://build.opensuse.org/request/show/965486 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=20
This commit is contained in:
parent
be2447030b
commit
4f26997469
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e1120c228ca2f553b470df4a5fa927ab66258467526069981b3eb0a91902687d
|
||||
size 629304
|
3
Flask-2.1.0.tar.gz
Normal file
3
Flask-2.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c4dd4a3d8fcae9f892e3f61edfbb1d3cdf9ac03dc72ea1bf8d5c6c964a669674
|
||||
size 630852
|
@ -1,3 +1,43 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 28 19:45:05 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
||||
|
||||
- Update to 2.1.0
|
||||
* Drop support for Python 3.6. #4335
|
||||
* Update Click dependency to >= 8.0. #4008
|
||||
* Remove previously deprecated code. #4337
|
||||
- The CLI does not pass script_info to app factory functions.
|
||||
- config.from_json is replaced by config.from_file(name, load=json.load).
|
||||
- json functions no longer take an encoding parameter.
|
||||
- safe_join is removed, use werkzeug.utils.safe_join instead.
|
||||
- total_seconds is removed, use timedelta.total_seconds instead.
|
||||
- The same blueprint cannot be registered with the same name.
|
||||
Use name= when registering to specify a unique name.
|
||||
- The test client’s as_tuple parameter is removed. Use response.request.environ instead. #4417
|
||||
* Some parameters in send_file and send_from_directory were renamed in 2.0.
|
||||
The deprecation period for the old names is extended to 2.2.
|
||||
Be sure to test with deprecation warnings visible.
|
||||
- attachment_filename is renamed to download_name.
|
||||
- cache_timeout is renamed to max_age.
|
||||
- add_etags is renamed to etag.
|
||||
- filename is renamed to path.
|
||||
* The RequestContext.g property is deprecated. Use g directly or AppContext.g instead. #3898
|
||||
* copy_current_request_context can decorate async functions. #4303
|
||||
* The CLI uses importlib.metadata instead of setuptools to load command entry points. #4419
|
||||
* Overriding FlaskClient.open will not cause an error on redirect. #3396
|
||||
* Add an --exclude-patterns option to the flask run CLI command to
|
||||
specify patterns that will be ignored by the reloader. #4188
|
||||
* When using lazy loading (the default with the debugger), the Click context from
|
||||
the flask run command remains available in the loader thread. #4460
|
||||
* Deleting the session cookie uses the httponly flag. #4485
|
||||
* Relax typing for errorhandler to allow the user to use more precise
|
||||
types and decorate the same function multiple times. #4095, #4295, #4297
|
||||
* Fix typing for __exit__ methods for better compatibility with ExitStack. #4474
|
||||
* From Werkzeug, for redirect responses the Location header URL will
|
||||
remain relative, and exclude the scheme and domain, by default. #4496
|
||||
* Add Config.from_prefixed_env() to load config values from environment
|
||||
variables that start with FLASK_ or another prefix. This parses values as
|
||||
JSON by default, and allows setting keys in nested dicts. #4479
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 14 20:47:03 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
||||
|
||||
|
@ -24,9 +24,10 @@
|
||||
|
||||
%define oldpython python
|
||||
%define skip_python2 1
|
||||
%define skip_python36 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-Flask
|
||||
Version: 2.0.3
|
||||
Version: 2.1.0
|
||||
Release: 0
|
||||
Summary: A microframework based on Werkzeug, Jinja2 and good intentions
|
||||
License: BSD-3-Clause
|
||||
@ -35,7 +36,7 @@ URL: https://flask.palletsprojects.com
|
||||
Source: https://files.pythonhosted.org/packages/source/F/Flask/Flask-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Jinja2 >= 3.0}
|
||||
BuildRequires: %{python_module Werkzeug >= 2.0}
|
||||
BuildRequires: %{python_module click >= 7.1.2}
|
||||
BuildRequires: %{python_module click >= 8.0.0}
|
||||
BuildRequires: %{python_module contextvars}
|
||||
BuildRequires: %{python_module itsdangerous >= 2.0}
|
||||
BuildRequires: %{python_module pytest >= 6.2.4}
|
||||
|
Loading…
Reference in New Issue
Block a user