-
Notifications
You must be signed in to change notification settings - Fork 418
py3-sphinx/9.1.0 package update #77025
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
Conversation
🔢 Build Failed: Dependency Version Mismatch
Build Details
Root Cause Analysis 🔍The Sphinx package being built requires Python 3.12 or higher, but the build is attempting to use Python 3.11.14. This is a version compatibility issue where the package's minimum Python version requirement is not satisfied by the available Python interpreter. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Similar PRs with fixesSuggested ChangesFile: py3-sphinx.yaml
Replacement: Content:
Replacement: Content: Click to expand fix analysisAnalysisThe similar fix shows a clear pattern: when a package drops support for older Python versions, the build configuration must be updated to remove the unsupported Python versions from the py-versions data section and from all related subpackage dependencies. In the Django example, Python 3.10 and 3.11 were removed when Django 6.0 required Python 3.12+. The current Sphinx failure follows the same pattern - Sphinx 9.1.0 has dropped Python 3.11 support according to the changelog (#14153: Drop Python 3.11 support), but the build configuration still includes Python 3.11 in the py-versions data. Click to expand fix explanationExplanationThis fix addresses the root cause of the build failure by aligning the build configuration with Sphinx 9.1.0's actual Python version requirements. The error occurs because the build system is trying to build Sphinx for Python 3.11, but Sphinx 9.1.0 explicitly dropped Python 3.11 support (as noted in the changelog: '#14153: Drop Python 3.11 support'). By removing Python 3.11 from the py-versions data, the build system will no longer attempt to create a py3.11-sphinx package, eliminating the version compatibility error. The meta package dependencies are also updated to only include the actually supported Python versions (3.12 and 3.13), ensuring consistency across the package definition. This approach follows the exact same pattern used successfully in the Django fix, where unsupported Python versions were removed from both the py-versions data and the meta package dependencies. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
Commit: cc7c6f435ad37bb12264f8118c8461b230e6830c