Skip to content

Commit

Permalink
update minimum dependencies (#5624)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism authored Oct 31, 2024
2 parents 99ce7ed + 8f37c82 commit 62c56e0
Show file tree
Hide file tree
Showing 12 changed files with 76 additions and 74 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: 3.x
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
- uses: pre-commit-ci/lite-action@9d882e7a565f7008d4faf128f27d1cb6503d4ebf # v1.0.2
- uses: pre-commit-ci/lite-action@5d6cc0eb514c891a40562a58a8e71576c5c7fb43 # v1.1.0
if: ${{ !cancelled() }}
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ jobs:
id-token: write
steps:
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
- uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
- uses: pypa/gh-action-pypi-publish@fb13cb306901256ace3dab689990e13a5550ffaa # v1.11.0
with:
repository-url: https://test.pypi.org/legacy/
packages-dir: artifact/
- uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
- uses: pypa/gh-action-pypi-publish@fb13cb306901256ace3dab689990e13a5550ffaa # v1.11.0
with:
packages-dir: artifact/
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Version 3.1.0
Unreleased

- Drop support for Python 3.8. :pr:`5623`
- Update minimum dependency versions to latest feature releases.
Werkzeug >= 3.1, ItsDangerous >= 2.2, Blinker >= 1.8. :pr:`5624`
- Provide a configuration option to control automatic option
responses. :pr:`5496`
- ``Flask.open_resource``/``open_instance_resource`` and
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ classifiers = [
]
requires-python = ">=3.9"
dependencies = [
"Werkzeug>=3.0.0",
"Werkzeug>=3.1",
"Jinja2>=3.1.2",
"itsdangerous>=2.1.2",
"itsdangerous>=2.2",
"click>=8.1.3",
"blinker>=1.6.2",
"importlib-metadata>=3.6.0; python_version < '3.10'",
"blinker>=1.8",
"importlib-metadata>=3.6; python_version < '3.10'",
]

[project.urls]
Expand Down
2 changes: 0 additions & 2 deletions requirements-skip/README.md

This file was deleted.

6 changes: 0 additions & 6 deletions requirements-skip/tests-min.in

This file was deleted.

98 changes: 49 additions & 49 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,43 +6,43 @@
#
alabaster==1.0.0
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# sphinx
asgiref==3.8.1
# via
# -r tests.txt
# -r typing.txt
# -r /Users/david/Projects/flask/requirements/tests.txt
# -r /Users/david/Projects/flask/requirements/typing.txt
babel==2.16.0
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# sphinx
cachetools==5.5.0
# via tox
certifi==2024.8.30
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# requests
cffi==1.17.1
# via
# -r typing.txt
# -r /Users/david/Projects/flask/requirements/typing.txt
# cryptography
cfgv==3.4.0
# via pre-commit
chardet==5.2.0
# via tox
charset-normalizer==3.4.0
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# requests
colorama==0.4.6
# via tox
cryptography==43.0.3
# via -r typing.txt
# via -r /Users/david/Projects/flask/requirements/typing.txt
distlib==0.3.9
# via virtualenv
docutils==0.21.2
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# sphinx
# sphinx-tabs
filelock==3.16.1
Expand All @@ -53,146 +53,146 @@ identify==2.6.1
# via pre-commit
idna==3.10
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# requests
imagesize==1.4.1
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# sphinx
iniconfig==2.0.0
# via
# -r tests.txt
# -r typing.txt
# -r /Users/david/Projects/flask/requirements/tests.txt
# -r /Users/david/Projects/flask/requirements/typing.txt
# pytest
jinja2==3.1.4
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# sphinx
markupsafe==3.0.2
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# jinja2
mypy==1.13.0
# via -r typing.txt
# via -r /Users/david/Projects/flask/requirements/typing.txt
mypy-extensions==1.0.0
# via
# -r typing.txt
# -r /Users/david/Projects/flask/requirements/typing.txt
# mypy
nodeenv==1.9.1
# via
# -r typing.txt
# -r /Users/david/Projects/flask/requirements/typing.txt
# pre-commit
# pyright
packaging==24.1
# via
# -r docs.txt
# -r tests.txt
# -r typing.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# -r /Users/david/Projects/flask/requirements/tests.txt
# -r /Users/david/Projects/flask/requirements/typing.txt
# pallets-sphinx-themes
# pyproject-api
# pytest
# sphinx
# tox
pallets-sphinx-themes==2.3.0
# via -r docs.txt
# via -r /Users/david/Projects/flask/requirements/docs.txt
platformdirs==4.3.6
# via
# tox
# virtualenv
pluggy==1.5.0
# via
# -r tests.txt
# -r typing.txt
# -r /Users/david/Projects/flask/requirements/tests.txt
# -r /Users/david/Projects/flask/requirements/typing.txt
# pytest
# tox
pre-commit==4.0.1
# via -r dev.in
pycparser==2.22
# via
# -r typing.txt
# -r /Users/david/Projects/flask/requirements/typing.txt
# cffi
pygments==2.18.0
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# sphinx
# sphinx-tabs
pyproject-api==1.8.0
# via tox
pyright==1.1.386
# via -r typing.txt
pyright==1.1.387
# via -r /Users/david/Projects/flask/requirements/typing.txt
pytest==8.3.3
# via
# -r tests.txt
# -r typing.txt
# -r /Users/david/Projects/flask/requirements/tests.txt
# -r /Users/david/Projects/flask/requirements/typing.txt
python-dotenv==1.0.1
# via
# -r tests.txt
# -r typing.txt
# -r /Users/david/Projects/flask/requirements/tests.txt
# -r /Users/david/Projects/flask/requirements/typing.txt
pyyaml==6.0.2
# via pre-commit
requests==2.32.3
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# sphinx
snowballstemmer==2.2.0
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# sphinx
sphinx==8.1.3
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# pallets-sphinx-themes
# sphinx-notfound-page
# sphinx-tabs
# sphinxcontrib-log-cabinet
sphinx-notfound-page==1.0.4
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# pallets-sphinx-themes
sphinx-tabs==3.4.7
# via -r docs.txt
# via -r /Users/david/Projects/flask/requirements/docs.txt
sphinxcontrib-applehelp==2.0.0
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# sphinx
sphinxcontrib-devhelp==2.0.0
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# sphinx
sphinxcontrib-htmlhelp==2.1.0
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# sphinx
sphinxcontrib-jsmath==1.0.1
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# sphinx
sphinxcontrib-log-cabinet==1.0.1
# via -r docs.txt
# via -r /Users/david/Projects/flask/requirements/docs.txt
sphinxcontrib-qthelp==2.0.0
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# sphinx
sphinxcontrib-serializinghtml==2.0.0
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# sphinx
tox==4.23.2
# via -r dev.in
types-contextvars==2.4.7.3
# via -r typing.txt
# via -r /Users/david/Projects/flask/requirements/typing.txt
types-dataclasses==0.6.6
# via -r typing.txt
# via -r /Users/david/Projects/flask/requirements/typing.txt
typing-extensions==4.12.2
# via
# -r typing.txt
# -r /Users/david/Projects/flask/requirements/typing.txt
# mypy
# pyright
urllib3==2.2.3
# via
# -r docs.txt
# -r /Users/david/Projects/flask/requirements/docs.txt
# requests
virtualenv==20.27.0
virtualenv==20.27.1
# via
# pre-commit
# tox
File renamed without changes.
6 changes: 6 additions & 0 deletions requirements/tests-min.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
werkzeug==3.1.0
jinja2==3.1.2
markupsafe==2.1.1
itsdangerous==2.2.0
click==8.1.3
blinker==1.8.0
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile tests-min.in
#
blinker==1.6.2
blinker==1.8.0
# via -r tests-min.in
click==8.1.3
# via -r tests-min.in
itsdangerous==2.1.2
itsdangerous==2.2.0
# via -r tests-min.in
jinja2==3.1.2
# via -r tests-min.in
Expand All @@ -17,5 +17,5 @@ markupsafe==2.1.1
# -r tests-min.in
# jinja2
# werkzeug
werkzeug==3.0.0
werkzeug==3.1.0
# via -r tests-min.in
2 changes: 1 addition & 1 deletion requirements/typing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pluggy==1.5.0
# via pytest
pycparser==2.22
# via cffi
pyright==1.1.386
pyright==1.1.387
# via -r typing.in
pytest==8.3.3
# via -r typing.in
Expand Down
8 changes: 5 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
envlist =
py3{13,12,11,10,9}
pypy310
py312-min
py313-min
py39-dev
style
typing
Expand All @@ -17,8 +17,8 @@ constrain_package_deps = true
use_frozen_constraints = true
deps =
-r requirements/tests.txt
min: -r requirements-skip/tests-min.txt
dev: -r requirements-skip/tests-dev.txt
min: -r requirements/tests-min.txt
dev: -r requirements/tests-dev.txt
commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs}

[testenv:style]
Expand All @@ -39,6 +39,7 @@ commands = sphinx-build -E -W -b dirhtml docs docs/_build/dirhtml
[testenv:update-actions]
labels = update
deps = gha-update
skip_install = true
commands = gha-update

[testenv:update-pre_commit]
Expand All @@ -56,5 +57,6 @@ commands =
pip-compile build.in -q {posargs:-U}
pip-compile docs.in -q {posargs:-U}
pip-compile tests.in -q {posargs:-U}
pip-compile tests-min.in -q
pip-compile typing.in -q {posargs:-U}
pip-compile dev.in -q {posargs:-U}

0 comments on commit 62c56e0

Please sign in to comment.