diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 7fbb2bf..c5b3944 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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 diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 4f185e8..d9bdbdd 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -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 diff --git a/.github/workflows/run-linter.yml b/.github/workflows/run-linter.yml index e234871..f3c2992 100644 --- a/.github/workflows/run-linter.yml +++ b/.github/workflows/run-linter.yml @@ -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: | @@ -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: | diff --git a/.github/workflows/test-install-qt.yml b/.github/workflows/test-install-qt.yml index 82cb079..204c4b8 100644 --- a/.github/workflows/test-install-qt.yml +++ b/.github/workflows/test-install-qt.yml @@ -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 diff --git a/.github/workflows/upload-release-artifacts.yml b/.github/workflows/upload-release-artifacts.yml index d395bac..7b7399b 100644 --- a/.github/workflows/upload-release-artifacts.yml +++ b/.github/workflows/upload-release-artifacts.yml @@ -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} diff --git a/.readthedocs.yml b/.readthedocs.yml index c8eed33..84b3b30 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -17,7 +17,7 @@ python: build: os: ubuntu-22.04 tools: - python: "3.10" + python: "3.13" jobs: post_checkout: - git fetch --depth 1000 diff --git a/README.rst b/README.rst index d091f07..58a7fd1 100644 --- a/README.rst +++ b/README.rst @@ -58,7 +58,7 @@ Requirements 3.9 - Recommended Python version: - 3.12 (frequently tested on) + 3.13 (frequently tested on) - Dependencies: requests diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a36ca26..4a96be5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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 diff --git a/ci/generate_azure_pipelines_matrices.py b/ci/generate_azure_pipelines_matrices.py index 2d6e467..36b1ee0 100644 --- a/ci/generate_azure_pipelines_matrices.py +++ b/ci/generate_azure_pipelines_matrices.py @@ -138,7 +138,7 @@ class PlatformBuildJobs: self.build_jobs = build_jobs -python_versions = ["3.12"] +python_versions = ["3.13"] qt_versions = ["6.8.1"] diff --git a/pyproject.toml b/pyproject.toml index c519ecb..561a19c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -116,7 +116,7 @@ max-line-length = 125 [tool.black] line-length = 125 -target-version = ['py312'] +target-version = ['py313'] [tool.isort] line_length = 125 @@ -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 = @@ -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 @@ -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