Skip to content

Commit d6007fb

Browse files
authored
Merge pull request #4 from fhswf/debug/unittest
Unittest Failing
2 parents 4473b79 + bb03abc commit d6007fb

File tree

7 files changed

+12
-11
lines changed

7 files changed

+12
-11
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
## -- 2024-11-28 1.1.0 DA Updated the version range for Python to 3.10 - 3.13
99
## -- 2024-12-10 1.2.0 DA Update actions/checkout to v4, actions/setup-python to v5
1010
## -- 2025-04-27 1.3.0 DA Removed Python 3.10
11+
## -- 2025-05-12 1.4.0 SY Removed Python 3.13
1112
## -------------------------------------------------------------------------------------------------
1213

1314
name: Unit Tests
@@ -55,7 +56,7 @@ jobs:
5556
if: needs.deps_gen.outputs.trigger_build == 'true'
5657
strategy:
5758
matrix:
58-
python-version: ['3.11', '3.12', '3.13']
59+
python-version: ['3.11', '3.12']
5960

6061
steps:
6162
- name: Checkout Codes

doc/rtd/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Detlef Arend, Steve Yuwono, Laxmikant Shrikant Baheti et al'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '1.0.0'
25+
release = '1.0.1'
2626

2727

2828
# -- General configuration ---------------------------------------------------

doc/rtd/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
mlpro[full]
22
pygame>=2.1.3
33
pymunk>=6.4.0
4-
pettingzoo>=1.22.3
4+
pettingzoo>=1.25.0
55

66
sphinxcontrib-napoleon
77
sphinx-copybutton

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
mlpro[full]>=1.4.0
22
pygame>=2.1.3
33
pymunk>=6.4.0
4-
pettingzoo>=1.22.3
4+
pettingzoo>=1.25.0

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = mlpro-int-pettingzoo
3-
version = 1.0.0
3+
version = 1.0.1
44
author = MLPro Team
55
author_email = mlpro@listen.fh-swf.de
66
description = MLPro: Integration PettingZoo
@@ -29,5 +29,5 @@ full =
2929
mlpro[full]>=1.4.0
3030
pygame>=2.1.3
3131
pymunk>=6.4.0
32-
pettingzoo>=1.22.3
32+
pettingzoo>=1.25.0
3333

src/mlpro_int_pettingzoo/wrappers/basics.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
from mlpro.wrappers import Wrapper
6666
from mlpro.rl import *
6767
from pettingzoo import AECEnv
68-
from pettingzoo.utils import agent_selector
68+
from pettingzoo.utils import AgentSelector
6969
from pettingzoo.utils import wrappers
7070

7171

@@ -487,7 +487,7 @@ def reset(self, seed, options):
487487

488488
self._mlpro_env.reset(seed)
489489

490-
self._agent_selector = agent_selector(self.agents)
490+
self._agent_selector = AgentSelector(self.agents)
491491
self.agent_selection = self._agent_selector.next()
492492

493493

@@ -506,4 +506,4 @@ def render(self, mode='human'):
506506

507507
## -------------------------------------------------------------------------------------------------
508508
def close(self):
509-
self._mlpro_env.__del__()
509+
self._mlpro_env.__del__()

src/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
setup(name='mlpro-int-pettingzoo',
5-
version='1.0.0',
5+
version='1.0.1',
66
description='MLPro: Integration PettingZoo',
77
author='MLPro Team',
88
author_mail='mlpro@listen.fh-swf.de',
@@ -15,7 +15,7 @@
1515
"mlpro[full]>=1.4.0",
1616
"pygame>=2.1.3",
1717
"pymunk>=6.4.0",
18-
"pettingzoo>=1.22.3"
18+
"pettingzoo>=1.25.0"
1919
],
2020
},
2121

0 commit comments

Comments
 (0)