-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add GraalPy support #2832
Add GraalPy support #2832
Conversation
_fast_get_system_executable doesn't have side effects, so it was merely asserting that the system python executable ends with a version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems the CI is failing, you'll need to address those, can check that on your forks actions, will mark it as draft until then.
@@ -44,7 +45,8 @@ def abs_path(v): | |||
|
|||
# this is a tuple in earlier, struct later, unify to our own named tuple | |||
self.version_info = VersionInfo(*sys.version_info) | |||
self.architecture = 64 if sys.maxsize > 2**32 else 32 | |||
# see https://github.com/pypa/packaging/pull/711 why we calculate architecture this way |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explain it here rather than link it.
if IS_PYPY or (IS_WIN and sys.version_info[0:2] >= (3, 13)): # https://github.com/adamchainz/time-machine/issues/456 | ||
if ( | ||
IS_PYPY or IS_GRAALPY or (IS_WIN and sys.version_info[0:2] >= (3, 13)) | ||
): # https://github.com/adamchainz/time-machine/issues/456 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can be now changed to just IS_PYPY or IS_GRAALPY
as the issue has been fixed for Windows in the meantime.
seems it's stalled we can reopen when you restart work on it. |
Add support for creating GraalPy virtualenvs and add GraalPy to the CI. The added code mostly mirrors PyPy3 implementation.
CC @timfel