-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
copr-frontend built failed after upgrading python3.11 #3637
Comments
That's strange. We regularly rebuild the packages and didn't notice this. I just submitted I didn't test specifically for Python 3.11 but it worked fine for Python 3.12 (F40) and Python 3.13 (F41) |
The root cause: the logs below maybe show the magic: + [[ /usr/bin/python3 =~ - ]]
+ clamp_source_mtime /usr/bin/python3 /builddir/build/BUILD/copr-frontend-2.1-build/BUILDROOT/usr/share/copr/coprs_frontend/tests
+ python_binary='env /usr/bin/python3'
+ bytecode_compilation_path=/builddir/build/BUILD/copr-frontend-2.1-build/BUILDROOT/usr/share/copr/coprs_frontend/tests
+ PYTHONPATH=/usr/lib/rpm/redhat
+ env /usr/bin/python3 -s -B -m clamp_source_mtime /builddir/build/BUILD/copr-frontend-2.1-build/BUILDROOT/usr/share/copr/coprs_frontend/tests
Listing '/builddir/build/BUILD/copr-frontend-2.1-build/BUILDROOT/usr/share/copr/coprs_frontend/tests'...
Can't list '/builddir/build/BUILD/copr-frontend-2.1-build/BUILDROOT/usr/share/copr/coprs_frontend/tests'
++ /usr/bin/python3 -c 'import sys; sys.stdout.write('\''{0.major}{0.minor}'\''.format(sys.version_info))'
+ python_version=313
+ '[' 313 -ge 39 ']'
+ py39_byte_compile /usr/bin/python3 /builddir/build/BUILD/copr-frontend-2.1-build/BUILDROOT/usr/share/copr/coprs_frontend/tests
+ python_binary='env PYTHONHASHSEED=0 /usr/bin/python3'
+ bytecode_compilation_path=/builddir/build/BUILD/copr-frontend-2.1-build/BUILDROOT/usr/share/copr/coprs_frontend/tests
+ env PYTHONHASHSEED=0 /usr/bin/python3 -s -B -m compileall -j4 -o 0 -o 1 -s /builddir/build/BUILD/copr-frontend-2.1-build/BUILDROOT -p / --hardlink-dupes --invalidation-mode=timestamp /builddir/build/BUILD/copr-frontend-2.1-build/BUILDROOT/usr/share/copr/coprs_frontend/tests
Listing '/builddir/build/BUILD/copr-frontend-2.1-build/BUILDROOT/usr/share/copr/coprs_frontend/tests'...
Can't list '/builddir/build/BUILD/copr-frontend-2.1-build/BUILDROOT/usr/share/copr/coprs_frontend/tests' seems Fedora shipped a |
here's two different build log:
the succeed log
the failed log
after some investigate, seems the py_compile command line change the behavior
in
python3.9
in
python3.11
The text was updated successfully, but these errors were encountered: