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 a605c64
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/constraints.txt

This file was deleted.

14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 @@ -135,13 +135,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: 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 a605c64

Please sign in to comment.