Explicitly use python 3.13 (#891)
Some checks failed
Check tox tests / Check packaging 📦 (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Publish Python 🐍 distributions 📦 to PyPI / Build package (push) Has been cancelled
Test on GH actions environment / test (binary, windows-latest, 3.13, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.13, 6.5.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.13, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.13, 6.8.0) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.13, 6.8.1) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.13, 6.5.3) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.13, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.13, 6.7.3) (push) Has been cancelled
Publish Python 🐍 distributions 📦 to PyPI / publish Python 🐍 distributions 📦 to PyPI (push) Has been cancelled

Co-authored-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
xavier2k6
2025-03-16 13:05:41 +00:00
committed by GitHub
parent 0cd00b4a50
commit 44393832f3
10 changed files with 28 additions and 28 deletions

View File

@@ -23,10 +23,10 @@ jobs:
with: with:
fetch-depth: 20 fetch-depth: 20
fetch-tags: true fetch-tags: true
- name: Set up Python 3.12 - name: Set up Python 3.13
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.12' python-version: '3.13'
- name: Install tools - name: Install tools
run: | run: |
pip install -U pip pip install -U pip

View File

@@ -20,10 +20,10 @@ jobs:
fetch-depth: 50 fetch-depth: 50
- name: Fetch release tag - name: Fetch release tag
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* 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 uses: actions/setup-python@v5
with: with:
python-version: '3.12' python-version: '3.13'
- name: Install build and twine - name: Install build and twine
run: python -m pip install build twine --user run: python -m pip install build twine --user
- name: Build release assets - name: Build release assets

View File

@@ -20,7 +20,7 @@ jobs:
- name: Setup python - name: Setup python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.12' python-version: '3.13'
architecture: x64 architecture: x64
- name: Setup reviewdog - name: Setup reviewdog
run: | run: |
@@ -43,7 +43,7 @@ jobs:
- name: Setup python - name: Setup python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.12' python-version: '3.13'
architecture: x64 architecture: x64
- name: Install dependencies - name: Install dependencies
run: | run: |

View File

@@ -15,24 +15,24 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [windows-latest, ubuntu-latest] os: [windows-latest, ubuntu-latest]
py: ["3.12"] py: ["3.13"]
qtver: [6.5.3, 6.6.3] qtver: [6.5.3, 6.6.3]
artifact: [standard] artifact: [standard]
include: include:
- os: windows-latest - os: windows-latest
py: "3.12" py: "3.13"
qtver: 6.6.3 qtver: 6.6.3
artifact: binary artifact: binary
- os: windows-latest - os: windows-latest
py: "3.12" py: "3.13"
qtver: 6.7.3 qtver: 6.7.3
artifact: standard artifact: standard
- os: ubuntu-latest - os: ubuntu-latest
py: "3.12" py: "3.13"
qtver: 6.8.0 qtver: 6.8.0
artifact: standard artifact: standard
- os: ubuntu-latest - os: ubuntu-latest
py: "3.12" py: "3.13"
# 6.8.1 introduces Operations elements in Updates.xml # 6.8.1 introduces Operations elements in Updates.xml
qtver: 6.8.1 qtver: 6.8.1
artifact: standard artifact: standard

View File

@@ -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: 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'} {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: defaults:
run: run:
shell: ${{ matrix.system.os == 'windows-latest' && 'pwsh' || 'bash' }} {0} shell: ${{ matrix.system.os == 'windows-latest' && 'pwsh' || 'bash' }} {0}

View File

@@ -17,7 +17,7 @@ python:
build: build:
os: ubuntu-22.04 os: ubuntu-22.04
tools: tools:
python: "3.10" python: "3.13"
jobs: jobs:
post_checkout: post_checkout:
- git fetch --depth 1000 - git fetch --depth 1000

View File

@@ -58,7 +58,7 @@ Requirements
3.9 3.9
- Recommended Python version: - Recommended Python version:
3.12 (frequently tested on) 3.13 (frequently tested on)
- Dependencies: - Dependencies:
requests requests

View File

@@ -7,13 +7,13 @@ jobs:
pool: pool:
vmImage: 'ubuntu-22.04' vmImage: 'ubuntu-22.04'
steps: steps:
- task: UsePythonVersion@0 - task: UsePythonVersion@0
inputs: inputs:
versionSpec: '3.12' versionSpec: '3.13'
addToPath: true addToPath: true
- bash: python ci/generate_azure_pipelines_matrices.py - bash: python ci/generate_azure_pipelines_matrices.py
name: mtrx name: mtrx
displayName: Generate test matrices and set variables in Azure Pipelines displayName: Generate test matrices and set variables in Azure Pipelines
- job: Mac - job: Mac
dependsOn: MatricesGenerator dependsOn: MatricesGenerator

View File

@@ -138,7 +138,7 @@ class PlatformBuildJobs:
self.build_jobs = build_jobs self.build_jobs = build_jobs
python_versions = ["3.12"] python_versions = ["3.13"]
qt_versions = ["6.8.1"] qt_versions = ["6.8.1"]

View File

@@ -116,7 +116,7 @@ max-line-length = 125
[tool.black] [tool.black]
line-length = 125 line-length = 125
target-version = ['py312'] target-version = ['py313']
[tool.isort] [tool.isort]
line_length = 125 line_length = 125
@@ -194,14 +194,14 @@ commands =
python -m pytest -vv python -m pytest -vv
[testenv:check] [testenv:check]
basepython = python3.12 basepython = python3.13
extras = check extras = check
commands = commands =
check-manifest {toxinidir} check-manifest {toxinidir}
flake8 aqt tests flake8 aqt tests
[testenv:mypy] [testenv:mypy]
basepython = python3.12 basepython = python3.13
extras = check extras = check
commands = mypy aqt commands = mypy aqt
deps = deps =
@@ -210,14 +210,14 @@ deps =
types-psutil types-psutil
[testenv:docs] [testenv:docs]
basepython = python3.12 basepython = python3.13
extras = docs extras = docs
commands = commands =
sphinx-build {posargs:-E} -W -b html docs build/docs sphinx-build {posargs:-E} -W -b html docs build/docs
sphinx-build -W -b linkcheck docs build/docs sphinx-build -W -b linkcheck docs build/docs
[testenv:mprof] [testenv:mprof]
basepython = python3.12 basepython = python3.13
extras = debug extras = debug
commands = commands =
mprof run --multiprocess python -m aqt install-qt -O /tmp -d /tmp linux desktop 6.8.1 mprof run --multiprocess python -m aqt install-qt -O /tmp -d /tmp linux desktop 6.8.1
@@ -227,7 +227,7 @@ deps =
matplotlib matplotlib
[testenv:fil] [testenv:fil]
basepython = python3.12 basepython = python3.13
extras = debug extras = debug
commands = commands =
fil-profile run -m aqt install-qt -O /tmp -d /tmp linux desktop 6.8.1 fil-profile run -m aqt install-qt -O /tmp -d /tmp linux desktop 6.8.1