From 302075a65d2dc4a08db832959213fc82f1eb1175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Fri, 21 Apr 2023 14:27:41 +0200 Subject: [PATCH] Fix bug Py3.11 --- soil/VERSION | 2 +- soil/agents/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/soil/VERSION b/soil/VERSION index 4169d6c..4207305 100644 --- a/soil/VERSION +++ b/soil/VERSION @@ -1 +1 @@ -1.0.0rc1 \ No newline at end of file +1.0.0rc2 \ No newline at end of file diff --git a/soil/agents/__init__.py b/soil/agents/__init__.py index 07e93dd..df2fd15 100644 --- a/soil/agents/__init__.py +++ b/soil/agents/__init__.py @@ -77,7 +77,7 @@ class MetaAgent(ABCMeta): else: defaults[attr] = copy(func) - return super().__new__(mcls=mcls, name=name, bases=bases, namespace=new_nmspc) + return super().__new__(mcls, name, bases, new_nmspc) class BaseAgent(MesaAgent, MutableMapping, metaclass=MetaAgent):