-
Notifications
You must be signed in to change notification settings - Fork 650
Add experimental support for Python 3.13t #5884
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
702191a
5974ebd
dbdd563
5f8ad47
2cf5631
716e59a
0a25134
e317daf
8cff793
2e64f37
d66c8e8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,7 +31,7 @@ RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/ | |
| python3.10 python3.10-dev \ | ||
| python3.11 python3.11-dev \ | ||
| python3.12 python3.12-dev \ | ||
| python3.13 python3.13-dev && \ | ||
| python3.13 python3.13-dev python3.13-nogil && \ | ||
JanuszL marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| apt-key adv --fetch-key http://repo.download.nvidia.com/jetson/jetson-ota-public.asc && \ | ||
| add-apt-repository 'deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/cross-linux-aarch64/ /' && \ | ||
| apt-get update && \ | ||
|
|
@@ -97,6 +97,7 @@ RUN /bin/bash -c 'DALI_DEPS_VERSION_SHA=${DALI_DEPS_VERSION_SHA:-$(cat /tmp/DALI | |
| /tmp/dali_deps/build_scripts/build_deps.sh && rm -rf /tmp/dali_deps && rm -rf /tmp/DALI_DEPS_VERSION' | ||
|
|
||
| # hack - install cross headers in the default python paths, so host python3-config would point to them | ||
| # free-threaded sources are included in 3.13.0 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Headers are indeed shared between 3.13.x and 3.13.xt but pyconfig.h is generated at build-time and differs. Can this be an issue here?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. L105 should generate these configs. But I would give it a go and check how it works.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. L105 will generate a pyconfig.h for 3.13 with GIL enabled, in which
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So both python3.13t-config and python3.13-config will use the same config?
it just links to |
||
| RUN export PYVERS="3.8.5 3.9.0 3.10.0 3.11.0 3.12.0 3.13.0" && \ | ||
| for PYVER in ${PYVERS}; do \ | ||
| cd /tmp && (curl -L https://www.python.org/ftp/python/${PYVER}/Python-${PYVER}.tgz | tar -xzf - || exit 1) && \ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.