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 12, 2024
1 parent 5334732 commit 88a81c8
Show file tree
Hide file tree
Showing 23 changed files with 9,211 additions and 7,728 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,432 changes: 713 additions & 719 deletions requirements/requirements-3.10-Linux.txt

Large diffs are not rendered by default.

1,438 changes: 716 additions & 722 deletions requirements/requirements-3.10-Windows.txt

Large diffs are not rendered by default.

296 changes: 86 additions & 210 deletions requirements/requirements-3.10-macOS.txt

Large diffs are not rendered by default.

1,428 changes: 710 additions & 718 deletions requirements/requirements-3.11-Linux.txt

Large diffs are not rendered by default.

1,434 changes: 713 additions & 721 deletions requirements/requirements-3.11-Windows.txt

Large diffs are not rendered by default.

296 changes: 86 additions & 210 deletions requirements/requirements-3.11-macOS.txt

Large diffs are not rendered by default.

1,428 changes: 710 additions & 718 deletions requirements/requirements-3.12-Linux.txt

Large diffs are not rendered by default.

1,434 changes: 713 additions & 721 deletions requirements/requirements-3.12-Windows.txt

Large diffs are not rendered by default.

296 changes: 86 additions & 210 deletions requirements/requirements-3.12-macOS.txt

Large diffs are not rendered by default.

1,068 changes: 1,068 additions & 0 deletions requirements/requirements-3.13-Linux.txt

Large diffs are not rendered by default.

1,087 changes: 1,087 additions & 0 deletions requirements/requirements-3.13-Windows.txt

Large diffs are not rendered by default.

998 changes: 998 additions & 0 deletions requirements/requirements-3.13-macOS.txt

Large diffs are not rendered by default.

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

This file was deleted.

1,429 changes: 711 additions & 718 deletions requirements/requirements-3.9-Linux.txt

Large diffs are not rendered by default.

1,435 changes: 714 additions & 721 deletions requirements/requirements-3.9-Windows.txt

Large diffs are not rendered by default.

296 changes: 86 additions & 210 deletions requirements/requirements-3.9-macOS.txt

Large diffs are not rendered by default.

0 comments on commit 88a81c8

Please sign in to comment.