diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index 4f50711e..95966b11 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -27,7 +27,7 @@ jobs: - uses: actions/setup-python@v2 name: Install Python with: - python-version: '3.7' + python-version: '3.8' - name: Install cibuildwheel run: | python -m pip install cibuildwheel==2.2.2 @@ -55,7 +55,7 @@ jobs: - uses: actions/setup-python@v2 name: Install Python with: - python-version: '3.7' + python-version: '3.8' - uses: actions-rs/toolchain@v1 with: toolchain: stable diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 075ccfb6..5e8cc019 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.7, 3.9] + python-version: [3.8, 3.11] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/pyproject.toml b/pyproject.toml index 4327b14b..885952d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,4 +4,4 @@ build-backend = "setuptools.build_meta" [tool.black] line-length = 100 -target-version = ['py36', 'py37', 'py38', 'py39'] +target-version = ['py38', 'py39', 'py310', 'py311'] diff --git a/setup.py b/setup.py index 314d623e..044e7b0f 100644 --- a/setup.py +++ b/setup.py @@ -168,13 +168,13 @@ def build_extension(self, ext: CMakeExtension) -> None: "Operating System :: POSIX :: Linux", "Programming Language :: C++", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Topic :: Scientific/Engineering", ], - python_requires=">=3.7", + python_requires=">=3.8", include_package_data=True, install_requires=(REQUIREMENTS,), ext_modules=[CMakeExtension("qiskit_qec.analysis._c_analysis")], diff --git a/tox.ini b/tox.ini index 05732e58..5341462b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.6 -envlist = py36, py37, py38, py39, lint, coverage +envlist = py38, py39, py310, py311, lint, coverage skipsdist = False [testenv]