Skip to content

Commit

Permalink
Pin 'pdm==2.19.3' in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
emnoor-reef authored and mzukowski-reef committed Oct 31, 2024
1 parent 029c093 commit f219590
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/end_to_end_test_ci.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
cache: "pip"

- name: Install dependencies
run: python -m pip install --upgrade nox 'pdm>=2.12,<3'
run: python -m pip install --upgrade nox 'pdm==2.19.3'

- name: Create wallet files
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/executor_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
cache: "pip"
- name: Install dependencies
run: python -m pip install --upgrade nox 'pdm>=2.12,<3'
run: python -m pip install --upgrade nox 'pdm==2.19.3'
- name: Create dotenv file
run: cp ./envs/dev/.env.template .env
- name: Run linters
Expand All @@ -45,7 +45,7 @@ jobs:
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
cache: "pip"
- name: Install dependencies
run: python -m pip install --upgrade nox 'pdm>=2.12,<3'
run: python -m pip install --upgrade nox 'pdm==2.19.3'
- name: Create dotenv file
run: cp ./envs/dev/.env.template .env
- name: Run mypy
Expand All @@ -66,7 +66,7 @@ jobs:
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
cache: "pip"
- name: Install dependencies
run: python -m pip install --upgrade nox 'pdm>=2.12,<3'
run: python -m pip install --upgrade nox 'pdm==2.19.3'
- name: Setup common virtualenv
# In order not to exhaust disk on GitHub runner, we use one single
# virtualenv for all pdm projects: miner, executor, validator.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
cache: "pip"
- name: Install dependencies
run: python -m pip install --upgrade nox 'pdm>=2.12,<3'
run: python -m pip install --upgrade nox 'pdm==2.19.3'
- name: Setup common virtualenv
# In order not to exhaust disk on GitHub runner, we use one single
# virtualenv for all pdm projects: miner, executor, validator.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/library_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
- name: Install dependencies
run: python -m pip install --upgrade nox 'pdm>=2.12,<3'
run: python -m pip install --upgrade nox 'pdm==2.19.3'
- name: Get version from tag
id: get-version
run: echo "version=${GITHUB_REF#refs/tags/library-v}" >> "$GITHUB_OUTPUT"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/library_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
cache: "pip"
- name: Install dependencies
run: python -m pip install --upgrade nox 'pdm>=2.12,<3'
run: python -m pip install --upgrade nox 'pdm==2.19.3'
- name: Run linters
run: nox -vs lint
- name: Check for missing migrations
Expand All @@ -45,7 +45,7 @@ jobs:
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
cache: "pip"
- name: Install dependencies
run: python -m pip install --upgrade nox 'pdm>=2.12,<3'
run: python -m pip install --upgrade nox 'pdm==2.19.3'
- name: Run mypy
run: nox -vs type_check
test:
Expand All @@ -64,6 +64,6 @@ jobs:
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
cache: "pip"
- name: Install dependencies
run: python -m pip install --upgrade nox 'pdm>=2.12,<3'
run: python -m pip install --upgrade nox 'pdm==2.19.3'
- name: Run unit tests
run: nox -vs test
6 changes: 3 additions & 3 deletions .github/workflows/miner_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
cache: "pip"
- name: Install dependencies
run: python -m pip install --upgrade nox 'pdm>=2.12,<3'
run: python -m pip install --upgrade nox 'pdm==2.19.3'
- name: Create dotenv file
run: cp ./envs/dev/.env.template .env
- name: Run linters check
Expand All @@ -45,7 +45,7 @@ jobs:
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
cache: "pip"
- name: Install dependencies
run: python -m pip install --upgrade nox 'pdm>=2.12,<3'
run: python -m pip install --upgrade nox 'pdm==2.19.3'
- name: Create dotenv file
run: cp ./envs/dev/.env.template .env
- name: Run mypy
Expand All @@ -66,7 +66,7 @@ jobs:
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
cache: "pip"
- name: Install dependencies
run: python -m pip install --upgrade nox 'pdm>=2.12,<3'
run: python -m pip install --upgrade nox 'pdm==2.19.3'
- name: Setup common virtualenv
# In order not to exhaust disk on GitHub runner, we use one single
# virtualenv for all pdm projects: miner, executor, validator.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/validator_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
cache: "pip"
- name: Install dependencies
run: python -m pip install --upgrade nox 'pdm>=2.12,<3'
run: python -m pip install --upgrade nox 'pdm==2.19.3'
- name: Create dotenv file
run: cp ./envs/dev/.env.template .env
- name: Run linters
Expand All @@ -45,7 +45,7 @@ jobs:
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
cache: "pip"
- name: Install dependencies
run: python -m pip install --upgrade nox 'pdm>=2.12,<3'
run: python -m pip install --upgrade nox 'pdm==2.19.3'
- name: Create dotenv file
run: cp ./envs/dev/.env.template .env
- name: Run mypy
Expand All @@ -66,7 +66,7 @@ jobs:
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
cache: "pip"
- name: Install dependencies
run: python -m pip install --upgrade nox 'pdm>=2.12,<3'
run: python -m pip install --upgrade nox 'pdm==2.19.3'
- name: Setup common virtualenv
# In order not to exhaust disk on GitHub runner, we use one single
# virtualenv for all pdm projects: miner, executor, validator.
Expand Down

0 comments on commit f219590

Please sign in to comment.