diff --git a/Flask-2.0.3.tar.gz b/Flask-2.0.3.tar.gz deleted file mode 100644 index 6c7ba78..0000000 --- a/Flask-2.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e1120c228ca2f553b470df4a5fa927ab66258467526069981b3eb0a91902687d -size 629304 diff --git a/Flask-2.1.1.tar.gz b/Flask-2.1.1.tar.gz new file mode 100644 index 0000000..edeb252 --- /dev/null +++ b/Flask-2.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8c9bd3e558ec99646d177a9739c41df1ded0629480b4c8d2975412f3c9519c8 +size 630996 diff --git a/python-Flask.changes b/python-Flask.changes index 4f2ab97..86e24eb 100644 --- a/python-Flask.changes +++ b/python-Flask.changes @@ -1,3 +1,60 @@ +------------------------------------------------------------------- +Tue Apr 12 20:25:45 UTC 2022 - Ben Greiner + +- Update the build and runtime requirements. + +------------------------------------------------------------------- +Thu Mar 31 08:28:04 UTC 2022 - Michael Ströder + +- Update to 2.1.1 + * Set the minimum required version of importlib_metadata to 3.6.0, + which is required on Python < 3.10. #4502 + +------------------------------------------------------------------- +Tue Mar 29 19:38:52 UTC 2022 - Matej Cepl + +- Fix deduplication. + +------------------------------------------------------------------- +Mon Mar 28 19:45:05 UTC 2022 - Michael Ströder + +- 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 diff --git a/python-Flask.spec b/python-Flask.spec index e2cd34b..927a193 100644 --- a/python-Flask.spec +++ b/python-Flask.spec @@ -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.1 Release: 0 Summary: A microframework based on Werkzeug, Jinja2 and good intentions License: BSD-3-Clause @@ -35,8 +36,9 @@ 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 importlib-metadata >= 3.6.0 if %python-base < 3.10} BuildRequires: %{python_module itsdangerous >= 2.0} BuildRequires: %{python_module pytest >= 6.2.4} BuildRequires: %{python_module setuptools} @@ -44,8 +46,12 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros >= 20210929 Requires: python-Jinja2 >= 3.0 Requires: python-Werkzeug >= 2.0 -Requires: python-click >= 7.1.2 +Requires: python-click >= 8.0.0 Requires: python-itsdangerous >= 2.0 +%if 0%{?python_version_nodots} < 310 +Requires: python-importlib-metadata >= 3.6.0 +%endif + %if %{with libalternatives} Requires: alts BuildRequires: alts @@ -82,7 +88,7 @@ reference for python-Flask. %install %python_install %python_clone -a %{buildroot}%{_bindir}/flask -%fdupes %{buildroot}%{python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LANG=en_US.UTF-8