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

Add GraalPy support #2832

Closed
wants to merge 5 commits into from
Closed

Add GraalPy support #2832

wants to merge 5 commits into from

Conversation

msimacek
Copy link

Add support for creating GraalPy virtualenvs and add GraalPy to the CI. The added code mostly mirrors PyPy3 implementation.

CC @timfel

timfel and others added 5 commits January 24, 2025 13:43
_fast_get_system_executable doesn't have side effects, so it was merely
asserting that the system python executable ends with a version
Copy link
Contributor

@gaborbernat gaborbernat left a 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
Copy link
Contributor

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
Copy link
Contributor

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.

tox.ini Show resolved Hide resolved
@gaborbernat gaborbernat marked this pull request as draft January 24, 2025 16:35
@gaborbernat
Copy link
Contributor

seems it's stalled we can reopen when you restart work on it.

@gaborbernat gaborbernat closed this Feb 4, 2025
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.

3 participants