Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly use python 3.13 #891

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,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
14 changes: 7 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
pool:
vmImage: 'ubuntu-22.04'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.12'
addToPath: true
- bash: python ci/generate_azure_pipelines_matrices.py
name: mtrx
displayName: Generate test matrices and set variables in Azure Pipelines
- task: UsePythonVersion@0
inputs:
versionSpec: '3.13'
addToPath: true
- bash: python ci/generate_azure_pipelines_matrices.py
name: mtrx
displayName: Generate test matrices and set variables in Azure Pipelines

- job: Mac
dependsOn: MatricesGenerator
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
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ max-line-length = 125

[tool.black]
line-length = 125
target-version = ['py312']
target-version = ['py313']

[tool.isort]
line_length = 125
Expand Down 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
Loading