[Debian-med-packaging] Bug#1022048: patsy: FTBFS with Python 3.11 as a supported version
Graham Inggs
ginggs at debian.org
Wed Oct 19 14:26:05 BST 2022
Source: patsy
Version: 0.5.2-2
Severity: important
Tags: ftbfs fixed-upstream
User: debian-python at lists.debian.org
Usertags: python3.11
Control: affects -1 src:statsmodels
Hi Maintainer
patsy will FTBFS once Python 3.11 is added as a supported version.
I've copied what I hope is the relevant part of the log below. This
appears to be fixed in the upstream 0.5.3 release.
You can verify this by installing python3.11 from testing or unstable
and adding the following line to debian/rules:
export DEBPYTHON3_SUPPORTED=3.10,3.11
This affects at least statsmodels in dependency level 6 of the Python
3.11 transition (#1021984).
Regards
Graham
==================================== ERRORS ====================================
_______ ERROR collecting .pybuild/cpython3_3.11/build/patsy/__init__.py ________
patsy/__init__.py:77: in <module>
import patsy.highlevel
<frozen importlib._bootstrap>:1178: in _find_and_load
???
<frozen importlib._bootstrap>:1149: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:690: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:168: in exec_module
exec(co, module.__dict__)
patsy/highlevel.py:19: in <module>
from patsy.design_info import DesignMatrix, DesignInfo
<frozen importlib._bootstrap>:1178: in _find_and_load
???
<frozen importlib._bootstrap>:1149: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:690: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:168: in exec_module
exec(co, module.__dict__)
patsy/design_info.py:38: in <module>
from patsy.desc import ModelDesc, Term
<frozen importlib._bootstrap>:1178: in _find_and_load
???
<frozen importlib._bootstrap>:1149: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:690: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:168: in exec_module
exec(co, module.__dict__)
patsy/desc.py:14: in <module>
from patsy.eval import EvalEnvironment, EvalFactor
<frozen importlib._bootstrap>:1178: in _find_and_load
???
<frozen importlib._bootstrap>:1149: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:690: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:168: in exec_module
exec(co, module.__dict__)
patsy/eval.py:36: in <module>
_ALL_FUTURE_FLAGS = _all_future_flags()
patsy/eval.py:32: in _all_future_flags
if feature.getMandatoryRelease() > sys.version_info:
E TypeError: '>' not supported between instances of 'NoneType' and
'sys.version_info'
More information about the Debian-med-packaging
mailing list