Skip to content

Commit

Permalink
[CI] Install packaging before installing package
Browse files Browse the repository at this point in the history
  • Loading branch information
f-dangel committed Jul 2, 2024
1 parent 03ada36 commit 5fc5e6f
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint-black.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install packaging
make install-lint
- name: Run black
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint-darglint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install packaging
make install-lint
- name: Run darglint
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint-flake8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install packaging
make install-lint
- name: Run flake8
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint-isort.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install packaging
make install-lint
- name: Run isort
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint-pydocstyle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install packaging
make install-lint
- name: Run pydocstyle
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install setuptools wheel twine packaging
- name: Build and publish
env:
TWINE_USERNAME: __token__
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install packaging
make install-test
- name: Run test
if: contains('refs/heads/master refs/heads/development', github.ref)
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ install_requires =
tqdm>=4.61.0,<5.0.0
einops
einconv
packaging
# Require a specific Python version, e.g. Python 2.7 or >= 3.4
python_requires = >=3.8

Expand Down

0 comments on commit 5fc5e6f

Please sign in to comment.