Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from pallets:main #302

Merged
merged 19 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: pre-commit
on:
pull_request:
push:
branches: [main, '*.x']
branches: [main, stable]
jobs:
main:
runs-on: ubuntu-latest
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
outputs:
hash: ${{ steps.hash.outputs.hash }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.x'
cache: pip
Expand All @@ -23,7 +23,7 @@ jobs:
- name: generate hash
id: hash
run: cd dist && echo "hash=$(sha256sum * | base64 -w0)" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
path: ./dist
provenance:
Expand Down 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@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0
- uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
with:
repository-url: https://test.pypi.org/legacy/
packages-dir: artifact/
- uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0
- uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
with:
packages-dir: artifact/
24 changes: 8 additions & 16 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
name: Tests
on:
push:
branches:
- main
- '*.x'
paths-ignore:
- 'docs/**'
- '*.md'
- '*.rst'
branches: [main, stable]
paths-ignore: ['docs/**', '*.md', '*.rst']
pull_request:
paths-ignore:
- 'docs/**'
- '*.md'
- '*.rst'
paths-ignore: ['docs/**', '*.md', '*.rst']
jobs:
tests:
name: ${{ matrix.name || matrix.python }}
Expand All @@ -31,8 +23,8 @@ jobs:
- {python: '3.8'}
- {name: PyPy, python: 'pypy-3.10', tox: pypy310}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
Expand All @@ -43,14 +35,14 @@ jobs:
typing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.x'
cache: pip
cache-dependency-path: requirements*/*.txt
- name: cache mypy
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
with:
path: ./.mypy_cache
key: mypy|${{ hashFiles('pyproject.toml') }}
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.2
rev: v0.7.1
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: debug-statements
Expand Down
13 changes: 13 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@ Unreleased
some typing issues on cache control. :issue:`2881`


Version 3.0.5
-------------

Released 2024-10-24

- The Watchdog reloader ignores file closed no write events. :issue:`2945`
- Logging works with client addresses containing an IPv6 scope :issue:`2952`
- Ignore invalid authorization parameters. :issue:`2955`
- Improve type annotation fore ``SharedDataMiddleware``. :issue:`2958`
- Compatibility with Python 3.13 when generating debugger pin and the current
UID does not have an associated name. :issue:`2957`


Version 3.0.4
-------------

Expand Down
6 changes: 3 additions & 3 deletions requirements/build.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile build.in
#
build==1.2.1
build==1.2.2.post1
# via -r build.in
packaging==24.1
# via build
pyproject-hooks==1.1.0
pyproject-hooks==1.2.0
# via build
54 changes: 30 additions & 24 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile dev.in
Expand All @@ -14,41 +14,41 @@ babel==2.16.0
# sphinx
cachetools==5.5.0
# via tox
certifi==2024.7.4
certifi==2024.8.30
# via
# -r docs.txt
# requests
cffi==1.17.0rc1
cffi==1.17.1
# via
# -r tests.txt
# cryptography
cfgv==3.4.0
# via pre-commit
chardet==5.2.0
# via tox
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via
# -r docs.txt
# requests
colorama==0.4.6
# via tox
cryptography==43.0.0
cryptography==43.0.3
# via -r tests.txt
distlib==0.3.8
distlib==0.3.9
# via virtualenv
docutils==0.21.2
# via
# -r docs.txt
# sphinx
ephemeral-port-reserve==1.1.4
# via -r tests.txt
filelock==3.15.4
filelock==3.16.1
# via
# tox
# virtualenv
identify==2.6.0
identify==2.6.1
# via pre-commit
idna==3.8
idna==3.10
# via
# -r docs.txt
# requests
Expand All @@ -65,11 +65,11 @@ jinja2==3.1.4
# via
# -r docs.txt
# sphinx
markupsafe==2.1.5
markupsafe==3.0.2
# via
# -r docs.txt
# jinja2
mypy==1.11.1
mypy==1.13.0
# via -r typing.txt
mypy-extensions==1.0.0
# via
Expand All @@ -90,9 +90,9 @@ packaging==24.1
# pytest
# sphinx
# tox
pallets-sphinx-themes==2.1.3
pallets-sphinx-themes==2.3.0
# via -r docs.txt
platformdirs==4.2.2
platformdirs==4.3.6
# via
# tox
# virtualenv
Expand All @@ -102,9 +102,9 @@ pluggy==1.5.0
# -r typing.txt
# pytest
# tox
pre-commit==3.8.0
pre-commit==4.0.1
# via -r dev.in
psutil==6.0.0
psutil==6.1.0
# via
# -r tests.txt
# pytest-xprocess
Expand All @@ -116,11 +116,11 @@ pygments==2.18.0
# via
# -r docs.txt
# sphinx
pyproject-api==1.7.1
pyproject-api==1.8.0
# via tox
pyright==1.1.377
pyright==1.1.386
# via -r typing.txt
pytest==8.3.2
pytest==8.3.3
# via
# -r tests.txt
# -r typing.txt
Expand All @@ -140,11 +140,16 @@ snowballstemmer==2.2.0
# via
# -r docs.txt
# sphinx
sphinx==8.0.2
sphinx==8.1.3
# via
# -r docs.txt
# pallets-sphinx-themes
# sphinx-notfound-page
# sphinxcontrib-log-cabinet
sphinx-notfound-page==1.0.4
# via
# -r docs.txt
# pallets-sphinx-themes
sphinxcontrib-applehelp==2.0.0
# via
# -r docs.txt
Expand All @@ -171,27 +176,28 @@ sphinxcontrib-serializinghtml==2.0.0
# via
# -r docs.txt
# sphinx
tox==4.18.0
tox==4.23.2
# via -r dev.in
types-contextvars==2.4.7.3
# via -r typing.txt
types-dataclasses==0.6.6
# via -r typing.txt
types-setuptools==73.0.0.20240822
types-setuptools==75.2.0.20241019
# via -r typing.txt
typing-extensions==4.12.2
# via
# -r typing.txt
# mypy
urllib3==2.2.2
# pyright
urllib3==2.2.3
# via
# -r docs.txt
# requests
virtualenv==20.26.3
virtualenv==20.27.0
# via
# pre-commit
# tox
watchdog==4.0.2
watchdog==5.0.3
# via
# -r tests.txt
# -r typing.txt
19 changes: 11 additions & 8 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile docs.in
Expand All @@ -8,37 +8,40 @@ alabaster==1.0.0
# via sphinx
babel==2.16.0
# via sphinx
certifi==2024.7.4
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
docutils==0.21.2
# via sphinx
idna==3.8
idna==3.10
# via requests
imagesize==1.4.1
# via sphinx
jinja2==3.1.4
# via sphinx
markupsafe==2.1.5
markupsafe==3.0.2
# via jinja2
packaging==24.1
# via
# pallets-sphinx-themes
# sphinx
pallets-sphinx-themes==2.1.3
pallets-sphinx-themes==2.3.0
# via -r docs.in
pygments==2.18.0
# via sphinx
requests==2.32.3
# via sphinx
snowballstemmer==2.2.0
# via sphinx
sphinx==8.0.2
sphinx==8.1.3
# via
# -r docs.in
# pallets-sphinx-themes
# sphinx-notfound-page
# sphinxcontrib-log-cabinet
sphinx-notfound-page==1.0.4
# via pallets-sphinx-themes
sphinxcontrib-applehelp==2.0.0
# via sphinx
sphinxcontrib-devhelp==2.0.0
Expand All @@ -53,5 +56,5 @@ sphinxcontrib-qthelp==2.0.0
# via sphinx
sphinxcontrib-serializinghtml==2.0.0
# via sphinx
urllib3==2.2.2
urllib3==2.2.3
# via requests
4 changes: 1 addition & 3 deletions requirements/tests.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
pytest
pytest-timeout
# pinned for python 3.8 support
pytest-xprocess<1
cryptography
watchdog
ephemeral-port-reserve
# pin cffi 1.17.0 pre-release for python 3.13 support
cffi==1.17.0
cffi
Loading