Skip to content

Commit

Permalink
Fix tests: Remove constraints
Browse files Browse the repository at this point in the history
This fixes: Some possibly relevant errors from pip install:
    ERROR: Could not open requirements file: [Errno 2] No such file or directory: '.github/workflows/constraints.txt'
Error installing poetry.
  • Loading branch information
bosd committed Jul 26, 2024
1 parent d606d88 commit 52362a2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/constraints.txt

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:

- name: Upgrade pip
run: |
pip install --constraint=.github/workflows/constraints.txt pip
pip install pip
pip --version
- name: Install Poetry
run: |
pip install --constraint=.github/workflows/constraints.txt poetry
pip install poetry
poetry --version
- name: Check if there is a parent commit
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

- name: Upgrade pip
run: |
pip install --constraint=.github/workflows/constraints.txt pip
pip install pip
pip --version
- name: Upgrade pip in virtual environments
Expand All @@ -59,13 +59,13 @@ jobs:
- name: Install Poetry
run: |
pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry
pipx install poetry
poetry --version
- name: Install Nox
run: |
pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox
pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry
pipx install nox
pipx inject nox nox-poetry
nox --version
- name: Install ghostscript
Expand Down Expand Up @@ -130,18 +130,18 @@ jobs:

- name: Upgrade pip
run: |
pip install --constraint=.github/workflows/constraints.txt pip
pip install pip
pip --version
- name: Install Poetry
run: |
pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry
pipx install poetry
poetry --version
- name: Install Nox
run: |
pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox
pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry
pipx install nox
pipx inject nox nox-poetry
nox --version
- name: Download coverage data
Expand All @@ -158,4 +158,4 @@ jobs:
nox --session=coverage -- xml -i
- name: Upload coverage report
uses: codecov/[email protected]
uses: codecov/[email protected]

0 comments on commit 52362a2

Please sign in to comment.