Skip to content

Commit c2d02ed

Browse files
authored
Upgrade dependencies (#315)
* upgrade/adjust dependencies * adjust required depenencies * change maximum python version
1 parent 0871882 commit c2d02ed

File tree

3 files changed

+25
-25
lines changed

3 files changed

+25
-25
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: [3.8, 3.9]
18+
python-version: [3.8, 3.11]
1919

2020
steps:
2121
- uses: actions/checkout@v2

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Python
2222
uses: actions/setup-python@v3
2323
with:
24-
python-version: 3.9
24+
python-version: 3.12
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip

setup.py

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
from setuptools import find_packages, setup
22

3-
GYM_VERSION = "0.29.1"
4-
PETTINGZOO_VERSION = "1.24.2"
3+
GYMNASIUM_VERSION = "0.29.1"
4+
PETTINGZOO_VERSION = "1.24.3"
55

66

77
extras = {
88
"atari": [
9-
"gymnasium[atari, accept-rom-license]~={}".format(GYM_VERSION),
9+
f"gymnasium[atari, accept-rom-license]~={GYMNASIUM_VERSION}",
1010
],
1111
"box2d": [
12-
"gymnasium[box2d]~={}".format(GYM_VERSION),
12+
f"gymnasium[box2d]~={GYMNASIUM_VERSION}",
1313
],
1414
"pybullet": [
15-
"pybullet>=3.2.2",
15+
"pybullet>=3.2.2,<4",
1616
"gym>=0.10.0,<0.26.0",
1717
],
1818
"mujoco": [
19-
"gymnasium[mujoco]~={}".format(GYM_VERSION),
19+
f"gymnasium[mujoco]~={GYMNASIUM_VERSION}",
2020
],
2121
"ma-atari": [
22-
"PettingZoo[atari, accept-rom-license]~={}".format(PETTINGZOO_VERSION),
23-
"supersuit~=3.9.1",
22+
f"PettingZoo[atari, accept-rom-license]~={PETTINGZOO_VERSION}",
23+
"supersuit~=3.9.2",
2424
],
2525
"test": [
26-
"black>=24.1.1", # linting/formatting
27-
"isort>=5.13.2", # sort imports
28-
"flake8>=7.0.0", # more linting
29-
"torch-testing>=0.0.2", # pytorch assertion library
26+
"black~=24.2.0", # linting/formatting
27+
"isort~=5.13.2", # sort imports
28+
"flake8~=7.0.0", # more linting
29+
"torch-testing==0.0.2", # pytorch assertion library
3030
],
3131
"docs": [
32-
"sphinx>=3.2.1", # documentation library
33-
"sphinx-autobuild>=2020.9.1", # documentation live reload
34-
"sphinx-rtd-theme>=0.5.0", # documentation theme
35-
"sphinx-automodapi>=0.13", # autogenerate docs for modules
32+
"sphinx~=3.2.1", # documentation library
33+
"sphinx-autobuild~=2020.9.1", # documentation live reload
34+
"sphinx-rtd-theme~=0.5.0", # documentation theme
35+
"sphinx-automodapi~=0.13.0", # autogenerate docs for modules
3636
],
3737
}
3838

@@ -71,13 +71,13 @@
7171
],
7272
},
7373
install_requires=[
74-
"gymnasium~={}".format(GYM_VERSION), # common environment interface
75-
"numpy>=1.22.3", # math library
76-
"matplotlib>=3.5.1", # plotting library
77-
"opencv-python-headless>=4.0.0", # used by atari wrappers
78-
"torch>=2.0.0", # core deep learning library
79-
"tensorboard>=2.8.0", # logging and visualization
80-
"cloudpickle>=2.0.0", # used to copy environments
74+
f"gymnasium~={GYMNASIUM_VERSION}", # common environment interface
75+
"numpy~=1.22", # math library
76+
"matplotlib~=3.7", # plotting library
77+
"opencv-python-headless~=4.0", # used by atari wrappers
78+
"torch~=2.0", # core deep learning library
79+
"tensorboard~=2.8", # logging and visualization
80+
"cloudpickle~=2.0", # used to copy environments
8181
],
8282
extras_require=extras,
8383
)

0 commit comments

Comments
 (0)