mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-30 01:50:19 +00:00
Drop python2 support (#1819)
* drop python 2 support * remove python 2.7 logic from Dockerfile * Revert "remove python 2.7 logic from Dockerfile" This reverts commit 43ceabfa8d70ca083661ab3d0d03f2a1adbef5ff. * remove python 2.7 logic from Dockerfile * use python 3.7.3 (3.7.6 segfaults with mujoco for some reason? * include cmake into system level packages * add swig to system packages * python3.8 build still segfaults on mujoco tests, disabling for now * add python 3.8 and 3.9 to the build * python 3.9.1 -> 3.9.0 * oops i did not realize python 3.9 is still in alpha
This commit is contained in:
@@ -5,11 +5,11 @@ python:
|
|||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
env:
|
env:
|
||||||
# - UBUNTU_VER=14.04 - problems with atari-py
|
|
||||||
- PY_VER=2.7
|
|
||||||
- PY_VER=3.5.6
|
- PY_VER=3.5.6
|
||||||
- PY_VER=3.6.8
|
- PY_VER=3.6.8
|
||||||
- PY_VER=3.7.3
|
- PY_VER=3.7.3
|
||||||
|
- PY_VER=3.8.1
|
||||||
|
|
||||||
|
|
||||||
install: "" # so travis doesn't do pip install requirements.txt
|
install: "" # so travis doesn't do pip install requirements.txt
|
||||||
script:
|
script:
|
||||||
|
@@ -160,6 +160,10 @@ We are using `pytest <http://doc.pytest.org>`_ for tests. You can run them via:
|
|||||||
|
|
||||||
What's new
|
What's new
|
||||||
==========
|
==========
|
||||||
|
- 2020-02-21 (v 0.17.0)
|
||||||
|
- Drop python 2 support
|
||||||
|
+ Add python 3.8 build
|
||||||
|
|
||||||
- 2020-02-09 (v 0.16.0)
|
- 2020-02-09 (v 0.16.0)
|
||||||
+ EnvSpec API change - remove tags field (retro-active version bump, the changes are actually already in the codebase since 0.15.5 - thanks @wookayin for keeping us in check!)
|
+ EnvSpec API change - remove tags field (retro-active version bump, the changes are actually already in the codebase since 0.15.5 - thanks @wookayin for keeping us in check!)
|
||||||
|
|
||||||
|
@@ -1 +1 @@
|
|||||||
VERSION = '0.16.0'
|
VERSION = '0.17.0'
|
||||||
|
@@ -19,7 +19,7 @@ RUN pip install pytest pytest-forked lz4
|
|||||||
|
|
||||||
COPY . /usr/local/gym/
|
COPY . /usr/local/gym/
|
||||||
WORKDIR /usr/local/gym/
|
WORKDIR /usr/local/gym/
|
||||||
RUN [ "$PYTHON_VER" != "2.7" ] && pip install .[all] || pip install .
|
RUN [ "$PYTHON_VER" != "3.8.1" ] && pip install .[all] || pip install .
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/gym/bin/docker_entrypoint"]
|
ENTRYPOINT ["/usr/local/gym/bin/docker_entrypoint"]
|
||||||
CMD ["pytest","--forked"]
|
CMD ["pytest","--forked"]
|
||||||
|
3
setup.py
3
setup.py
@@ -45,11 +45,10 @@ setup(name='gym',
|
|||||||
tests_require=['pytest', 'mock'],
|
tests_require=['pytest', 'mock'],
|
||||||
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
|
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Programming Language :: Python :: 2',
|
|
||||||
'Programming Language :: Python :: 2.7',
|
|
||||||
'Programming Language :: Python :: 3',
|
'Programming Language :: Python :: 3',
|
||||||
'Programming Language :: Python :: 3.5',
|
'Programming Language :: Python :: 3.5',
|
||||||
'Programming Language :: Python :: 3.6',
|
'Programming Language :: Python :: 3.6',
|
||||||
'Programming Language :: Python :: 3.7',
|
'Programming Language :: Python :: 3.7',
|
||||||
|
'Programming Language :: Python :: 3.8',
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user