git: 44058fa9c71b - main - irc/py-limnoria: Mark as not compatible with Python 3.10+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Dec 2021 09:14:15 UTC
The branch main has been updated by kai:
URL: https://cgit.FreeBSD.org/ports/commit/?id=44058fa9c71b7d9243a208d2d3ec8b8073686d57
commit 44058fa9c71b7d9243a208d2d3ec8b8073686d57
Author: Simeon Simeonov <sgs@pichove.org>
AuthorDate: 2021-12-01 09:02:37 +0000
Commit: Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2021-12-01 09:02:37 +0000
irc/py-limnoria: Mark as not compatible with Python 3.10+
Since Python 3.10 the method "collections.MutableMapping" has been
renamed to "collections.abc.MutableMapping" which leads to run time
errors:
[..]
class CacheDict(collections.MutableMapping):
AttributeError: module 'collections' has no attribute 'MutableMapping'
[..]
PR: 259979
Reviewed by: koobs (maintainer)
Approved by: portmgr (blanket)
MFH: 2021Q4
---
irc/py-limnoria/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/irc/py-limnoria/Makefile b/irc/py-limnoria/Makefile
index 74d89409dbed..7537894836cb 100644
--- a/irc/py-limnoria/Makefile
+++ b/irc/py-limnoria/Makefile
@@ -17,7 +17,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=0:textproc/py-feedparser@${PY_F
${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
-USES= cpe python:3.6+
+USES= cpe python:3.6-3.9
CPE_VENDOR= ${PORTNAME}_project
USE_GITHUB= yes
USE_PYTHON= autoplist concurrent distutils