Skip to content

Commit 84c3f0d

Browse files
Mikhail AstafevCopilot
andcommitted
Drop Python 3.11 from CI matrix
QCoDeS already requires Python >=3.12. This PR updates the CI configuration to match: - Updated pytest.yaml: removed 3.11 from matrix, min-version test now uses 3.12 - Updated docs.yaml: removed 3.11, gh-pages deploy uses 3.12 - Updated upload_to_pypi.yaml: build uses 3.12 - Removed obsolete pyvisa-sim deprecation warning filter (was only needed for 3.11) - Bumped minimum dependency versions: numpy>=1.26.0, pandas>=2.1.0 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 33f9ff8 commit 84c3f0d

4 files changed

Lines changed: 8 additions & 16 deletions

File tree

.github/workflows/docs.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,8 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
os: [ubuntu-latest, windows-latest]
32-
python-version: ["3.11", "3.12", "3.13", "3.14"]
32+
python-version: ["3.12", "3.13", "3.14"]
3333
exclude:
34-
- os: windows-latest
35-
python-version: 3.11
3634
- os: windows-latest
3735
python-version: 3.13
3836
- os: windows-latest
@@ -122,7 +120,7 @@ jobs:
122120
- name: Download artifact
123121
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
124122
with:
125-
name: docs_3.11_ubuntu-latest
123+
name: docs_3.12_ubuntu-latest
126124
path: build_docs
127125

128126
- name: Deploy to gh pages

.github/workflows/pytest.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,13 @@ jobs:
3030
fail-fast: false
3131
matrix:
3232
os: [ubuntu-latest, windows-latest]
33-
python-version: ["3.11", "3.12", "3.13", "3.14"]
33+
python-version: ["3.12", "3.13", "3.14"]
3434
min-version: [false]
3535
include:
3636
- os: ubuntu-latest
37-
python-version: "3.11"
37+
python-version: "3.12"
3838
min-version: true
3939
exclude:
40-
- os: ubuntu-latest
41-
python-version: "3.11"
42-
- os: windows-latest
43-
python-version: "3.11"
4440
- os: windows-latest
4541
python-version: "3.13"
4642
- os: windows-latest

.github/workflows/upload_to_pypi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Python
2626
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2727
with:
28-
python-version: '3.11'
28+
python-version: '3.12'
2929
- name: Install build deps
3030
run: pip install --upgrade pip setuptools wheel build
3131
- name: Build

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ classifiers = [
1313
"Development Status :: 3 - Alpha",
1414
"Intended Audience :: Science/Research",
1515
"Programming Language :: Python :: 3 :: Only",
16-
"Programming Language :: Python :: 3.11",
1716
"Programming Language :: Python :: 3.12",
1817
"Programming Language :: Python :: 3.13",
1918
"Programming Language :: Python :: 3.14",
2019
"Topic :: Scientific/Engineering",
2120
]
2221
license = "MIT"
2322
readme = "README.rst"
24-
requires-python = ">=3.11"
23+
requires-python = ">=3.12"
2524
dependencies = [
2625
"broadbean>=0.11.0",
2726
"h5netcdf>=0.14.1",
@@ -31,9 +30,9 @@ dependencies = [
3130
"jsonschema>=4.9.0",
3231
"matplotlib>=3.6.0",
3332
"networkx>=3.1",
34-
"numpy>=1.22.4",
33+
"numpy>=1.26.0",
3534
"packaging>=20.0",
36-
"pandas>=1.5.0",
35+
"pandas>=2.1.0",
3736
"pyarrow>=11.0.0", # will become a requirement of pandas. Installing explicitly silences a warning
3837
"pyvisa>=1.11.0, <1.17.0",
3938
"ruamel.yaml>=0.16.0,!=0.16.6",
@@ -218,7 +217,6 @@ markers = "serial"
218217
# and error on all other warnings
219218
filterwarnings = [
220219
'error',
221-
'ignore:open_binary is deprecated:DeprecationWarning', # pyvisa-sim deprecated in 3.11 un-deprecated in 3.12. Drop filter once we drop support for 3.11
222220
'ignore:unclosed database in:ResourceWarning', # internal should be fixed
223221
'ignore:unclosed\ <socket\.socket:ResourceWarning', # not clear from where this is coming
224222
'ignore:Model_336 is deprecated:qcodes.utils.deprecate.QCoDeSDeprecationWarning', # remove once deprecated Lakeshore Model_336 and its tests has been removed

0 commit comments

Comments
 (0)