-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update workflow build dependency constraints * call "poetry lock --no-update" * upgrade to actions/checkout@v4 and to actions/setup-python@v5 * add --verbose to pipx install * try: pipx install poetry * show pwd and ls * use absolute paths for --pip-args=--constraint= * use pwd * use pwd more
- Loading branch information
1 parent
e72a65e
commit 0b7100d
Showing
3 changed files
with
60 additions
and
12 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
pip==23.2.1 | ||
nox==2023.4.22 | ||
pip==24.0 | ||
nox==2024.4.15 | ||
nox-poetry==1.0.3 | ||
poetry==1.6.1 | ||
virtualenv==20.24.4 | ||
poetry==1.8.2 | ||
virtualenv==20.25.2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,10 +31,10 @@ jobs: | |
|
||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v2.4.0 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python ${{ matrix.python }} | ||
uses: actions/setup-python@v2.3.2 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
# cache: pip | ||
|
@@ -53,12 +53,13 @@ jobs: | |
print(f"VIRTUALENV_PIP={pip.__version__}", file=io) | ||
- name: Install Poetry | ||
run: | | ||
pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry | ||
# pwd output: /home/runner/work/pytorch-ie/pytorch-ie | ||
pipx install --verbose --pip-args=--constraint=$(pwd)/.github/workflows/constraints.txt 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 --pip-args=--constraint=$(pwd)/.github/workflows/constraints.txt nox | ||
pipx inject --pip-args=--constraint=$(pwd)/.github/workflows/constraints.txt nox nox-poetry | ||
nox --version | ||
- name: Compute pre-commit cache key | ||
if: matrix.session == 'pre-commit' | ||
|
@@ -115,12 +116,12 @@ jobs: | |
pip --version | ||
- name: Install Poetry | ||
run: | | ||
pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry | ||
pipx install --pip-args=--constraint=$(pwd)/.github/workflows/constraints.txt 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 --pip-args=--constraint=$(pwd)/.github/workflows/constraints.txt nox | ||
pipx inject --pip-args=--constraint=$(pwd)/.github/workflows/constraints.txt nox nox-poetry | ||
nox --version | ||
- name: Download coverage data | ||
uses: actions/[email protected] | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.