CI: bump target python version to 3.9 (#575)

* CI: bump target python version to 3.9

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura
2022-09-30 08:35:06 +09:00
committed by GitHub
parent 933aed1bd0
commit d3c24d8387
4 changed files with 10 additions and 9 deletions

View File

@@ -20,10 +20,10 @@ jobs:
with: with:
fetch-depth: 20 fetch-depth: 20
- 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.8 - name: Set up Python 3.9
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.9
- name: Install tools - name: Install tools
run: | run: |
pip install -U pip pip install -U pip

View File

@@ -23,7 +23,7 @@ jobs:
steps: steps:
- task: UsePythonVersion@0 - task: UsePythonVersion@0
inputs: inputs:
versionSpec: '3.8' versionSpec: '3.9'
addToPath: true addToPath: true
- bash: python ci/generate_azure_pipelines_matrices.py - bash: python ci/generate_azure_pipelines_matrices.py
name: mtrx name: mtrx

View File

@@ -76,7 +76,7 @@ class PlatformBuildJobs:
python_versions = [ python_versions = [
"3.8", "3.9",
] ]
qt_versions = ["5.13.2", "5.15.2"] qt_versions = ["5.13.2", "5.15.2"]

View File

@@ -137,7 +137,7 @@ markers = [
[tool.tox] [tool.tox]
legacy_tox_ini = """ legacy_tox_ini = """
[tox] [tox]
envlist = check, docs, py{36,37,38,39,310}, py39d, mprof, fil envlist = check, docs, py{36,37,38,39,310,311}, py39d, mprof, fil
isolated_build = True isolated_build = True
[testenv] [testenv]
@@ -152,14 +152,14 @@ commands =
python -m pytest -vv python -m pytest -vv
[testenv:check] [testenv:check]
basepython = python3.8 basepython = python3.9
extras = check extras = check
commands = commands =
check-manifest {toxinidir} check-manifest {toxinidir}
flake8 aqt tests flake8 aqt tests
[testenv:docs] [testenv:docs]
basepython = python3.8 basepython = python3.9
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
@@ -178,7 +178,7 @@ deps =
pytest-cov pytest-cov
[testenv:mprof] [testenv:mprof]
basepython = python3.8 basepython = python3.9
commands = commands =
mprof run --multiprocess python -m aqt install-qt -O /tmp -d /tmp linux desktop 6.2.1 mprof run --multiprocess python -m aqt install-qt -O /tmp -d /tmp linux desktop 6.2.1
mprof plot --output memory-profile.png mprof plot --output memory-profile.png
@@ -187,7 +187,7 @@ deps =
matplotlib matplotlib
[testenv:fil] [testenv:fil]
basepython = python3.8 basepython = python3.9
commands = commands =
fil-profile run -m aqt install-qt -O /tmp -d /tmp linux desktop 6.2.1 fil-profile run -m aqt install-qt -O /tmp -d /tmp linux desktop 6.2.1
deps = deps =
@@ -206,4 +206,5 @@ python =
3.8: py38, docs, check 3.8: py38, docs, check
3.9: py39 3.9: py39
3.10: py310 3.10: py310
3.11: py311
""" """