Commit Graph

81 Commits

Author SHA1 Message Date
Justin Terry
1da3d4f8e9 fix black 2021-08-16 19:41:56 -04:00
J K Terry
8529781ae1 Add wrappers extra 2021-08-16 19:08:07 -04:00
J K Terry
df4a171b8f Try removing pillow? (#2295)
* try removing pillow?

* remove pillow from requirements.txt too
2021-08-05 10:34:13 -04:00
J K Terry
0fcaa5ddf7 Extras fixes (#2291)
* refactor extras

* black
2021-08-04 15:20:53 -04:00
J K Terry
f75c4101ec floating picle version (#2282) 2021-08-01 11:39:48 -04:00
J K Terry
78d2b512d8 redo black (#2272) 2021-07-29 15:39:42 -04:00
Justin Terry
e9d2c41f2b redo black 2021-07-29 12:42:48 -04:00
Christian Clauss
bb81e141ea Blacken the codebase (#2265) 2021-07-28 20:26:34 -04:00
Justin Terry
ee7811c26d peg atari-py version, add requirements.txt, bump numpy version 2021-07-27 12:35:35 -04:00
Justin Terry
562a8cc7ce fix qoute 2021-07-26 16:03:32 -04:00
Zhiqing Xiao
81aeb68906 remove constraints on package versions (#2135)
Co-authored-by: J K Terry <justinkterry@gmail.com>
2021-07-26 15:43:08 -04:00
Daniel Ciborowski
a5a6ae6bc0 Update Pillow Python Library for CVE-2020-35653 & CVE-2021-27921 (#2189)
* Update setup.py

* Update setup.py

* Update setup.py
2021-04-06 08:18:55 -07:00
pzhokhov
1e5f770044 fix build - only install mujoco for python 3.6, 3.7, (#2133)
* reverting to older version of 3.6 python to test if the build is failing because of that

* revert 3.7 to 3.7.3 for the build

* revert python 3.8 version to 3.8.1

* do not install mujoco on 3.8 and 3.9

* enable mujoco for 3.7

* .

* .

* .

* use regex to navigate python version dependent package installation

* .
2020-12-18 15:31:58 -08:00
Justin Terry
bdf95c1adc Python 3.9 support (#2088)
* try changes in pr 1804

* fix classifiers

* typo
2020-12-17 11:55:52 -08:00
Justin Terry
eec7d3354a Remove Python 3.5 support, travis and setup.py maintenance (#2084)
* remove python 3.5, update travis

* add travis

* add cmake during tests

* add swig

* disable python 3.8 removal?

* remove depricated failover

* add opencv and pillow minimum versions

* try removing pillow minimum version

* try older version of ubuntu

* reup ubuntu

* make pillow version suitable for pyglet version range

* remove extraneous run

* rerun stalled CI
2020-11-06 17:04:23 -08:00
Antonin RAFFIN
75b5fabdab Extend cloudpickle version range (#2032) 2020-09-11 15:02:20 -07:00
Neil
de25ab58c8 Remove dependency from setup.py (#2016)
Python 3.4 was dropped, so enum34 is no longer required.
2020-08-28 14:40:35 -07:00
pzhokhov
67212547ac remove six and __future__ imports (#1840)
* remove six

* remove __future__ imports

* remove six from setup.py, python 2.7 from README.rst
2020-04-10 17:10:34 -05:00
pzhokhov
743a2d5eac expand cloudpickle range (#1836)
* expand cloudpickle range

* 0.17.1 release note
2020-03-05 10:49:52 -05:00
pzhokhov
c476e8553f fix python_requires in setup.py (#1827) 2020-02-29 02:39:04 +01:00
tvalentyn
16112ad72f Pick up a newer version of Cloudpickle, which fixes https://github.com/cloudpipe/cloudpickle/issues/82 (#1816) 2020-02-26 17:33:01 +01:00
pzhokhov
639264c545 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
2020-02-25 14:11:55 +01:00
pzhokhov
eeb1f97d38 pyglet 1.4 compatibility (#1771)
* pyglet 1.4 compatibility

* change pyglet version in setup.py
2020-02-03 11:34:28 +01:00
pzhokhov
7854e2d020 remove opencv-python from core requirements (#1764)
* remove opencv-python from core requirements

* fail on AtariWrapper construction if opencv-python is not installed
2020-01-24 14:05:12 -08:00
Christopher Hesse
5fb359971a only support mujoco-py <2.0 2019-11-08 14:12:42 -08:00
Dmitry Nikulin
9a7f912989 Use list comprehension instead of += (#1654) 2019-10-18 16:00:15 -07:00
Mohamad H. Danesh
2b7a774f49 Update setup.py (#1713) 2019-10-18 14:41:09 -07:00
Christopher Hesse
f4d3c075e8 fix version selector 2019-07-08 13:15:08 -07:00
Christopher Hesse
c2adfae015 narrow pyglet version 2019-07-08 13:15:08 -07:00
Christopher Hesse
a94a8f6c9b fix pyglet version 2019-07-08 13:15:08 -07:00
Jesse Farebrother
fc6891c9c8 ALE 0.6 (#1535) 2019-06-21 16:50:54 -07:00
Tristan Deleu
c6a97e17ee Vectorized environments (#1513)
* Initial version of vectorized environments

* Raise an exception in the main process if child process raises an exception

* Add list of exposed functions in vector module

* Use deepcopy instead of np.copy

* Add documentation for vector utils

* Add tests for copy in AsyncVectorEnv

* Add example in documentation for batch_space

* Add cloudpickle dependency in setup.py

* Fix __del__ in VectorEnv

* Check if all observation spaces are equal in AsyncVectorEnv

* Check if all observation spaces are equal in SyncVectorEnv

* Fix spaces non equality in SyncVectorEnv for Python 2

* Handle None parameter in create_empty_array

* Fix check_observation_space with spaces equality

* Raise an exception when operations are out of order in AsyncVectorEnv

* Add version requirement for cloudpickle

* Use a state instead of binary flags in AsyncVectorEnv

* Use numpy.zeros when initializing observations in vectorized environments

* Remove poll from public API in AsyncVectorEnv

* Remove close_extras from VectorEnv

* Add test between AsyncVectorEnv and SyncVectorEnv

* Remove close in check_observation_space

* Add documentation for seed and close

* Refactor exceptions for AsyncVectorEnv

* Close pipes if the environment raises an error

* Add tests for out of order operations

* Change default argument in create_empty_array to np.zeros

* Add get_attr and set_attr methods to VectorEnv

* Improve consistency in SyncVectorEnv
2019-06-21 14:29:44 -07:00
Christopher Hesse
f1d13b4967 fix version selectors 2019-05-24 16:44:12 -07:00
Christopher Hesse
1bde3c01c3 attempt to remove pyopengl 2019-05-24 16:44:12 -07:00
Peter Zhokhov
05587f46d9 add opencv dependency for atari to fix tests 2019-05-10 15:19:04 -07:00
pzhokhov
8b15512bba test docker images based on python images (#1474)
* base test docker image on python images

* fix py3 build

* fixes for python-based dockerfile

* re-enable py27 build

* remove requirements_dev.txt and unittest.cfg (cleaning up build pipeline)
2019-05-10 14:49:16 -07:00
Hugo
8233fe1f16 Update version metadata (#1451)
* Add python_requires to help pip

* Add Trove classifiers to clarify support on PyPI
2019-05-03 14:47:44 -07:00
Xingdong Zuo
b219d36441 [Update setup.py] Support latest mujoco_py 2.0 (#1401)
* Update setup.py

* Update test.dockerfile.18.04

* Update test.dockerfile.16.04
2019-03-23 17:15:33 -07:00
Peter Zhokhov
946d233eea fix version of mujoco-py to <2 2019-03-22 14:58:50 -07:00
Peter Zhokhov
b8cff4e6a0 bump versions 2018-10-01 18:14:52 -07:00
pzhokhov
c306b4e5a9 box2d kengz vs py (#1120)
* try build with box2d-kengz

* test box2d envs

* use box2d-py in tox.ini for tests

* box2d-py instead of box2d-kengz in box2d dependencies

* test dependencies in tox.ini use dependencies in setup.py

* further cleanups of tox.ini

* further cleanups

* added scipy to list of requirements

* added a note about box2d-kengz into README

* build box2d from scratch, add a note to README about it

* use box2d-py>=2.3.4

* removed box2d installation instructions from README
2018-08-09 10:13:34 -07:00
pzhokhov
5c116fb3c9 box2d kengz vs py (#1097)
* try build with box2d-kengz

* test box2d envs

* use box2d-py in tox.ini for tests

* box2d-py instead of box2d-kengz in box2d dependencies

* test dependencies in tox.ini use dependencies in setup.py

* further cleanups of tox.ini

* further cleanups

* added scipy to list of requirements
2018-07-13 14:05:56 -07:00
Matthias Plappert
5a362c75a3 Fix installation issue on Linux 2018-02-27 09:22:37 +01:00
Matthias Plappert
9bc2d79a48 Include missing assets 2018-02-26 18:01:37 +01:00
Matthias Plappert
78c416ef7b New robotics environments (#912) 2018-02-26 17:35:07 +01:00
John Schulman
4c460ba6c8 Cleanup, removal of unmaintained code (#836)
* add dtype to Box

* remove board_game, debugging, safety, parameter_tuning environments

* massive set of breaking changes
- remove python logging module
- _step, _reset, _seed, _close => non underscored method
- remove benchmark and scoring folder

* Improve render("human"), now resizable, closable window.

* get rid of default step and reset in wrappers, so it doesn’t silently fail for people with underscore methods

* CubeCrash unit test environment

* followup fixes

* MemorizeDigits unit test envrionment

* refactored spaces a bit
fixed indentation
disabled test_env_semantics

* fix unit tests

* fixes

* CubeCrash, MemorizeDigits tested

* gym backwards compatibility patch

* gym backwards compatibility, followup fixes

* changelist, add spaces to main namespaces

* undo_logger_setup for backwards compat

* remove configuration.py
2018-01-25 18:20:14 -08:00
Matthias Plappert
6af4a5b9b2 Migrate to mujoco-py 1.50 (#834)
* all envs run offscreen

* render works

* changed mujoco-py version

* Bump versions

* Update version and README

* Same versioning for all mujoco envs

* Fix typo

* Fix version

* Bump version again

* Revert "Fix version"

This reverts commit decc5779811801deb6ae9fad697dfe247d2bdd94.
2018-01-24 15:42:29 -08:00
Jonas Schneider
e6fdc69cfd Pin mujoco-py to <1.0.0
We'll upgrade Gym to use it at a later date, however that will likely involve bumping all the envs, which we're trying to avoid for now.
2017-06-21 11:55:47 -07:00
Evan Shelhamer
4f046edab4 update atari-py dep as the packaging of 0.1.0 was broken 2017-05-13 21:26:13 -07:00
Greg Brockman
33df278dbb Bump atari-py dep 2017-05-13 17:44:47 -07:00