Skip to content

Commit

Permalink
Support Python 3.12 (#1347)
Browse files Browse the repository at this point in the history
* Support Python 3.12

* update requirments

* update requirements
  • Loading branch information
kt474 authored Feb 13, 2024
1 parent e6df8ef commit 2ef4b00
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
os: [ "macOS-latest", "ubuntu-latest", "windows-latest" ]
env:
LOG_LEVEL: DEBUG
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-versions = ['py38', 'py39', 'py310', 'py311']
target-versions = ['py38', 'py39', 'py310', 'py311', 'py312']
4 changes: 4 additions & 0 deletions releasenotes/notes/python-3-12-support-a0390cacfe596e5b.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
features:
- |
Python 3.12 is now supported.
3 changes: 2 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mypy==0.931
pylint==2.16.2
pylint==3.0.0
pproxy==2.7.8
nbqa==1.5.3
matplotlib>=2.1
Expand All @@ -13,6 +13,7 @@ black~=22.0
coverage>=6.3
pylatexenc
scikit-learn
setuptools
ddt>=1.2.0,!=1.4.0,!=1.4.3

# Documentation
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
],
keywords="qiskit sdk quantum api runtime ibm",
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.15
envlist = py38, py39, py310, py311, lint, docs
envlist = py38, py39, py310, py311, py312, lint, docs
isolated_build = True

[testenv]
Expand Down

0 comments on commit 2ef4b00

Please sign in to comment.