Skip to content

Conversation

@gadomski
Copy link
Collaborator

@gadomski gadomski commented Oct 31, 2025

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:

  • I've manually triggered a run of the wheels workflow to check that
  • We'll need to update the rules when this is approved, as we're changing CI names

The wheel from the Python build looks good on my mac:

$ uv pip install ~/Downloads/cql2-0.4.0-cp311-abi3-macosx_11_0_arm64.whl
$ python --version
Python 3.12.6
$ cql2 --help
Command line interface for Common Query Language (CQL2)
--- >8 ---

@gadomski gadomski self-assigned this Oct 31, 2025
@gadomski gadomski requested a review from kylebarron October 31, 2025 11:56

#[cfg(test)]
use {assert_json_diff as _, rstest as _};
use {::duckdb as _, assert_json_diff as _, rstest as _};
Copy link
Collaborator Author

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]
Copy link
Collaborator Author

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.

@gadomski gadomski merged commit 66fde58 into main Oct 31, 2025
5 checks passed
@gadomski gadomski deleted the issues/93-wheels branch October 31, 2025 14:23
[project]
name = "cql2"
requires-python = ">=3.9"
requires-python = ">=3.11"
Copy link
Member

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

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?

@kylebarron
Copy link
Member

Sorry for being slow 😛

@gadomski
Copy link
Collaborator Author

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.

@gadomski gadomski mentioned this pull request Oct 31, 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.

4 participants