Bug 2280967

Summary: python-patsy fails to build with Python 3.13: test_EvalEnvironment_eq: AssertionError
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-patsyAssignee: Sergio Pascual <sergio.pasra>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fti-bugs, gui1ty, ksurma, mhroncok, neuro-sig, sergio.pasra
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-patsy-0.5.6-5.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-15 10:07:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2260875, 2260877, 2244836, 2291683, 2291685, 2291840, 2291843, 2291926    

Description Karolina Surma 2024-05-17 12:12:56 UTC
python-patsy fails to build with Python 3.13.0b1.

=================================== FAILURES ===================================
___________________________ test_EvalEnvironment_eq ____________________________

    def test_EvalEnvironment_eq():
        # Two environments are eq only if they refer to exactly the same
        # global/local dicts
        env1 = EvalEnvironment.capture(0)
        env2 = EvalEnvironment.capture(0)
>       assert env1 == env2
E       assert <patsy.eval.EvalEnvironment object at 0x7f0c61402090> == <patsy.eval.EvalEnvironment object at 0x7f0c614031d0>

patsy/eval.py:414: AssertionError
=========================== short test summary info ============================
FAILED patsy/eval.py::test_EvalEnvironment_eq - assert <patsy.eval.EvalEnviro...
======================== 1 failed, 147 passed in 27.90s ========================

https://docs.python.org/3.13/whatsnew/3.13.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/07449516-python-patsy/

For all our attempts to build python-patsy with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-patsy/

Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.13:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/

Let us know here if you have any questions.

Python 3.13 is planned to be included in Fedora 41.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Karolina Surma 2024-06-12 15:05:17 UTC
*** Bug 2291835 has been marked as a duplicate of this bug. ***