Bug 2099065
Summary: | python-pydata-sphinx-theme: F37FailsToInstall and build: invalid mode: 'rU' passed to open() in bundled gyp | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | python-pydata-sphinx-theme | Assignee: | Jerry James <loganjerry> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | loganjerry |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-pydata-sphinx-theme-0.8.1-3.fc37 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-06-23 22:01:13 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2016048, 2045102, 2045109 |
Description
Miro Hrončok
2022-06-20 09:40:50 UTC
This bugzilla is likely a fallout from the Python 3.11 rebuild. If your package (or some of the dependencies it has) failed to rebuild during the Python 3.11 rebuild, they now fail to install. To fix this, packages need to be rebuilt in Rawhide. We will slowly triage the bugzillas, but we'd appreciate your help. If you know this is blocked by an existing reported build failure or another package not yet rebuilt with Python 3.11, please mark it as such by using the "Depends On"/"Blocks" bugzilla fields. That will help us determine what failures to prioritize. If this is not Python 3.11 related, please remove the PYTHON3.11 blocking tracker. Thank you and sorry for the inconvenience. Let me know if you need any help. Traceback (most recent call last): File "/builddir/build/BUILD/pydata-sphinx-theme-0.8.1/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module> sys.exit(gyp.script_main()) ^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/pydata-sphinx-theme-0.8.1/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_main return main(sys.argv[1:]) ^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/pydata-sphinx-theme-0.8.1/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in main return gyp_main(args) ^^^^^^^^^^^^^^ File "/builddir/build/BUILD/pydata-sphinx-theme-0.8.1/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_main [generator, flat_list, targets, data] = Load( ^^^^^ File "/builddir/build/BUILD/pydata-sphinx-theme-0.8.1/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Load result = gyp.input.Load( ^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/pydata-sphinx-theme-0.8.1/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Load LoadTargetBuildFile( ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/pydata-sphinx-theme-0.8.1/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile build_file_data = LoadOneBuildFile( ^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/pydata-sphinx-theme-0.8.1/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile build_file_contents = open(build_file_path, "rU").read() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid mode: 'rU' while trying to load binding.gyp https://docs.python.org/3.11/whatsnew/3.11.html#changes-in-the-python-api open(), io.open(), codecs.open() and fileinput.FileInput no longer accept 'U' (“universal newline”) in the file mode. This flag was deprecated since Python 3.3. In Python 3, the “universal newline” is used by default when a file is open in text mode. The newline parameter of open() controls how universal newlines works. Thank you for the fix, Miro. You are welcome. |