Merge pull request #2622 from pallets/versions
Before adoption: this commit came in with the history the project adopted, so no landing records it.
bump dependency versions
authored by David Lord · committed by GitHub · parents 8c2c802, af32ea0 · Browse files · 4 files·+29 added−32 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+29 added−32 removed
- other:+29 added−32 removed
Provenance
- Commit
f9c6f38- Tree
3c8d1f5- Author
David Lord <davidism@gmail.com>- Committer
GitHub <noreply@github.com>- Parent 1
8c2c802- Parent 2
af32ea0
4 files changed+29 added−32 removed
modified:flask/helpers.py+7 added-12 removed
606 unmodified lines607 warn('Access %s failed, maybe it does not exist, so ignore etags in '608 'headers' % filename, stacklevel=2)609 610 if conditional:611- if callable(getattr(Range, 'to_content_range_header', None)):612- # Werkzeug supports Range Requests613- # Remove this test when support for Werkzeug <0.12 is dropped614- try:615- rv = rv.make_conditional(request, accept_ranges=True,616- complete_length=fsize)617- except RequestedRangeNotSatisfiable:618- if file is not None:619- file.close()620- raise611+ try:612+ rv = rv.make_conditional(request, accept_ranges=True,613+ complete_length=fsize)614+ except RequestedRangeNotSatisfiable:615+ if file is not None:616+ file.close()617+ raise621- else:622- rv = rv.make_conditional(request)618 # make sure we don't send x-sendfile for servers that619 # ignore the 304 status code for x-sendfile.620 if rv.status_code == 304:621 rv.headers.pop('x-sendfile', None)408 unmodified linesmodified:CHANGES.rst+4 added-3 removed
6 unmodified lines7 8 unreleased9 10 - **Python 2.6 and 3.3 are no longer supported.** (`pallets/meta#24`_)11-- Minimum Werkzeug version bumped to 0.14, but please use the latest12- version.13-- Minimum Click version bumped to 4, but please use the latest version.11+- Bump minimum dependency versions to the latest stable versions:12+ Werkzeug >= 0.14, Jinja >= 2.10, itsdangerous >= 0.24, Click >= 5.1.13+ (`#2586`_)14 - Make ``app.run()`` into a noop if a Flask application is run from the15 development server on the command line. This avoids some behavior that16 was confusing to debug for newcomers.17 - Change default configuration ``JSONIFY_PRETTYPRINT_REGULAR=False``.140 unmodified lines158 .. _#2436: https://github.com/pallets/flask/pull/2436159 .. _#2450: https://github.com/pallets/flask/pull/2450160 .. _#2526: https://github.com/pallets/flask/issues/2526161 .. _#2529: https://github.com/pallets/flask/pull/2529162+.. _#2586: https://github.com/pallets/flask/issues/2586163 .. _#2581: https://github.com/pallets/flask/pull/2581164 .. _#2606: https://github.com/pallets/flask/pull/2606165 .. _#2607: https://github.com/pallets/flask/pull/2607166 621 unmodified linesmodified:setup.py+15 added-14 removed
66 unmodified lines67 packages=['flask', 'flask.json'],68 include_package_data=True,69 zip_safe=False,70 platforms='any',71+ python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',72 install_requires=[72- 'Werkzeug>=0.9',73- 'Jinja2>=2.4',74- 'itsdangerous>=0.21',75- 'click>=4.0',73+ 'Werkzeug>=0.14',74+ 'Jinja2>=2.10',75+ 'itsdangerous>=0.24',76+ 'click>=5.1',77 ],78 extras_require={79 'dotenv': ['python-dotenv'],80 'dev': [80- 'blinker',81- 'python-dotenv',82- 'greenlet',81 'pytest>=3',82 'coverage',83 'tox',84 'sphinx',87- 'sphinxcontrib-log-cabinet'85 ],86 },87 classifiers=[91- 'Development Status :: 4 - Beta',88+ 'Development Status :: 5 - Production/Stable',89 'Environment :: Web Environment',90+ 'Framework :: Flask',91 'Intended Audience :: Developers',92 'License :: OSI Approved :: BSD License',93 'Operating System :: OS Independent',94 'Programming Language :: Python',3 unmodified lines98 'Programming Language :: Python :: 3.4',99 'Programming Language :: Python :: 3.5',100 'Programming Language :: Python :: 3.6',101 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',102+ 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',103+ 'Topic :: Software Development :: Libraries :: Application Frameworks',104- 'Topic :: Software Development :: Libraries :: Python Modules'104+ 'Topic :: Software Development :: Libraries :: Python Modules',105 ],106- entry_points='''107- [console_scripts]108- flask=flask.cli:main109- '''106+ entry_points={107+ 'console_scripts': [108+ 'flask = flask.cli:main',109+ ],110+ },111 )modified:tox.ini+3 added-3 removed
15 unmodified lines16 blinker17 python-dotenv18 19 lowest: Werkzeug==0.1420- lowest: Jinja2==2.421- lowest: itsdangerous==0.2122- lowest: Click==4.020+ lowest: Jinja2==2.1021+ lowest: itsdangerous==0.2422+ lowest: Click==5.123 24 devel: https://github.com/pallets/werkzeug/archive/master.tar.gz25 devel: https://github.com/pallets/markupsafe/archive/master.tar.gz26 devel: https://github.com/pallets/jinja/archive/master.tar.gz38 unmodified lines