Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GH-127178: improve compatibility in_sysconfig_vars_(...).json#128558

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
FFY00 merged 4 commits intopython:mainfromFFY00:gh-127178-improve-compatibility
Jan 29, 2025

Conversation

FFY00
Copy link
Member

@FFY00FFY00 commentedJan 6, 2025
edited
Loading

This patch improves environment and platform compatibility:

  • Data now matchessysconfig.get_config_vars after install
  • userbase now correctly reflects the target platform when cross-compiling
  • test_sysconfigdata_json now takes into account the following situations:
    • Running with a non-defaultsys.executable path
    • Running under virtual environments
    • Running under relocatable installs

To simplify the detection of relocatable installs, which needs to look at_sysconfigdata_(...), this module is now saved insys.modules. As part of this change, the code to import the module from a specific directory was refactored to usePathFinder, simplifying the implementation.

Signed-off-by: Filipe Laíns <lains@riseup.net

This patch improves environment and platform compatibility- Data now matches `sysconfig.get_config_vars` after install- `userbase` now correctly reflects the target platform when cross-compiling- `test_sysconfigdata_json` now takes into account the following situations:  - Running with a non-default sys.executable path  - Running under virtual environments  - Running under relocatable installsTo simplify the detection of relocatable installs, which needs to lookat `_sysconfigdata_(...)`, this module is now saved in `sys.modules`.As part of this change, the code to import the module from a specificdirectory was refactored to use `PathFinder`, simplifying theimplementation.Signed-off-by: Filipe Laíns <lains@riseup.net
@FFY00FFY00 added the 🔨 test-with-buildbotsTest PR w/ buildbots; report in status section labelJan 6, 2025
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by@FFY00 for commitb72a436 🤖

If you want to schedule another build, you need to add the🔨 test-with-buildbots label again.

@bedevere-botbedevere-bot removed the 🔨 test-with-buildbotsTest PR w/ buildbots; report in status section labelJan 6, 2025
…rs() dependencySigned-off-by: Filipe Laíns <lains@riseup.net
@FFY00FFY00 added the 🔨 test-with-buildbotsTest PR w/ buildbots; report in status section labelJan 6, 2025
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by@FFY00 for commit396ac89 🤖

If you want to schedule another build, you need to add the🔨 test-with-buildbots label again.

@bedevere-botbedevere-bot removed the 🔨 test-with-buildbotsTest PR w/ buildbots; report in status section labelJan 6, 2025
@FFY00FFY00 merged commitc931d75 intopython:mainJan 29, 2025
37 checks passed
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull requestFeb 7, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@FFY00@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp