Upgrade dependency locks #381
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is run to avoid an edge case where the latest version of a (probably sub) | |
# dependency being yanked leads to pip failing to backtrack the dep. | |
# This happened with `cachecontrol==0.12.12 ; python_version >= "3.7" and python_version < "4.0"`. | |
name: Verify dependency locks | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
branches: | |
- master | |
paths: ["bot/requirements.txt", "dev-requirements/*.txt", "python/base-requirements/*.txt"] | |
jobs: | |
verify-pr-dep-changes: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
submodules: "true" | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b | |
with: | |
python-version: "3.11" | |
- name: install prerequisites | |
run: | | |
python -m pip install --upgrade pip wheel | |
python -m pip install -r ./python/base-requirements/nox.txt | |
- name: Verify dependency locks | |
run: python -m nox -s verify-deps |