https://bugzilla.redhat.com/show_bug.cgi?id=2373979
Bug ID: 2373979 Summary: python3-sssdconfig packs outdated .pyc files Product: Fedora Version: rawhide Status: NEW Component: sssd Assignee: sssd-maintainers@lists.fedoraproject.org Reporter: adelton@fedoraproject.org QA Contact: extras-qa@fedoraproject.org CC: abokovoy@redhat.com, atikhono@redhat.com, lslebodn@redhat.com, pbrezina@redhat.com, sbose@redhat.com, ssorce@redhat.com, sssd-maintainers@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
Reoccurence of bug #2319608:
The /usr/lib/python3.14/site-packages/SSSDConfig/__pycache__/*.cpython-314.pyc /usr/lib/files get regenerated when SSSDConfig module is used.
Reproducible: Always
Steps to Reproduce:
1. dnf install -y python3-sssdconfig 2. stat /usr/lib/python3.14/site-packages/SSSDConfig/__pycache__/__init__.cpython-314.pyc 3. python3 -c 'import SSSDConfig' 4. stat /usr/lib/python3.14/site-packages/SSSDConfig/__pycache__/__init__.cpython-314.pyc
Actual Results:
bash-5.2# stat /usr/lib/python3.14/site-packages/SSSDConfig/__pycache__/__init__.cpython-314.pyc File: /usr/lib/python3.14/site-packages/SSSDConfig/__pycache__/__init__.cpython-314.pyc Size: 59904 Blocks: 120 IO Block: 4096 regular file Device: 0,142 Inode: 1085021 Links: 2 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2025-06-06 00:00:00.000000000 +0000 Modify: 2025-06-06 00:00:00.000000000 +0000 Change: 2025-06-20 05:52:59.146656555 +0000 Birth: 2025-06-20 05:52:59.146512950 +0000 bash-5.2# python3 -c 'import SSSDConfig' bash-5.2# stat /usr/lib/python3.14/site-packages/SSSDConfig/__pycache__/__init__.cpython-314.pyc File: /usr/lib/python3.14/site-packages/SSSDConfig/__pycache__/__init__.cpython-314.pyc Size: 61398 Blocks: 120 IO Block: 4096 regular file Device: 0,142 Inode: 1081628 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2025-06-20 05:53:34.790753836 +0000 Modify: 2025-06-20 05:53:34.792024966 +0000 Change: 2025-06-20 05:53:34.792024966 +0000 Birth: 2025-06-20 05:53:34.790753836 +0000
Expected Results:
The Size and Modify time in the second stat run should match the output from the first one.
First found by https://github.com/freeipa/freeipa-container/actions/runs/15771389975.
https://bugzilla.redhat.com/show_bug.cgi?id=2373979
--- Comment #1 from Lukas Slebodnik lslebodn@redhat.com --- it seems to be related to upgrade of python 3.14 (3.14.0~b2-2.fc43 -> 3.14.0~b3-2.fc43)
bash-5.2# rpm -q python3 python3-libs python3-sssdconfig python3-3.14.0~b2-2.fc43.x86_64 python3-libs-3.14.0~b2-2.fc43.x86_64 python3-sssdconfig-2.11.0-2.fc43.noarch bash-5.2# rpm -V python3 python3-libs python3-sssdconfig bash-5.2# python3 -c 'import SSSDConfig' bash-5.2# rpm -V python3 python3-libs python3-sssdconfig bash-5.2#
bash-5.2# dnf update -y python3 Updating and loading repositories: Repositories loaded. Package Arch Version Repository Size Upgrading: python3 x86_64 3.14.0~b3-2.fc43 rawhide 28.9 KiB replacing python3 x86_64 3.14.0~b2-2.fc43 @commandline 28.9 KiB python3-libs x86_64 3.14.0~b3-2.fc43 rawhide 42.8 MiB replacing python3-libs x86_64 3.14.0~b2-2.fc43 @commandline 44.8 MiB
Transaction Summary: Upgrading: 2 packages Replacing: 2 packages
Total size of inbound packages is 10 MiB. Need to download 10 MiB. After this operation, 2 MiB will be freed (install 43 MiB, remove 45 MiB). [1/2] python3-0:3.14.0~b3-2.fc43.x86_64 100% | 673.5 KiB/s | 26.9 KiB | 00m00s [2/2] python3-libs-0:3.14.0~b3-2.fc43.x 100% | 43.3 MiB/s | 9.8 MiB | 00m00s -------------------------------------------------------------------------------- [2/2] Total 100% | 27.6 MiB/s | 9.8 MiB | 00m00s Running transaction [1/6] Verify package files 100% | 47.0 B/s | 2.0 B | 00m00s [2/6] Prepare transaction 100% | 93.0 B/s | 4.0 B | 00m00s [3/6] Upgrading python3-libs-0:3.14.0~b 100% | 117.8 MiB/s | 43.2 MiB | 00m00s [4/6] Upgrading python3-0:3.14.0~b3-2.f 100% | 1.1 MiB/s | 30.7 KiB | 00m00s [5/6] Removing python3-0:3.14.0~b2-2.fc 100% | 923.0 B/s | 12.0 B | 00m00s [6/6] Removing python3-libs-0:3.14.0~b2 100% | 16.2 KiB/s | 2.3 KiB | 00m00s Complete! bash-5.2# python3 -c 'import SSSDConfig' bash-5.2# rpm -V python3 python3-libs python3-sssdconfig S.5....T. /usr/lib/python3.14/site-packages/SSSDConfig/__pycache__/__init__.cpython-314.pyc S.5....T. /usr/lib/python3.14/site-packages/SSSDConfig/__pycache__/ipachangeconf.cpython-314.pyc ..5....T. /usr/lib/python3.14/site-packages/SSSDConfig/__pycache__/sssdoptions.cpython-314.pyc
python3-sssdconfig-2.11.0-2.fc43.noarch was built with python3-devel 3.14.0~b2-3.fc43 based on root.log * https://kojipkgs.fedoraproject.org//packages/sssd/2.11.0/2.fc43/data/logs/x8...
https://bugzilla.redhat.com/show_bug.cgi?id=2373979
Red Hat One Jira (issues.redhat.com) redhat-one-jira@bot.bugzilla.redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Red Hat Issue Tracker | |FC-1761
https://bugzilla.redhat.com/show_bug.cgi?id=2373979
Andre Boscatto aboscatt@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|sssd-maintainers@lists.fedo |thalman@redhat.com |raproject.org |
https://bugzilla.redhat.com/show_bug.cgi?id=2373979
--- Comment #2 from Tomas Halman thalman@redhat.com --- The bug disappeared with SSSD update but re-appeared again (probably with Fedora mass rebuild).
https://bugzilla.redhat.com/show_bug.cgi?id=2373979
Miro Hrončok mhroncok@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |RAWHIDE CC| |mhroncok@redhat.com Fixed In Version| |sssd-2.11.1-2.fc44 Blocks| |2373702 (PYC3.14rc2) Status|NEW |CLOSED Last Closed| |2025-08-25 10:01:13
--- Comment #3 from Miro Hrončok mhroncok@redhat.com --- This was fixed in the past for the pyc magic bump in Python 3.14.0b3, and now again for 3.14.0rc2.
See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/...
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2373702 [Bug 2373702] Rebuild all packages with .pyc files with Python 3.14.0rc2+
https://bugzilla.redhat.com/show_bug.cgi?id=2373979
--- Comment #4 from Miro Hrončok mhroncok@redhat.com --- During the pre-release of Python, it occasionally happens that all the pyc files in Fedora need to be rebuilt. We, the Python Maintainers, are handling this. There is no need to do anything on individual package levels. However, if this bothers you at any point in the future (e.g. during the Python 3.15 transition), a simple rebuild fixes it.
https://bugzilla.redhat.com/show_bug.cgi?id=2373979
--- Comment #5 from Miro Hrončok mhroncok@redhat.com --- FTR This will happen once more with Python 3.14.0rc3: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/...
sssd-maintainers@lists.fedoraproject.org