Bug 2507024 - Rebuild python-xmlsec with Python 3.15.0b4+
Summary: Rebuild python-xmlsec with Python 3.15.0b4+
Keywords:
Status: NEW
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-08-17 11:01 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
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)


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