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

Basic GraalPy Support #3247

Merged
merged 25 commits into from
Mar 25, 2024
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
449c27b
graalpy: recognize graalpy implementation when building
timfel Mar 16, 2023
9c35db2
graalpy: global Ellipse, None, NotImplemented, True, and False are on…
timfel Jun 8, 2023
2fe0059
graalpy: PyObject struct is opaque, use functions for everything
timfel Jun 8, 2023
7cca2e3
graalpy: missing many of the same functions as pypy
timfel Jun 8, 2023
e1f8df1
graalpy: do not have 128bit conversion functions
timfel Jun 8, 2023
7acf947
graalpy: add functions for datetime accessor macros
timfel Jun 7, 2023
007d4de
graalpy: add implementations for list macro functions
timfel Jun 7, 2023
ab05a9d
graalpy: skip tuple macros
timfel Jun 7, 2023
04337a8
graalpy: always use extern Py_CompileString function
timfel Jun 9, 2023
47d0abf
graalpy: disable assertion that does not apply to graalpy
timfel Jun 9, 2023
a0d5c9c
graalpy: floatobject structure is opaque on graalpy
timfel Sep 15, 2023
ce6e84a
graalpy: ignore gc dependent test
timfel Sep 15, 2023
6c68cd4
graalpy: add CI config
timfel Oct 11, 2023
e42f1a4
graalpy: run rust fmt
timfel Oct 12, 2023
21da565
graalpy: add changelog entry
timfel Oct 12, 2023
ed84116
graalpy: discover interpreter on PATH
timfel Oct 12, 2023
86617f0
graalpy: interpreter id is not applicable to graalpy (just like pypy)
timfel Oct 12, 2023
26a0521
graalpy: skip tests that cannot work on GraalPy
timfel Oct 12, 2023
1584ec3
graalpy: fix constructing normalized Err instances
timfel Oct 13, 2023
e56e4d3
graalpy: correct capi library name, but skip rust tests due to missin…
timfel Oct 13, 2023
04619be
graalpy: no support for C extensions on windows in latest release
timfel Oct 13, 2023
d6b2fe8
graalpy: declare support versions
timfel Mar 18, 2024
1f505e1
graalpy: frame, code, method, and function objects access from C API …
timfel Mar 22, 2024
366a3b2
graalpy: take care only to expose C structure that GraalPy allocates
timfel Mar 22, 2024
c5ae4c7
graalpy: Bail out if graalpy version is less than what we support
timfel Mar 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
graalpy: correct capi library name, but skip rust tests due to missin…
…g symbols
timfel committed Mar 25, 2024
commit e56e4d30890ef91148a859c146764d1e877c043a
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -66,6 +66,7 @@ jobs:
run: nox -s docs

- name: Build (no features)
if: ${{ !startsWith(inputs.python-version, 'graalpy') }}
run: cargo build --lib --tests --no-default-features

# --no-default-features when used with `cargo build/test -p` doesn't seem to work!
@@ -86,6 +87,7 @@ jobs:
cargo test --no-default-features

- name: Build (all additive features)
if: ${{ !startsWith(inputs.python-version, 'graalpy') }}
run: cargo build --lib --tests --no-default-features --features "full ${{ inputs.extra-features }}"

- if: ${{ startsWith(inputs.python-version, 'pypy') }}
2 changes: 1 addition & 1 deletion pyo3-build-config/src/impl_.rs
Original file line number Diff line number Diff line change
@@ -1588,7 +1588,7 @@ fn default_lib_name_unix(
format!("pypy{}-c", version.major)
}
}
PythonImplementation::GraalPy => format!("graalpy{}.{}", version.major, version.minor),
PythonImplementation::GraalPy => "python-native".to_string(),
}
}