Bug 2507024 - Rebuild python-xmlsec with Python 3.15.0b4+ [NEEDINFO]
Summary: Rebuild python-xmlsec with Python 3.15.0b4+
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-xmlsec
Version: 45
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michel Lind
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F45FTBFS F46FTBFS, RAWHIDEFTBFS PYTHON3.15b4
TreeView+ depends on / blocked
 
Reported: 2026-07-25 09:54 UTC by Miro Hrončok
Modified: 2026-10-06 14:01 UTC (History)
4 users (show)

Fixed In Version: python-xmlsec-1.3.17-10.fc46 python-xmlsec-1.3.17-10.fc45
Clone Of:
Environment:
Last Closed: 2026-09-28 10:07:35 UTC
Type: ---
Embargoed:
mhroncok: needinfo? (michel)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources python-xmlsec pull-request 11 0 None None None 2026-08-25 17:19:20 UTC
Github xmlsec python-xmlsec issues 426 0 None open python-xmlsec-1.3.7 a few tests fails while building with Python3.15 2026-08-01 21:13:10 UTC

Description Miro Hrončok 2026-07-25 09:54:39 UTC
In https://bodhi.fedoraproject.org/updates/FEDORA-2026-2551d0d66b we have shipped Python 3.15.0b4.

All packages that link to libpython or have extension modules should be rebuilt, or they will segfault on import/usage.

Packages using stable ABI might not need a rebuild.

This package was not rebuilt because we were unable to do so.
Please rebuild it with Python 3.15.0b4+ ASAP.

If you are sure this package does not need a rebuild, feel free to close this bugzilla.

Thanks

Comment 1 Miro Hrončok 2026-07-27 16:02:35 UTC
A rawhdie build fails with:

=================================== FAILURES ===================================
_________________ TestCallbacks.test_sign_data_from_callbacks __________________
self = <tests.test_main.TestCallbacks testMethod=test_sign_data_from_callbacks>
result = <TestCaseFunction test_sign_data_from_callbacks>
    def run(self, result=None):
        # run first time
        super().run(result=result)
        if self.iterations == 0:
            return
    
        m_usage = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss
        o_count = gc.get_count()[0]
        m_hits = 0
        o_hits = 0
        for _ in range(self.iterations):
            super().run(result=result)
            m_usage_n = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss
            if m_usage_n > m_usage:
                m_usage = m_usage_n
                m_hits += 1
            o_count_n = gc.get_count()[0]
            if o_count_n > o_count:
                o_count = o_count_n
                o_hits += 1
            del m_usage_n
            del o_count_n
    
        if m_hits > int(self.iterations * 0.8):
            result.buffer = False
            try:
                raise AssertionError('memory leak detected')
            except AssertionError:
                result.addError(self, sys.exc_info())
        if o_hits > int(self.iterations * 0.8):
            result.buffer = False
            try:
>               raise AssertionError('unreferenced objects detected')
E               AssertionError: unreferenced objects detected
tests/base.py:67: AssertionError
_______________ TestCallbacks.test_sign_data_not_first_callback ________________
self = <tests.test_main.TestCallbacks testMethod=test_sign_data_not_first_callback>
result = <TestCaseFunction test_sign_data_not_first_callback>
    def run(self, result=None):
        # run first time
        super().run(result=result)
        if self.iterations == 0:
            return
    
        m_usage = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss
        o_count = gc.get_count()[0]
        m_hits = 0
        o_hits = 0
        for _ in range(self.iterations):
            super().run(result=result)
            m_usage_n = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss
            if m_usage_n > m_usage:
                m_usage = m_usage_n
                m_hits += 1
            o_count_n = gc.get_count()[0]
            if o_count_n > o_count:
                o_count = o_count_n
                o_hits += 1
            del m_usage_n
            del o_count_n
    
        if m_hits > int(self.iterations * 0.8):
            result.buffer = False
            try:
                raise AssertionError('memory leak detected')
            except AssertionError:
                result.addError(self, sys.exc_info())
        if o_hits > int(self.iterations * 0.8):
            result.buffer = False
            try:
>               raise AssertionError('unreferenced objects detected')
E               AssertionError: unreferenced objects detected
tests/base.py:67: AssertionError
=========================== short test summary info ============================
FAILED tests/test_main.py::TestCallbacks::test_sign_data_from_callbacks - Ass...
FAILED tests/test_main.py::TestCallbacks::test_sign_data_not_first_callback
=================== 2 failed, 277 passed, 7 skipped in 0.57s ===================
error: Bad exit status from /var/tmp/rpm-tmp.XjEfii (%check)

Comment 3 Miro Hrončok 2026-09-22 12:25:51 UTC
Please respond.

Comment 4 Fedora Update System 2026-09-28 10:02:52 UTC
FEDORA-2026-4e6c656db1 (python-xmlsec-1.3.17-10.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-4e6c656db1

Comment 5 Fedora Update System 2026-09-28 10:07:35 UTC
FEDORA-2026-4e6c656db1 (python-xmlsec-1.3.17-10.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-09-28 10:15:57 UTC
FEDORA-2026-c2c857bfab (python-xmlsec-1.3.17-10.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-c2c857bfab

Comment 7 Fedora Update System 2026-09-29 01:34:21 UTC
FEDORA-2026-c2c857bfab has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-c2c857bfab`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-c2c857bfab

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-10-06 14:01:31 UTC
FEDORA-2026-c2c857bfab (python-xmlsec-1.3.17-10.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.


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