Skip to content

Commit

Permalink
Merge pull request #249 from bact/back-to-simple-pip
Browse files Browse the repository at this point in the history
CI: Revert to simple pip install
  • Loading branch information
jspeed-meyers authored Jan 29, 2025
2 parents 8cd4344 + 9f1ee7d commit b0cb4c1
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 519 deletions.
3 changes: 0 additions & 3 deletions .github/requirements/apidoc.in

This file was deleted.

351 changes: 0 additions & 351 deletions .github/requirements/apidoc.txt

This file was deleted.

1 change: 0 additions & 1 deletion .github/requirements/build.in

This file was deleted.

2 changes: 0 additions & 2 deletions .github/requirements/pylint.in

This file was deleted.

133 changes: 0 additions & 133 deletions .github/requirements/pylint.txt

This file was deleted.

1 change: 0 additions & 1 deletion .github/requirements/python-publish.in

This file was deleted.

18 changes: 0 additions & 18 deletions .github/requirements/python-publish.txt

This file was deleted.

7 changes: 4 additions & 3 deletions .github/workflows/apidoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Set up Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: "3.11"
python-version: "3.12"

- name: Install dependencies
run: |
pip install -r .github/requirements/apidoc.txt
pip install spdx-tools==0.8.3
pip install sphinx==8.1.3 sphinx-rtd-theme==3.0.2
- name: Build documentation
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: "3.9"
- name: Install dependencies
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,18 @@ jobs:

strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.9"]
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r .github/requirements/pylint.txt
pip install pylint==3.3.3
pip install spdx-tools==0.8.3
- name: Analysing the code with Pylint
run: |
pylint $(git ls-files '*.py')
6 changes: 3 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: '3.11'
python-version: '3.9'
- name: Install dependencies
run: |
pip install -r ./github/requirements/python-publish.txt
pip install build==1.2.2.post1
- name: Build package
run: python -m build
- name: Publish package
Expand Down

0 comments on commit b0cb4c1

Please sign in to comment.