Skip to content

Commit

Permalink
Python versions: move from python 3.7 and add support for 3.11 (#120)
Browse files Browse the repository at this point in the history
* Python versions: move from python 3.7 and add support for 3.11 

This enhancement will allow testing across Python versions 3.8, 3.9, 3.10, and 3.11

* Python tests matching braket sdk 

* updating python versions in setup.py

Update to the classifiers section to include "Programming Language :: Python :: 3.11" to match the requested support versions. In addition "Programming Language :: Python :: 3.7" was removed

* updating `python_requires` field in `setup.py` to version 3.8.2
  • Loading branch information
robotAstray committed Aug 17, 2023
1 parent a3e40e2 commit a30bedf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_latest_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7, '3.10']
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
keywords="qiskit braket sdk quantum",
packages=setuptools.find_packages(),
install_requires=install_requires,
python_requires=">=3.7",
python_requires=">=3.8.2",
version=version,
classifiers=[
"Intended Audience :: Developers",
Expand All @@ -39,10 +39,10 @@
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"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 :: Physics",
],
)

0 comments on commit a30bedf

Please sign in to comment.