Skip to content

Commit

Permalink
Update python version to 3.8-3.11 (#397)
Browse files Browse the repository at this point in the history
* Update python version to 3.8-3.11

* pyproject.toml python updated

---------

Co-authored-by: grace-harper <[email protected]>
  • Loading branch information
arnaucasau and grace-harper authored Oct 16, 2023
1 parent 204a82e commit 0517046
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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']
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")],
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -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]
Expand Down

0 comments on commit 0517046

Please sign in to comment.