From 9aff1137a9e2efef8f6174ac6faeb8af7e173b64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quentin=20Gallou=C3=A9dec?= <45557362+qgallouedec@users.noreply.github.com> Date: Wed, 21 Dec 2022 15:52:48 +0100 Subject: [PATCH] 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 --- .github/workflows/ci.yml | 2 +- docs/misc/changelog.rst | 1 + setup.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d22a0a..a834fdc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9] + python-version: ["3.7", "3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v3 diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst index 24fe716..434b094 100644 --- a/docs/misc/changelog.rst +++ b/docs/misc/changelog.rst @@ -24,6 +24,7 @@ New Features: - Features extractors now properly support unnormalized image-like observations (3D tensor) when passing ``normalize_images=False`` - Added ``normalized_image`` parameter to ``NatureCNN`` and ``CombinedExtractor`` +- Added support for Python 3.10 SB3-Contrib ^^^^^^^^^^^ diff --git a/setup.py b/setup.py index b02e9e4..df97633 100644 --- a/setup.py +++ b/setup.py @@ -154,6 +154,7 @@ setup( "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", ], )