Skip to content

Commit 9aff113

Browse files
authored
Add support for Python 3.10 (#1227)
* Add python 3.10 and 3.11 * Update setup * Fix CI * Drop 3.11 (because of pytorch) * Update changelog * revert unwanted change in setup.cfg * Remove remark about pytorch
1 parent 7202ece commit 9aff113

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
python-version: [3.7, 3.8, 3.9]
22+
python-version: ["3.7", "3.8", "3.9", "3.10"]
2323

2424
steps:
2525
- uses: actions/checkout@v3

docs/misc/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ New Features:
2424
- Features extractors now properly support unnormalized image-like observations (3D tensor)
2525
when passing ``normalize_images=False``
2626
- Added ``normalized_image`` parameter to ``NatureCNN`` and ``CombinedExtractor``
27+
- Added support for Python 3.10
2728

2829
SB3-Contrib
2930
^^^^^^^^^^^

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@
154154
"Programming Language :: Python :: 3.7",
155155
"Programming Language :: Python :: 3.8",
156156
"Programming Language :: Python :: 3.9",
157+
"Programming Language :: Python :: 3.10",
157158
],
158159
)
159160

0 commit comments

Comments
 (0)