Bug 2280967 - python-patsy fails to build with Python 3.13: test_EvalEnvironment_eq: AssertionError
Summary: python-patsy fails to build with Python 3.13: test_EvalEnvironment_eq: Assert...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-patsy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sergio Pascual
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2291835 (view as bug list)
Depends On:
Blocks: F41FTBFS F41FailsToInstall PYTHON3.13 2291683 2291685 2291840 2291843 2291926
TreeView+ depends on / blocked
 
Reported: 2024-05-17 12:12 UTC by Karolina Surma
Modified: 2024-06-15 10:07 UTC (History)
6 users (show)

Fixed In Version: python-patsy-0.5.6-5.fc41
Clone Of:
Environment:
Last Closed: 2024-06-15 10:07:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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. ***


Note You need to log in before you can comment on or make changes to this bug.