Skip to content

Commit

Permalink
workflows, requirements: python 3.13 changes (bug 1914897)
Browse files Browse the repository at this point in the history
- add python 3.13 to requirements, ci build
- remove python 3.8 from requirements, ci builds
- fix requirements workflows bugs
  • Loading branch information
zzzeid committed Nov 15, 2024
1 parent 84fe14e commit 6fe543f
Show file tree
Hide file tree
Showing 20 changed files with 14 additions and 12,395 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ jobs:
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
exclude:
- os: ubuntu-24.04
python-version: "3.8"
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: setup
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/compile-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v4
with:
name: ${{ github.sha }}-${{ github.run_number }}-${{ github.run_attempt }}-requirements
name: ${{ github.sha }}-${{ github.run_number }}-${{ github.run_attempt }}-requirements-${{ matrix.python-version }}-${{ runner.os }}
path: requirements/requirements-${{ matrix.python-version }}-${{ runner.os }}.txt
commit-and-push:
if: ${{ inputs.commit_and_push == 'true' }}
Expand All @@ -68,7 +68,7 @@ jobs:
persist-credentials: false
- uses: actions/download-artifact@v4
with:
name: ${{ github.sha }}-${{ github.run_number }}-${{ github.run_attempt }}-requirements
pattern: ${{ github.sha }}-${{ github.run_number }}-${{ github.run_attempt }}-requirements-*
path: temp-requirements
- name: Configure git
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/run-compile-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ jobs:
with:
requirements_files: '["base.in dev.in gui-dev.in gui.in linters.in"]'
os: '["ubuntu-latest"]'
python: '["3.8", "3.9", "3.10", "3.11", "3.12"]'
python: '["3.9", "3.10", "3.11", "3.12", "3.13"]'

call-compile-requirements-windows:
uses: ./.github/workflows/compile-requirements.yml
with:
requirements_files: '["base.in dev.in gui-dev.in gui.in linters.in"]'
os: '["windows-latest"]'
python: '["3.9", "3.10", "3.11", "3.12"]'
python: '["3.9", "3.10", "3.11", "3.12", "3.13"]'

call-compile-requirements-macos:
uses: ./.github/workflows/compile-requirements.yml
with:
requirements_files: '["base.in base.universal2.in dev.in gui-dev.in gui.in linters.in"]'
os: '["macos-latest"]'
python: '["3.9", "3.10", "3.11", "3.12"]'
python: '["3.9", "3.10", "3.11", "3.12", "3.13"]'

commit-and-push:
uses: ./.github/workflows/compile-requirements.yml
Expand Down
10 changes: 5 additions & 5 deletions requirements/dev.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--no-binary coverage
coverage==7.6.1
coveralls==4.0.1
mock==5.1.0
pytest==8.3.2
pytest-mock==3.14.0
coverage
coveralls
mock
pytest
pytest-mock
2 changes: 1 addition & 1 deletion requirements/gui-dev.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest-qt==4.4.0
pytest-qt
2 changes: 1 addition & 1 deletion requirements/gui.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
PySide6==6.6.*
PySide6==6.8.*
2 changes: 1 addition & 1 deletion requirements/linters.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--no-binary mypy-extensions
flake8>=6.0.0; python_version >= '3.8'
flake8>=6.0.0
flake8-black
glean-parser
isort
Expand Down
1,095 changes: 0 additions & 1,095 deletions requirements/requirements-3.10-Linux.txt

This file was deleted.

1,114 changes: 0 additions & 1,114 deletions requirements/requirements-3.10-Windows.txt

This file was deleted.

632 changes: 0 additions & 632 deletions requirements/requirements-3.10-macOS.txt

This file was deleted.

1,076 changes: 0 additions & 1,076 deletions requirements/requirements-3.11-Linux.txt

This file was deleted.

1,095 changes: 0 additions & 1,095 deletions requirements/requirements-3.11-Windows.txt

This file was deleted.

613 changes: 0 additions & 613 deletions requirements/requirements-3.11-macOS.txt

This file was deleted.

1,076 changes: 0 additions & 1,076 deletions requirements/requirements-3.12-Linux.txt

This file was deleted.

1,095 changes: 0 additions & 1,095 deletions requirements/requirements-3.12-Windows.txt

This file was deleted.

613 changes: 0 additions & 613 deletions requirements/requirements-3.12-macOS.txt

This file was deleted.

1,113 changes: 0 additions & 1,113 deletions requirements/requirements-3.8-Linux.txt

This file was deleted.

1,100 changes: 0 additions & 1,100 deletions requirements/requirements-3.9-Linux.txt

This file was deleted.

1,119 changes: 0 additions & 1,119 deletions requirements/requirements-3.9-Windows.txt

This file was deleted.

637 changes: 0 additions & 637 deletions requirements/requirements-3.9-macOS.txt

This file was deleted.

0 comments on commit 6fe543f

Please sign in to comment.