Skip to content

Commit

Permalink
[FIX] Explicitly install wheel
Browse files Browse the repository at this point in the history
Magically seems to fix the import error of `packaging`
  • Loading branch information
f-dangel committed Jul 2, 2024
1 parent 744b3b2 commit b0b18c5
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 17 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/lint-black.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.10
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: '3.10'
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade wheel
python -m pip install --upgrade packaging
python -m pip show packaging
python -m pip install --upgrade pip wheel
make install-lint
- name: Run black
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/lint-darglint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ jobs:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install packaging
python -m pip install --upgrade pip wheel
make install-lint
- name: Run darglint
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/lint-flake8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install packaging
python -m pip install --upgrade pip wheel
make install-lint
- name: Run flake8
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/lint-isort.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ jobs:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install packaging
python -m pip install --upgrade pip wheel
make install-lint
- name: Run isort
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/lint-pydocstyle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install packaging
python -m pip install --upgrade pip wheel
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
python -m pip install setuptools wheel twine packaging
python -m pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
python-version: "${{ matrix.python-version }}"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install packaging
python -m pip install --upgrade pip wheel
make install-test
- name: Run test
if: contains('refs/heads/master refs/heads/development', github.ref)
Expand Down

0 comments on commit b0b18c5

Please sign in to comment.