-
Notifications
You must be signed in to change notification settings - Fork 2
feat: build abi3 wheels #94
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
Conversation
8423370 to
73c37c3
Compare
|
|
||
| #[cfg(test)] | ||
| use {assert_json_diff as _, rstest as _}; | ||
| use {::duckdb as _, assert_json_diff as _, rstest as _}; |
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.
This import became required in rustc v1.91 ... we use the crate in an integration test, but I guess v1.91 doesn't pick that up?
|
|
||
| [tool.uv] | ||
| dev-dependencies = [ | ||
| [dependency-groups] |
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.
This was throwing a warning.
| [project] | ||
| name = "cql2" | ||
| requires-python = ">=3.9" | ||
| requires-python = ">=3.11" |
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.
Are you ok skipping 3.10 as well?
| with: | ||
| target: ${{ matrix.platform.target }} | ||
| args: --release --out dist --find-interpreter | ||
| args: --release --out dist -i 3.11 -F pyo3/abi3-py311 |
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.
IMO it's slightly nicer to put the feature flag into Cargo.toml
Is there a feature in py3.11 that you need? Or you wanted to bump past 3.10 anyways?
|
Sorry for being slow 😛 |
|
Nah you're good, let's fix it up. I just copy-pastad from rustac-py, not thinking that 3.10 would work w/ ABI. I'll open a follow-on. |
xref #93, but we need to do a release before that issue can be considered fixed. Includes some sidecar cleanups, including testing against a Python matrix.
Other notes:
The wheel from the Python build looks good on my mac: