Bug 2038922 - python-agate fails to build with Python 3.11: AssertionError: Sequences differ: <agate.rows.Row object at 0x7faa88f39400> != (2, None, None)
Summary: python-agate fails to build with Python 3.11: AssertionError: Sequences diffe...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-agate
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Julien Enselme
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2098808 (view as bug list)
Depends On:
Blocks: 1854664 PYTHON3.11 F37FTBFS F37FailsToInstall 2098874
TreeView+ depends on / blocked
 
Reported: 2022-01-10 14:54 UTC by Tomáš Hrnčiar
Modified: 2022-06-29 13:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-29 12:48:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2022-01-10 14:54:48 UTC
python-agate fails to build with Python 3.11.0a3.

======================================================================
FAIL: test_order_by_nulls (tests.test_table.test_order_py.TestOrderBy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/agate-1.6.1/tests/test_table/test_order_py.py", line 134, in test_order_by_nulls
    self.assertRows(new_table, [
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/agate-1.6.1/agate/testcase.py", line 52, in assertRows
    self.assertSequenceEqual(table.rows[i], row)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Sequences differ: <agate.rows.Row object at 0x7faa88f39400> != (2, None, None)

First differing element 0:
Decimal('1')
2

- <agate.rows.Row object at 0x7faa88f39400>
+ (2, None, None)

----------------------------------------------------------------------
Ran 450 tests in 0.499s

FAILED (SKIP=24, failures=1)

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

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.11/fedora-rawhide-x86_64/03137833-python-agate/

For all our attempts to build python-agate with Python 3.11, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.11/package/python-agate/

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.11:
https://copr.fedorainfracloud.org/coprs/g/python/python3.11/

Let us know here if you have any questions.

Python 3.11 is planned to be included in Fedora 37. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.11.
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 Ben Cotton 2022-02-08 21:13:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 2 Miro Hrončok 2022-06-20 10:16:30 UTC
*** Bug 2098808 has been marked as a duplicate of this bug. ***

Comment 3 Miro Hrončok 2022-06-27 14:53:04 UTC
Hello,

This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs).

If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.

Comment 4 Julien Enselme 2022-06-29 12:48:55 UTC
Update in rawhide with https://bodhi.fedoraproject.org/updates/FEDORA-2022-a9db7c9529


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