Skip to content
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

[v2] Add support for Python 3.13 #9391

Open
wants to merge 15 commits into
base: v2
Choose a base branch
from
Open

[v2] Add support for Python 3.13 #9391

wants to merge 15 commits into from

Conversation

hssyoo
Copy link
Contributor

@hssyoo hssyoo commented Mar 21, 2025

Adds support for Python 3.13 and updates the bundled Python interpreter in installers to 3.13.2.

  • Due to dependency conflicts, Python 3.8 support needs to be dropped.
  • Upgrade ruamel.yaml.clib to 0.2.12 for Python 3.13 support.
  • Remove explicit dependency on zipp since the latest version supports Python 3.9+.
  • Some packages installed from source will have their site packages directories replace . with _. This causes some dependency tests to fail because it'll make an assertion like assert ruamel.yaml.clib == ruamel_yaml_clib. If it fails, we normalize the package name and try 1 more time.
  • Python 3.13 no longer considers / an absolute path in Windows, which is what os.path.sep returns. For tests, we wrap it in os.path.abspath, converting it to C://.

@hssyoo hssyoo self-assigned this Mar 21, 2025
@AlexandreEXFO
Copy link

AlexandreEXFO commented Mar 24, 2025

Issue: #9234

@hssyoo hssyoo closed this Mar 26, 2025
@hssyoo hssyoo reopened this Mar 26, 2025
hssyoo added 2 commits April 1, 2025 13:44
@hssyoo hssyoo marked this pull request as ready for review April 2, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants