update dev dependencies
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Lord · committed by David Lord · parent 235c52f · Browse files · 10 files·+64 added−58 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
10 files+64 added−58 removed
- other:+64 added−58 removed
Provenance
- Commit
165af0a- Tree
e1ef570- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent
235c52f
10 files changed+64 added−58 removed
modified:.github/workflows/pre-commit.yaml+1 added-1 removed
6 unmodified lines78910111112131415166 unmodified lines main: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 - uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0 with: python-version: 3.x - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 - uses: pre-commit-ci/lite-action@5d6cc0eb514c891a40562a58a8e71576c5c7fb43 # v1.1.0 if: ${{ !cancelled() }}modified:.github/workflows/publish.yaml+6 added-6 removed
8 unmodified lines91011121313141516174 unmodified lines2223242526262728293031323334353636373839402 unmodified lines4344454647474849505110 unmodified lines626364656667666768698 unmodified lines outputs: hash: ${{ steps.hash.outputs.hash }} steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 - uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0 with: python-version: '3.x' cache: pip cache-dependency-path: requirements*/*.txt4 unmodified lines # Generate hashes used for provenance. - name: generate hash id: hash run: cd dist && echo "hash=$(sha256sum * | base64 -w0)" >> $GITHUB_OUTPUT - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: path: ./dist provenance: needs: [build] permissions: actions: read id-token: write contents: write # Can't pin with hash due to how this workflow works. uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0 uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.1.0 with: base64-subjects: ${{ needs.build.outputs.hash }} create-release: # Upload the sdist, wheels, and provenance to a GitHub release. They remain2 unmodified lines runs-on: ubuntu-latest permissions: contents: write steps: - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 - uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 - name: create release run: > gh release create --draft --repo ${{ github.repository }} ${{ github.ref_name }}10 unmodified lines runs-on: ubuntu-latest permissions: id-token: write steps: - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 - uses: pypa/gh-action-pypi-publish@15c56dba361d8335944d31a2ecd17d700fc7bcbc # v1.12.2 - uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 - uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4 with: packages-dir: artifact/modified:.github/workflows/tests.yaml+3 added-3 removed
23 unmodified lines242526272828293031323 unmodified lines36373839404041424344454646474849505123 unmodified lines - {name: Minimum Versions, python: '3.12', tox: py-min} - {name: Development Versions, python: '3.9', tox: py-dev} steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 - uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0 with: python-version: ${{ matrix.python }} allow-prereleases: true cache: pip3 unmodified lines typing: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 - uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0 with: python-version: '3.x' cache: pip cache-dependency-path: requirements*/*.txt - name: cache mypy uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 with: path: ./.mypy_cache key: mypy|${{ hashFiles('pyproject.toml') }} - run: pip install tox - run: tox run -e typingmodified:requirements/dev.txt+27 added-23 removed
10 unmodified lines11 asgiref==3.8.112 # via13 # -r /Users/david/Projects/flask/requirements/tests.txt14 # -r /Users/david/Projects/flask/requirements/typing.txt15-babel==2.16.015+babel==2.17.016 # via17 # -r /Users/david/Projects/flask/requirements/docs.txt18 # sphinx19-cachetools==5.5.019+cachetools==5.5.220 # via tox21-certifi==2024.8.3021+certifi==2025.1.3122 # via23 # -r /Users/david/Projects/flask/requirements/docs.txt24 # requests25 cffi==1.17.13 unmodified lines29 cfgv==3.4.030 # via pre-commit31 chardet==5.2.032 # via tox33-charset-normalizer==3.4.033+charset-normalizer==3.4.134 # via35 # -r /Users/david/Projects/flask/requirements/docs.txt36 # requests37 colorama==0.4.638 # via tox39-cryptography==43.0.339+cryptography==44.0.240 # via -r /Users/david/Projects/flask/requirements/typing.txt41 distlib==0.3.942 # via virtualenv43 docutils==0.21.244 # via45 # -r /Users/david/Projects/flask/requirements/docs.txt46 # sphinx47 # sphinx-tabs48-filelock==3.16.148+filelock==3.18.049 # via50 # tox51 # virtualenv52-identify==2.6.252+identify==2.6.953 # via pre-commit54 idna==3.1055 # via56 # -r /Users/david/Projects/flask/requirements/docs.txt1 unmodified line58 imagesize==1.4.159 # via60 # -r /Users/david/Projects/flask/requirements/docs.txt61 # sphinx62-iniconfig==2.0.062+iniconfig==2.1.063 # via64 # -r /Users/david/Projects/flask/requirements/tests.txt65 # -r /Users/david/Projects/flask/requirements/typing.txt66 # pytest67-jinja2==3.1.467+jinja2==3.1.668 # via69 # -r /Users/david/Projects/flask/requirements/docs.txt70 # sphinx71 markupsafe==3.0.272 # via73 # -r /Users/david/Projects/flask/requirements/docs.txt74 # jinja275-mypy==1.13.075+mypy==1.15.076 # via -r /Users/david/Projects/flask/requirements/typing.txt77 mypy-extensions==1.0.078 # via79 # -r /Users/david/Projects/flask/requirements/typing.txt14 unmodified lines94 # sphinx95 # tox96 pallets-sphinx-themes==2.3.097 # via -r /Users/david/Projects/flask/requirements/docs.txt98-platformdirs==4.3.698+platformdirs==4.3.799 # via100 # tox101 # virtualenv102 pluggy==1.5.01 unmodified line104 # -r /Users/david/Projects/flask/requirements/tests.txt105 # -r /Users/david/Projects/flask/requirements/typing.txt106 # pytest107 # tox108-pre-commit==4.0.1108+pre-commit==4.2.0109 # via -r dev.in110 pycparser==2.22111 # via112 # -r /Users/david/Projects/flask/requirements/typing.txt113 # cffi114-pygments==2.18.0114+pygments==2.19.1115 # via116 # -r /Users/david/Projects/flask/requirements/docs.txt117 # sphinx118 # sphinx-tabs119-pyproject-api==1.8.0119+pyproject-api==1.9.0120 # via tox121-pyright==1.1.389121+pyright==1.1.398122 # via -r /Users/david/Projects/flask/requirements/typing.txt123-pytest==8.3.3123+pytest==8.3.5124 # via125 # -r /Users/david/Projects/flask/requirements/tests.txt126 # -r /Users/david/Projects/flask/requirements/typing.txt127-python-dotenv==1.0.1127+python-dotenv==1.1.0128 # via129 # -r /Users/david/Projects/flask/requirements/tests.txt130 # -r /Users/david/Projects/flask/requirements/typing.txt131 pyyaml==6.0.21 unmodified line133 requests==2.32.3134 # via135 # -r /Users/david/Projects/flask/requirements/docs.txt136 # sphinx137+roman-numerals-py==3.1.0138+ # via139+ # -r /Users/david/Projects/flask/requirements/docs.txt140+ # sphinx141 snowballstemmer==2.2.0142 # via143 # -r /Users/david/Projects/flask/requirements/docs.txt144 # sphinx141-sphinx==8.1.3145+sphinx==8.2.3146 # via147 # -r /Users/david/Projects/flask/requirements/docs.txt148 # pallets-sphinx-themes149 # sphinx-notfound-page150 # sphinx-tabs151 # sphinxcontrib-log-cabinet148-sphinx-notfound-page==1.0.4152+sphinx-notfound-page==1.1.0153 # via154 # -r /Users/david/Projects/flask/requirements/docs.txt155 # pallets-sphinx-themes156 sphinx-tabs==3.4.723 unmodified lines180 sphinxcontrib-serializinghtml==2.0.0181 # via182 # -r /Users/david/Projects/flask/requirements/docs.txt183 # sphinx180-tox==4.23.2184+tox==4.25.0185 # via -r dev.in186 types-contextvars==2.4.7.3187 # via -r /Users/david/Projects/flask/requirements/typing.txt188 types-dataclasses==0.6.6189 # via -r /Users/david/Projects/flask/requirements/typing.txt186-typing-extensions==4.12.2190+typing-extensions==4.13.0191 # via192 # -r /Users/david/Projects/flask/requirements/typing.txt193 # mypy194 # pyright191-urllib3==2.2.3195+urllib3==2.3.0196 # via197 # -r /Users/david/Projects/flask/requirements/docs.txt198 # requests195-virtualenv==20.27.1199+virtualenv==20.29.3200 # via201 # pre-commit202 # toxmodified:requirements/docs.txt+10 added-8 removed
4 unmodified lines5 # pip-compile docs.in6 #7 alabaster==1.0.08 # via sphinx9-babel==2.16.09+babel==2.17.010 # via sphinx11-certifi==2024.8.3011+certifi==2025.1.3112 # via requests13-charset-normalizer==3.4.013+charset-normalizer==3.4.114 # via requests15 docutils==0.21.216 # via17 # sphinx1 unmodified line19 idna==3.1020 # via requests21 imagesize==1.4.122 # via sphinx23-jinja2==3.1.423+jinja2==3.1.624 # via sphinx25 markupsafe==3.0.226 # via jinja227 packaging==24.21 unmodified line29 # pallets-sphinx-themes30 # sphinx31 pallets-sphinx-themes==2.3.032 # via -r docs.in33-pygments==2.18.033+pygments==2.19.134 # via35 # sphinx36 # sphinx-tabs37 requests==2.32.338 # via sphinx39+roman-numerals-py==3.1.040+ # via sphinx41 snowballstemmer==2.2.042 # via sphinx41-sphinx==8.1.343+sphinx==8.2.344 # via45 # -r docs.in46 # pallets-sphinx-themes47 # sphinx-notfound-page48 # sphinx-tabs49 # sphinxcontrib-log-cabinet48-sphinx-notfound-page==1.0.450+sphinx-notfound-page==1.1.051 # via pallets-sphinx-themes52 sphinx-tabs==3.4.753 # via -r docs.in54 sphinxcontrib-applehelp==2.0.09 unmodified lines64 sphinxcontrib-qthelp==2.0.065 # via sphinx66 sphinxcontrib-serializinghtml==2.0.067 # via sphinx66-urllib3==2.2.368+urllib3==2.3.069 # via requestsmodified:requirements/tests.txt+3 added-3 removed
4 unmodified lines5 # pip-compile tests.in6 #7 asgiref==3.8.18 # via -r tests.in9-iniconfig==2.0.09+iniconfig==2.1.010 # via pytest11 packaging==24.212 # via pytest13 pluggy==1.5.014 # via pytest15-pytest==8.3.315+pytest==8.3.516 # via -r tests.in17-python-dotenv==1.0.117+python-dotenv==1.1.018 # via -r tests.inmodified:requirements/typing.txt+7 added-7 removed
6 unmodified lines7 asgiref==3.8.18 # via -r typing.in9 cffi==1.17.110 # via cryptography11-cryptography==43.0.311+cryptography==44.0.212 # via -r typing.in13-iniconfig==2.0.013+iniconfig==2.1.014 # via pytest15-mypy==1.13.015+mypy==1.15.016 # via -r typing.in17 mypy-extensions==1.0.018 # via mypy19 nodeenv==1.9.13 unmodified lines23 pluggy==1.5.024 # via pytest25 pycparser==2.2226 # via cffi27-pyright==1.1.38927+pyright==1.1.39828 # via -r typing.in29-pytest==8.3.329+pytest==8.3.530 # via -r typing.in31-python-dotenv==1.0.131+python-dotenv==1.1.032 # via -r typing.in33 types-contextvars==2.4.7.334 # via -r typing.in35 types-dataclasses==0.6.636 # via -r typing.in37-typing-extensions==4.12.237+typing-extensions==4.13.038 # via39 # mypy40 # pyrightmodified:src/flask/app.py+3 added-3 removed
263 unmodified lines264 # Note we do this without checking if static_folder exists.265 # For one, it might be created while the server is running (e.g. during266 # development). Also, Google App Engine stores static files somewhere267 if self.has_static_folder:268- assert (269- bool(static_host) == host_matching270- ), "Invalid static_host/host_matching combination"268+ assert bool(static_host) == host_matching, (269+ "Invalid static_host/host_matching combination"270+ )271 # Use a weakref to avoid creating a reference cycle between the app272 # and the view function (see #3761).273 self_ref = weakref.ref(self)274 self.add_url_rule(1262 unmodified linesmodified:src/flask/testing.py+3 added-3 removed
56 unmodified lines57 **kwargs: t.Any,58 ) -> None:59 assert not (base_url or subdomain or url_scheme) or (60 base_url is not None61- ) != bool(62- subdomain or url_scheme63- ), 'Cannot pass "subdomain" or "url_scheme" with "base_url".'61+ ) != bool(subdomain or url_scheme), (62+ 'Cannot pass "subdomain" or "url_scheme" with "base_url".'63+ )64 65 if base_url is None:66 http_host = app.config.get("SERVER_NAME") or "localhost"67 app_root = app.config["APPLICATION_ROOT"]231 unmodified linesmodified:.pre-commit-config.yaml+1 added-1 removed
1 repos:2 - repo: https://github.com/astral-sh/ruff-pre-commit3- rev: v0.7.33+ rev: v0.11.24 hooks:5 - id: ruff6 - id: ruff-format7 - repo: https://github.com/pre-commit/pre-commit-hooks7 unmodified lines