From 052d271b2f6b69cb6c875b181e4cba829d823598 Mon Sep 17 00:00:00 2001 From: Tobias Ahrens <73690588+tobiasah@users.noreply.github.com> Date: Mon, 31 Oct 2022 15:15:01 +0100 Subject: [PATCH] Test python 3.11 (#207) --- .github/workflows/tests.yml | 5 ++++- examples/hdawg_awg.md | 2 +- setup.cfg | 1 + tox.ini | 4 ++-- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 52c1d3b3..574a3ed5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,10 +27,13 @@ jobs: - name: py310 python: "3.10" tox: py310 + - name: py311 + python: "3.11" + tox: py311 steps: - uses: "actions/checkout@v2" - - uses: "actions/setup-python@v1" + - uses: "actions/setup-python@v4" with: python-version: "${{ matrix.python }}" - name: "Install dependencies" diff --git a/examples/hdawg_awg.md b/examples/hdawg_awg.md index aae6c29c..5fad3138 100644 --- a/examples/hdawg_awg.md +++ b/examples/hdawg_awg.md @@ -8,7 +8,7 @@ jupyter: format_version: '1.3' jupytext_version: 1.14.1 kernelspec: - display_name: Python 3.10.6 64-bit ('toolkit') + display_name: Python 3 (ipykernel) language: python name: python3 --- diff --git a/setup.cfg b/setup.cfg index 554516a3..9f5d2ca1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,6 +19,7 @@ classifiers = Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 License :: OSI Approved :: MIT License Operating System :: OS Independent Topic :: Scientific/Engineering diff --git a/tox.ini b/tox.ini index ff1f8065..61f64210 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py37, py38, py39, py310, lint, typing +envlist = py37, py38, py39, py310, py311, lint, typing skip_missing_interpreters = true skipsdist = true # pyproject.toml: To use a PEP 517 build-backend you are required to configure tox to use an isolated_build @@ -13,7 +13,7 @@ allowlist_externals = flake8 scripts/zhinst_toolkit_symlink.py deps = - py{37,38,39,310}: -rrequirements.txt + py{37,38,39,310,311}: -rrequirements.txt pytest-cov commands = {envpython} -m pip install .