From 09457d041de2c1e9ca5c922cedc2e88f1a83cc61 Mon Sep 17 00:00:00 2001 From: Mathieu Poliquin Date: Fri, 12 Jan 2024 11:45:31 +0800 Subject: [PATCH 1/2] Update __init__.py Fix end of file error from GH workflow --- retro/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/retro/__init__.py b/retro/__init__.py index 42fe52fb..3d56cebb 100644 --- a/retro/__init__.py +++ b/retro/__init__.py @@ -69,6 +69,5 @@ def make(game, state=State.DEFAULT, inttype=retro.data.Integrations.DEFAULT, **k if "stable-retro" in notifications and __version__ in notifications["stable-retro"]: print(notifications["stable-retro"][__version__], file=sys.stderr) - except Exception: # nosec - pass \ No newline at end of file + pass From b9b4e417be675ac61c5f99b7c8772941e6e9cdbe Mon Sep 17 00:00:00 2001 From: Mathieu Poliquin Date: Fri, 12 Jan 2024 13:09:09 +0800 Subject: [PATCH 2/2] Update setup.py --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 12c4d884..9842f53a 100644 --- a/setup.py +++ b/setup.py @@ -90,7 +90,11 @@ def run(self): url="https://github.com/farama-foundation/stable-retro", version=open(VERSION_PATH).read().strip(), license="MIT", - install_requires=["gymnasium>=0.27.1", "pyglet>=1.3.2,==1.*", "farama-notifications>=0.0.1"], + install_requires=[ + "gymnasium>=0.27.1", + "pyglet>=1.3.2,==1.*", + "farama-notifications>=0.0.1", + ], python_requires=">=3.8.0,<3.13", ext_modules=[Extension("retro._retro", ["CMakeLists.txt", "src/*.cpp"])], cmdclass={"build_ext": CMakeBuild},