Repository navigation
[python] - Fedora test fix - #1768
Open
Kaniska (v-Kaniska244) wants to merge 3 commits into
Open
Kaniska (v-Kaniska244) wants to merge 3 commits into
Kaniska (v-Kaniska244) wants to merge 3 commits into
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
CPython 3.8/3.9 ignore --with-openssl-rpath, leaving private OpenSSL libraries undiscoverable and causing installation to fail on Fedora without OpenSSL 3 compatibility libraries unless the runtime path is also set through LDFLAGS.
1 open issue
What changed in this PR
Updates the Python feature to address Fedora installation failures involving OpenSSL compatibility and additional-version handling.
Changes:
- Adds a private OpenSSL 3 fallback on Fedora systems using OpenSSL 4, plus an SSL import check.
- Limits comma splitting to parsing
additionalVersionsand documents the behavior. - Updates additional-version tests to Python 3.12–3.14 and bumps the feature to 1.8.1.
| File | Description |
|---|---|
test/python/scenarios.json |
Updates additional Python versions in the test scenario. |
test/python/alternatives_switchable_versions.sh |
Matches installation checks to Python 3.12–3.14. |
src/python/NOTES.md |
Documents scoped comma splitting for additional versions. |
src/python/install.sh |
Adds Fedora OpenSSL handling and fixes list parsing. |
src/python/devcontainer-feature.json |
Bumps the feature version to 1.8.1. |
Review effort: Balanced
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Kaniska (v-Kaniska244)
marked this pull request as ready for review
November 6, 2026 15:20
| make -j 8 | ||
| make install | ||
|
|
||
| if [ "${ID}" = "fedora" ]; then |
Contributor
There was a problem hiding this comment.
Is this for debugging? I guess we can remove it now?
Abdurrahmaan Iqbal (abdurriq)
approved these changes
Nov 6, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
IFSchanges when parsingadditionalVersions.1.8.1.Changes
Fedora OpenSSL handling
Fedora systems with OpenSSL 4 may not provide the OpenSSL 3 compatibility libraries required by older Python source builds. This can cause Python’s
_sslmodule to fail at runtime.For Fedora systems using OpenSSL 4 or newer, the installer now:
perl-corepackage.sslafter installation.Other distributions and Fedora systems using earlier OpenSSL versions retain the existing installation behavior.
Additional Python versions
Parsing of the comma-separated
additionalVersionsoption now uses a command-scopedIFSassignment. This prevents the global shell field separator from affecting later package-manager commands and other shell operations.The test scenario now installs and verifies Python 3.12, 3.13, and 3.14 as additional switchable versions.
Validation
The following checks are passing: