Skip to content

Commit

Permalink
Explicitly use python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier2k6 committed Feb 15, 2025
1 parent a30f5a3 commit b82201a
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
with:
fetch-depth: 20
fetch-tags: true
- name: Set up Python 3.12
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
- name: Install tools
run: |
pip install -U pip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
fetch-depth: 50
- name: Fetch release tag
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Python 3.12🐍
- name: Set up Python 3.13🐍
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
- name: Install build and twine
run: python -m pip install build twine --user
- name: Build release assets
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
architecture: x64
- name: Setup reviewdog
run: |
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
architecture: x64
- name: Install dependencies
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-install-qt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ jobs:
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
py: ["3.12"]
py: ["3.13"]
qtver: [6.5.3, 6.6.3]
artifact: [standard]
include:
- os: windows-latest
py: "3.12"
py: "3.13"
qtver: 6.6.3
artifact: binary
- os: windows-latest
py: "3.12"
py: "3.13"
qtver: 6.7.3
artifact: standard
- os: ubuntu-latest
py: "3.12"
py: "3.13"
qtver: 6.8.0
artifact: standard
- os: ubuntu-latest
py: "3.12"
py: "3.13"
# 6.8.1 introduces Operations elements in Updates.xml
qtver: 6.8.1
artifact: standard
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
{os: windows-latest, arch: x64, output_file: 'aqt_x64.exe', primary_artifact: 'aqt.exe', secondary_artifact: 'aqt_x64.exe'},
{os: macOS-13, arch: x64, output_file: 'aqt_x64', primary_artifact: 'aqt-macos', secondary_artifact: 'aqt-macos_x64'}
]
py: [3.12]
py: [3.13]
defaults:
run:
shell: ${{ matrix.system.os == 'windows-latest' && 'pwsh' || 'bash' }} {0}
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ python:
build:
os: ubuntu-22.04
tools:
python: "3.10"
python: "3.13"
jobs:
post_checkout:
- git fetch --depth 1000
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Requirements
3.9

- Recommended Python version:
3.12 (frequently tested on)
3.13 (frequently tested on)

- Dependencies:
requests
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.12'
versionSpec: '3.13'
addToPath: true
- bash: python ci/generate_azure_pipelines_matrices.py
name: mtrx
Expand Down
2 changes: 1 addition & 1 deletion ci/generate_azure_pipelines_matrices.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def __init__(self, platform, build_jobs):
self.build_jobs = build_jobs


python_versions = ["3.12"]
python_versions = ["3.13"]

qt_versions = ["6.8.1"]

Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -194,14 +194,14 @@ commands =
python -m pytest -vv
[testenv:check]
basepython = python3.12
basepython = python3.13
extras = check
commands =
check-manifest {toxinidir}
flake8 aqt tests
[testenv:mypy]
basepython = python3.12
basepython = python3.13
extras = check
commands = mypy aqt
deps =
Expand All @@ -210,14 +210,14 @@ deps =
types-psutil
[testenv:docs]
basepython = python3.12
basepython = python3.13
extras = docs
commands =
sphinx-build {posargs:-E} -W -b html docs build/docs
sphinx-build -W -b linkcheck docs build/docs
[testenv:mprof]
basepython = python3.12
basepython = python3.13
extras = debug
commands =
mprof run --multiprocess python -m aqt install-qt -O /tmp -d /tmp linux desktop 6.8.1
Expand All @@ -227,7 +227,7 @@ deps =
matplotlib
[testenv:fil]
basepython = python3.12
basepython = python3.13
extras = debug
commands =
fil-profile run -m aqt install-qt -O /tmp -d /tmp linux desktop 6.8.1
Expand Down

0 comments on commit b82201a

Please sign in to comment.