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 6, 2024
1 parent ec3c8b4 commit 941d684
Show file tree
Hide file tree
Showing 22 changed files with 5,543 additions and 419 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
coverall
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
199 changes: 165 additions & 34 deletions requirements/requirements-3.10-Linux.txt

Large diffs are not rendered by default.

199 changes: 165 additions & 34 deletions requirements/requirements-3.10-Windows.txt

Large diffs are not rendered by default.

199 changes: 165 additions & 34 deletions requirements/requirements-3.10-macOS.txt

Large diffs are not rendered by default.

198 changes: 165 additions & 33 deletions requirements/requirements-3.11-Linux.txt

Large diffs are not rendered by default.

198 changes: 165 additions & 33 deletions requirements/requirements-3.11-Windows.txt

Large diffs are not rendered by default.

198 changes: 165 additions & 33 deletions requirements/requirements-3.11-macOS.txt

Large diffs are not rendered by default.

198 changes: 165 additions & 33 deletions requirements/requirements-3.12-Linux.txt

Large diffs are not rendered by default.

198 changes: 165 additions & 33 deletions requirements/requirements-3.12-Windows.txt

Large diffs are not rendered by default.

198 changes: 165 additions & 33 deletions requirements/requirements-3.12-macOS.txt

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

1,130 changes: 1,130 additions & 0 deletions requirements/requirements-3.13-macOS.txt

Large diffs are not rendered by default.

199 changes: 165 additions & 34 deletions requirements/requirements-3.9-Linux.txt

Large diffs are not rendered by default.

199 changes: 165 additions & 34 deletions requirements/requirements-3.9-Windows.txt

Large diffs are not rendered by default.

199 changes: 165 additions & 34 deletions requirements/requirements-3.9-macOS.txt

Large diffs are not rendered by default.

0 comments on commit 941d684

Please sign in to comment.