Skip to content

Commit

Permalink
Merge pull request #81 from NeuralMMO/py311
Browse files Browse the repository at this point in the history
py311 compatibility
  • Loading branch information
jsuarez5341 authored Feb 7, 2024
2 parents b722f8e + 100b34e commit 8f4f833
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@
'scipy==1.10.0',
'pytest==7.3.0',
'pytest-benchmark==3.4.1',
'autobahn==19.3.3',
'Twisted==19.2.0',
# Deprecated renderer breaks py311
#'autobahn==19.3.3',
#'Twisted==19.2.0',
'vec-noise==1.1.4',
'imageio==2.23.0',
'ordered-set==4.1.0',
'pettingzoo==1.19.0',
'pettingzoo>=1.19.0',
'gym==0.23.0',
'pylint==2.16.0',
'psutil==5.9.3',
Expand Down
6 changes: 5 additions & 1 deletion tests/render/test_render_save.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
'''Manual test for render client connectivity and save replay'''
# Deprecated test; old render system

'''Manual test for render client connectivity and save replay
import nmmo
from nmmo.core.config import (AllGameSystems, Combat, Communication,
Equipment, Exchange, Item, Medium, Profession,
Expand Down Expand Up @@ -71,3 +73,5 @@ def create_config(base, nent, *systems):
# NOTE: save the data in uncompressed json format, since
# the web client has trouble loading the compressed replay file
replay_helper.save(f'replay_{conf_name}_seed_{RANDOM_SEED:04d}.json')
'''

0 comments on commit 8f4f833

Please sign in to comment.