Skip to content

Commit

Permalink
feat!: Add Python 3.11 and drop Python 3.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
boldar99 committed Oct 27, 2023
1 parent b86241b commit 4e33e32
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Tests and additional checks can be run using `tox`. After installation, run the
following command:

```
tox -e py310
tox -e py311
```

Alternatively, you can run only the tests using `pytest`. After installation, run the
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
url="https://github.com/Budapest-Quantum-Computing-Group/piquasso",
keywords=["python", "piquasso"],
install_requires=[
'theboss==2.0.3; python_version >= "3.7"',
'numpy>=1.19.5; python_version >= "3.7"',
'scipy>=1.5.4; python_version >= "3.7"',
'theboss==2.0.3; python_version >= "3.8"',
'numpy>=1.19.5; python_version >= "3.8"',
'scipy>=1.5.4; python_version >= "3.8"',
"quantum-blackbird==0.5.0",
],
extras_require={
Expand Down
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@
# and then run "tox" from this directory.

[tox]
envlist = py37, py38, py39, py310
requires =
tox>=4
env_list = py{37,38,39,310,311}

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311

[testenv]
extras = tensorflow
Expand Down

0 comments on commit 4e33e32

Please sign in to comment.