mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 04:34:37 +03:00
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:
4
.github/workflows/check.yml
vendored
4
.github/workflows/check.yml
vendored
@@ -20,10 +20,10 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 20
|
||||
- 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
|
||||
with:
|
||||
python-version: 3.8
|
||||
python-version: 3.9
|
||||
- name: Install tools
|
||||
run: |
|
||||
pip install -U pip
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '3.8'
|
||||
versionSpec: '3.9'
|
||||
addToPath: true
|
||||
- bash: python ci/generate_azure_pipelines_matrices.py
|
||||
name: mtrx
|
||||
|
||||
@@ -76,7 +76,7 @@ class PlatformBuildJobs:
|
||||
|
||||
|
||||
python_versions = [
|
||||
"3.8",
|
||||
"3.9",
|
||||
]
|
||||
|
||||
qt_versions = ["5.13.2", "5.15.2"]
|
||||
|
||||
@@ -137,7 +137,7 @@ markers = [
|
||||
[tool.tox]
|
||||
legacy_tox_ini = """
|
||||
[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
|
||||
|
||||
[testenv]
|
||||
@@ -152,14 +152,14 @@ commands =
|
||||
python -m pytest -vv
|
||||
|
||||
[testenv:check]
|
||||
basepython = python3.8
|
||||
basepython = python3.9
|
||||
extras = check
|
||||
commands =
|
||||
check-manifest {toxinidir}
|
||||
flake8 aqt tests
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python3.8
|
||||
basepython = python3.9
|
||||
extras = docs
|
||||
commands =
|
||||
sphinx-build {posargs:-E} -W -b html docs build/docs
|
||||
@@ -178,7 +178,7 @@ deps =
|
||||
pytest-cov
|
||||
|
||||
[testenv:mprof]
|
||||
basepython = python3.8
|
||||
basepython = python3.9
|
||||
commands =
|
||||
mprof run --multiprocess python -m aqt install-qt -O /tmp -d /tmp linux desktop 6.2.1
|
||||
mprof plot --output memory-profile.png
|
||||
@@ -187,7 +187,7 @@ deps =
|
||||
matplotlib
|
||||
|
||||
[testenv:fil]
|
||||
basepython = python3.8
|
||||
basepython = python3.9
|
||||
commands =
|
||||
fil-profile run -m aqt install-qt -O /tmp -d /tmp linux desktop 6.2.1
|
||||
deps =
|
||||
@@ -206,4 +206,5 @@ python =
|
||||
3.8: py38, docs, check
|
||||
3.9: py39
|
||||
3.10: py310
|
||||
3.11: py311
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user