use pip-compile and dependabot grouped updates (#5329)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Lord · committed by GitHub · parents 8d9519d, 33d8886 · Browse files · 20 files·+233 added−148 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
20 files+233 added−148 removed
- other:+233 added−148 removed
Provenance
- Commit
2465352- Tree
0e8f7fd- Author
David Lord <davidism@gmail.com>- Committer
GitHub <noreply@github.com>- Parent 1
8d9519d- Parent 2
33d8886
20 files changed+233 added−148 removed
modified:.github/workflows/lock.yaml+5 added-5 removed
1234512345678916 unmodified linesname: 'Lock threads'# Lock closed issues that have not received any further activity for# two weeks. This does not close open issues, only humans may do that.# We find that it is easier to respond to new issues with fresh examples# rather than continuing discussions on old issues.name: 'Lock inactive closed issues'# Lock closed issues that have not received any further activity for two weeks.# This does not close open issues, only humans may do that. We find that it is# easier to respond to new issues with fresh examples rather than continuing# discussions on old issues.
on: schedule: - cron: '0 0 * * *'16 unmodified linesmodified:.github/workflows/publish.yaml+6 added-7 removed
11 unmodified lines1213141516171617181920214 unmodified lines262728293030313233343 unmodified lines383940414242434445465 unmodified lines52535455565657585959606162636465656667683 unmodified lines11 unmodified lines - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 - uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 with: python-version: '3.x' cache: 'pip' cache-dependency-path: 'requirements/*.txt' cache: pip cache-dependency-path: requirements*/*.txt - run: pip install -r requirements/build.txt # Use the commit date instead of the current date during the build. - run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV - run: python -m build4 unmodified lines - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce with: path: ./dist provenance: needs: ['build'] needs: [build] permissions: actions: read id-token: write contents: write3 unmodified lines base64-subjects: ${{ needs.build.outputs.hash }} create-release: # Upload the sdist, wheels, and provenance to a GitHub release. They remain # available as build artifacts for a while as well. needs: ['provenance'] needs: [provenance] runs-on: ubuntu-latest permissions: contents: write steps:5 unmodified lines *.intoto.jsonl/* artifact/* env: GH_TOKEN: ${{ github.token }} publish-pypi: needs: ['provenance'] needs: [provenance] # Wait for approval before attempting to upload to PyPI. This allows reviewing the # files in the draft release. environment: 'publish' environment: publish runs-on: ubuntu-latest permissions: id-token: write steps: - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # Try uploading to Test PyPI first, in case something fails. - uses: pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e with: repository-url: https://test.pypi.org/legacy/ packages-dir: artifact/3 unmodified linesmodified:.github/workflows/tests.yaml+7 added-10 removed
7 unmodified lines891011121314121314154 unmodified lines2021222327282930242526272829303135323337343536373839404441424344454 unmodified lines7 unmodified lines - 'docs/**' - '*.md' - '*.rst' pull_request: branches: - main - '*.x' paths-ignore: - 'docs/**' - '*.md' - '*.rst'4 unmodified lines strategy: fail-fast: false matrix: include: - {name: Linux, python: '3.11', os: ubuntu-latest, tox: py311} - {name: Windows, python: '3.11', os: windows-latest, tox: py311} - {name: Mac, python: '3.11', os: macos-latest, tox: py311} - {name: '3.12-dev', python: '3.12-dev', os: ubuntu-latest, tox: py312} - {name: Linux, python: '3.12', os: ubuntu-latest, tox: py312} - {name: Windows, python: '3.12', os: windows-latest, tox: py312} - {name: Mac, python: '3.12', os: macos-latest, tox: py312} - {name: '3.11', python: '3.11', os: ubuntu-latest, tox: py311} - {name: '3.10', python: '3.10', os: ubuntu-latest, tox: py310} - {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39} - {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38} - {name: 'PyPy', python: 'pypy-3.10', os: ubuntu-latest, tox: pypy310} - {name: 'Minimum Versions', python: '3.11', os: ubuntu-latest, tox: py311-min} - {name: 'Minimum Versions', python: '3.12', os: ubuntu-latest, tox: py312-min} - {name: 'Development Versions', python: '3.8', os: ubuntu-latest, tox: py38-dev} - {name: Typing, python: '3.11', os: ubuntu-latest, tox: typing} - {name: Typing, python: '3.12', os: ubuntu-latest, tox: typing} steps: - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 - uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 with: python-version: ${{ matrix.python }} cache: 'pip' cache-dependency-path: 'requirements/*.txt' cache-dependency-path: requirements*/*.txt - name: cache mypy uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: ./.mypy_cache4 unmodified linesmodified:.github/dependabot.yml+16 added-7 removed
1234567893456789101112131415161718version: 2updates:- package-ecosystem: "github-actions" directory: "/" schedule: interval: "monthly" day: "monday" time: "16:00" timezone: "UTC" - package-ecosystem: github-actions directory: / schedule: interval: monthly groups: github-actions: patterns: - '*' - package-ecosystem: pip directory: /requirements/ schedule: interval: monthly groups: python-requirements: patterns: - '*'modified:requirements/build.txt+6 added-7 removed
1-# SHA1:80754af91bfb6d1073585b046fe0a474ce8685091 #3-# This file is autogenerated by pip-compile-multi4-# To update, run:2+# This file is autogenerated by pip-compile with Python 3.113+# by the following command:4 #6-# pip-compile-multi5+# pip-compile build.in6 #8-build==0.10.09- # via -r requirements/build.in10-packaging==23.17+build==1.0.38+ # via -r build.in9+packaging==23.210 # via build11 pyproject-hooks==1.0.012 # via buildmodified:requirements/dev.in+1 added-1 removed
1 -r docs.in2 -r tests.in3 -r typing.in4-pip-compile-multi4+pip-tools5 pre-commit6 toxmodified:requirements/dev.txt+116 added-28 removed
1-# SHA1:54b5b77ec8c7a0064ffa93b2fd16cb0130ba177c1 #3-# This file is autogenerated by pip-compile-multi4-# To update, run:2+# This file is autogenerated by pip-compile with Python 3.113+# by the following command:4 #6-# pip-compile-multi5+# pip-compile dev.in6 #8--r docs.txt9--r tests.txt10--r typing.txt11-build==0.10.07+alabaster==0.7.138+ # via sphinx9+asgiref==3.7.210+ # via -r tests.in11+babel==2.13.112+ # via sphinx13+build==1.0.314 # via pip-tools13-cachetools==5.3.115+cachetools==5.3.216 # via tox17+certifi==2023.7.2218+ # via requests19+cffi==1.16.020+ # via cryptography21 cfgv==3.4.022 # via pre-commit23 chardet==5.2.024 # via tox19-click==8.1.620- # via21- # pip-compile-multi22- # pip-tools25+charset-normalizer==3.3.226+ # via requests27+click==8.1.728+ # via pip-tools29 colorama==0.4.630 # via tox31+cryptography==41.0.532+ # via -r typing.in33 distlib==0.3.734 # via virtualenv27-filelock==3.12.235+docutils==0.18.136 # via37+ # sphinx38+ # sphinx-tabs39+filelock==3.13.140+ # via41 # tox42 # virtualenv31-identify==2.5.2643+identify==2.5.3144 # via pre-commit45+idna==3.446+ # via requests47+imagesize==1.4.148+ # via sphinx49+iniconfig==2.0.050+ # via pytest51+jinja2==3.1.252+ # via sphinx53+markupsafe==2.1.354+ # via jinja255+mypy==1.6.156+ # via -r typing.in57+mypy-extensions==1.0.058+ # via mypy59 nodeenv==1.8.060 # via pre-commit35-pip-compile-multi==2.6.336- # via -r requirements/dev.in61+packaging==23.262+ # via63+ # build64+ # pallets-sphinx-themes65+ # pyproject-api66+ # pytest67+ # sphinx68+ # tox69+pallets-sphinx-themes==2.1.170+ # via -r docs.in71 pip-tools==7.3.038- # via pip-compile-multi39-platformdirs==3.10.072+ # via -r dev.in73+platformdirs==3.11.074 # via75 # tox76 # virtualenv43-pre-commit==3.3.344- # via -r requirements/dev.in45-pyproject-api==1.5.377+pluggy==1.3.078+ # via79+ # pytest80+ # tox81+pre-commit==3.5.082+ # via -r dev.in83+pycparser==2.2184+ # via cffi85+pygments==2.16.186+ # via87+ # sphinx88+ # sphinx-tabs89+pyproject-api==1.6.190 # via tox91 pyproject-hooks==1.0.092 # via build93+pytest==7.4.394+ # via -r tests.in95+python-dotenv==1.0.096+ # via -r tests.in97 pyyaml==6.0.198 # via pre-commit51-toposort==1.1052- # via pip-compile-multi53-tox==4.9.054- # via -r requirements/dev.in55-virtualenv==20.24.399+requests==2.31.0100+ # via sphinx101+snowballstemmer==2.2.0102+ # via sphinx103+sphinx==7.2.6104 # via105+ # -r docs.in106+ # pallets-sphinx-themes107+ # sphinx-issues108+ # sphinx-tabs109+ # sphinxcontrib-applehelp110+ # sphinxcontrib-devhelp111+ # sphinxcontrib-htmlhelp112+ # sphinxcontrib-log-cabinet113+ # sphinxcontrib-qthelp114+ # sphinxcontrib-serializinghtml115+sphinx-issues==3.0.1116+ # via -r docs.in117+sphinx-tabs==3.4.4118+ # via -r docs.in119+sphinxcontrib-applehelp==1.0.7120+ # via sphinx121+sphinxcontrib-devhelp==1.0.5122+ # via sphinx123+sphinxcontrib-htmlhelp==2.0.4124+ # via sphinx125+sphinxcontrib-jsmath==1.0.1126+ # via sphinx127+sphinxcontrib-log-cabinet==1.0.1128+ # via -r docs.in129+sphinxcontrib-qthelp==1.0.6130+ # via sphinx131+sphinxcontrib-serializinghtml==1.1.9132+ # via sphinx133+tox==4.11.3134+ # via -r dev.in135+types-contextvars==2.4.7.3136+ # via -r typing.in137+types-dataclasses==0.6.6138+ # via -r typing.in139+typing-extensions==4.8.0140+ # via mypy141+urllib3==2.0.7142+ # via requests143+virtualenv==20.24.6144+ # via145 # pre-commit146 # tox59-wheel==0.41.1147+wheel==0.41.3148 # via pip-tools149 150 # The following packages are considered to be unsafe in a requirements file:151 # pip1 unmodified linemodified:requirements/docs.in+2 added-2 removed
1-Pallets-Sphinx-Themes2-Sphinx1+pallets-sphinx-themes2+sphinx3 sphinx-issues4 sphinxcontrib-log-cabinet5 sphinx-tabsmodified:requirements/docs.txt+15 added-16 removed
1-# SHA1:34fd4ca6516e97c7348e6facdd9c4ebb68209d1c1 #3-# This file is autogenerated by pip-compile-multi4-# To update, run:2+# This file is autogenerated by pip-compile with Python 3.113+# by the following command:4 #6-# pip-compile-multi5+# pip-compile docs.in6 #7 alabaster==0.7.138 # via sphinx10-babel==2.12.19+babel==2.13.110 # via sphinx11 certifi==2023.7.2212 # via requests14-charset-normalizer==3.2.013+charset-normalizer==3.3.214 # via requests15 docutils==0.18.116 # via17 # sphinx5 unmodified lines23 jinja2==3.1.224 # via sphinx25 markupsafe==2.1.326 # via jinja228-packaging==23.127+packaging==23.228 # via29 # pallets-sphinx-themes30 # sphinx31 pallets-sphinx-themes==2.1.133- # via -r requirements/docs.in32+ # via -r docs.in33 pygments==2.16.134 # via35 # sphinx36 # sphinx-tabs37 requests==2.31.038 # via sphinx39 snowballstemmer==2.2.040 # via sphinx42-sphinx==7.1.241+sphinx==7.2.642 # via44- # -r requirements/docs.in43+ # -r docs.in44 # pallets-sphinx-themes45 # sphinx-issues46 # sphinx-tabs47 # sphinxcontrib-applehelp2 unmodified lines50 # sphinxcontrib-log-cabinet51 # sphinxcontrib-qthelp52 # sphinxcontrib-serializinghtml53 sphinx-issues==3.0.155- # via -r requirements/docs.in56-sphinx-tabs==3.4.157- # via -r requirements/docs.in54+ # via -r docs.in55+sphinx-tabs==3.4.456+ # via -r docs.in57 sphinxcontrib-applehelp==1.0.758 # via sphinx59 sphinxcontrib-devhelp==1.0.560 # via sphinx1 unmodified line62 # via sphinx63 sphinxcontrib-jsmath==1.0.164 # via sphinx65 sphinxcontrib-log-cabinet==1.0.167- # via -r requirements/docs.in66+ # via -r docs.in67 sphinxcontrib-qthelp==1.0.668 # via sphinx70-sphinxcontrib-serializinghtml==1.1.869+sphinxcontrib-serializinghtml==1.1.970 # via sphinx72-urllib3==2.0.471+urllib3==2.0.772 # via requestsdeleted:requirements/tests-pallets-min.in-6 removed
1-Werkzeug==3.0.02-Jinja2==3.1.23-MarkupSafe==2.1.14-itsdangerous==2.1.25-click==8.1.36-blinker==1.6.2deleted:requirements/tests-pallets-min.txt-22 removed
1-# SHA1:fbb9fae044c2e7d895de9b3d7cbb40a11a822f042-#3-# This file is autogenerated by pip-compile-multi4-# To update, run:5-#6-# pip-compile-multi7-#8-blinker==1.6.29- # via -r requirements/tests-pallets-min.in10-click==8.1.311- # via -r requirements/tests-pallets-min.in12-itsdangerous==2.1.213- # via -r requirements/tests-pallets-min.in14-jinja2==3.1.215- # via -r requirements/tests-pallets-min.in16-markupsafe==2.1.117- # via18- # -r requirements/tests-pallets-min.in19- # jinja220- # werkzeug21-werkzeug==3.0.022- # via -r requirements/tests-pallets-min.inmodified:requirements/tests.txt+9 added-10 removed
1-# SHA1:42d37aff22e2f1fc447e20d483e13d6d4e066b101 #3-# This file is autogenerated by pip-compile-multi4-# To update, run:2+# This file is autogenerated by pip-compile with Python 3.113+# by the following command:4 #6-# pip-compile-multi5+# pip-compile tests.in6 #7 asgiref==3.7.29- # via -r requirements/tests.in8+ # via -r tests.in9 iniconfig==2.0.010 # via pytest12-packaging==23.111+packaging==23.212 # via pytest14-pluggy==1.2.013+pluggy==1.3.014 # via pytest16-pytest==7.4.017- # via -r requirements/tests.in15+pytest==7.4.316+ # via -r tests.in17 python-dotenv==1.0.019- # via -r requirements/tests.in18+ # via -r tests.inmodified:requirements/typing.txt+11 added-12 removed
1-# SHA1:6a354b832686fd3ec017455769a0270953a1e2251 #3-# This file is autogenerated by pip-compile-multi4-# To update, run:2+# This file is autogenerated by pip-compile with Python 3.113+# by the following command:4 #6-# pip-compile-multi5+# pip-compile typing.in6 #8-cffi==1.15.17+cffi==1.16.08 # via cryptography10-cryptography==41.0.311- # via -r requirements/typing.in12-mypy==1.5.113- # via -r requirements/typing.in9+cryptography==41.0.510+ # via -r typing.in11+mypy==1.6.112+ # via -r typing.in13 mypy-extensions==1.0.014 # via mypy15 pycparser==2.2116 # via cffi17 types-contextvars==2.4.7.319- # via -r requirements/typing.in18+ # via -r typing.in19 types-dataclasses==0.6.621- # via -r requirements/typing.in22-typing-extensions==4.7.120+ # via -r typing.in21+typing-extensions==4.8.022 # via mypyadded:requirements-skip/README.md+2 added
1+Dependabot will only update files in the `requirements` directory. This directory is2+separate because the pins in here should not be updated automatically.added:requirements-skip/tests-dev.txt+6 added
1+https://github.com/pallets/werkzeug/archive/refs/heads/main.tar.gz2+https://github.com/pallets/jinja/archive/refs/heads/main.tar.gz3+https://github.com/pallets/markupsafe/archive/refs/heads/main.tar.gz4+https://github.com/pallets/itsdangerous/archive/refs/heads/main.tar.gz5+https://github.com/pallets/click/archive/refs/heads/main.tar.gz6+https://github.com/pallets-eco/blinker/archive/refs/heads/main.tar.gzadded:requirements-skip/tests-min.in+6 added
1+werkzeug==3.0.02+jinja2==3.1.23+markupsafe==2.1.14+itsdangerous==2.1.25+click==8.1.36+blinker==1.6.2added:requirements-skip/tests-min.txt+21 added
1+#2+# This file is autogenerated by pip-compile with Python 3.113+# by the following command:4+#5+# pip-compile tests-min.in6+#7+blinker==1.6.28+ # via -r tests-min.in9+click==8.1.310+ # via -r tests-min.in11+itsdangerous==2.1.212+ # via -r tests-min.in13+jinja2==3.1.214+ # via -r tests-min.in15+markupsafe==2.1.116+ # via17+ # -r tests-min.in18+ # jinja219+ # werkzeug20+werkzeug==3.0.021+ # via -r tests-min.inmodified:.pre-commit-config.yaml-4 removed
23 unmodified lines24 - id: flake825 additional_dependencies:26 - flake8-bugbear27 - flake8-implicit-str-concat28- - repo: https://github.com/peterdemin/pip-compile-multi29- rev: v2.6.330- hooks:31- - id: pip-compile-multi-verify28 - repo: https://github.com/pre-commit/pre-commit-hooks29 rev: v4.4.030 hooks:31 - id: fix-byte-order-marker2 unmodified linesmodified:.readthedocs.yaml+2 added-2 removed
1 version: 22 build:3- os: ubuntu-20.043+ os: ubuntu-22.044 tools:5- python: "3.10"5+ python: "3.12"6 python:7 install:8 - requirements: requirements/docs.txt9 - method: pip4 unmodified linesmodified:tox.ini+2 added-9 removed
15 unmodified lines16 constrain_package_deps = true17 use_frozen_constraints = true18 deps =19 -r requirements/tests.txt20- min: -r requirements/tests-pallets-min.txt21- dev: https://github.com/pallets/werkzeug/archive/refs/heads/main.tar.gz22- dev: https://github.com/pallets/jinja/archive/refs/heads/main.tar.gz23- dev: https://github.com/pallets/markupsafe/archive/refs/heads/main.tar.gz24- dev: https://github.com/pallets/itsdangerous/archive/refs/heads/main.tar.gz25- dev: https://github.com/pallets/click/archive/refs/heads/main.tar.gz26-# examples/tutorial[test]27-# examples/javascript[test]28-# commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs:tests examples}20+ min: -r requirements-skip/tests-min.txt21+ dev: -r requirements-skip/tests-dev.txt22 commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs:tests}23 24 [testenv:style]25 deps = pre-commit10 unmodified lines