From e44378157aaf229ffe2aaef9fafe500c2844045e Mon Sep 17 00:00:00 2001 From: bweithers Date: Thu, 10 Oct 2024 09:02:13 -0500 Subject: [PATCH 1/2] Remove unused distutils import to comply with Python3.12 --- rlcard/agents/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/rlcard/agents/__init__.py b/rlcard/agents/__init__.py index f766ffcee..0159ad4fd 100644 --- a/rlcard/agents/__init__.py +++ b/rlcard/agents/__init__.py @@ -1,6 +1,5 @@ import subprocess import sys -from distutils.version import LooseVersion reqs = subprocess.check_output([sys.executable, '-m', 'pip', 'freeze']) installed_packages = [r.decode().split('==')[0] for r in reqs.split()] From 4f449fd5315e5d0b2a72449684ab46132b6a1345 Mon Sep 17 00:00:00 2001 From: bweithers Date: Thu, 10 Oct 2024 10:22:14 -0500 Subject: [PATCH 2/2] Add venv to gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 8082a5b48..675790797 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ experiments/ dist/ rlcard/games/doudizhu/jsondata/ rlcard/agents/gin_rummy_human_agent/gui_cards/cards_png +.venv/* \ No newline at end of file