From 100b34e859fbb5d54d5d05e09af57d5a2819ae29 Mon Sep 17 00:00:00 2001 From: Joseph Suarez Date: Wed, 7 Feb 2024 16:50:29 +0000 Subject: [PATCH] Make PZ version non-strict and remove twisted/autobahn deps + test for py311 compatibility --- setup.py | 7 ++++--- tests/render/test_render_save.py | 6 +++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index d9d534bc..ff014244 100644 --- a/setup.py +++ b/setup.py @@ -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', diff --git a/tests/render/test_render_save.py b/tests/render/test_render_save.py index d63599e0..165a1930 100644 --- a/tests/render/test_render_save.py +++ b/tests/render/test_render_save.py @@ -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, @@ -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') + +'''