-
Notifications
You must be signed in to change notification settings - Fork 12
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
Handling of default-members field in Cargo.toml #527
Comments
🤔 thanks for flagging @weiji14. It looks like it should be as simple as removing There's a couple of other slightly-awkward things about including stacrs (Python) in the same monorepo as all the Rust crates — e.g. as currently configured, I can release a new stacrs version from unreleased Rust code. That was nice during All that to say, I think I'm going to move stacrs to its own repo and release v0.2.3 from there, which should clean up your issue (and many others). Standby. |
@weiji14 just released https://pypi.org/project/stacrs/0.3.0/, and was able to build from the sdist, so hopefully you're good to go 🤞🏼. Please re-open if that's not the case! |
Yep, the initial issue with There's still some build errors I need to fix at conda-forge/staged-recipes#28293, but they seem to be related to compiling libduckdb-sys, so I'll try and figure that out separately. |
Hi @gadomski,
I'm working on packaging stacrs on PyPI for conda-forge, and am encountering an issue when running cargo-bundle-licenses (see details at conda-forge/staged-recipes#28293 (comment)). It seems that what is packaged in the sdist ("crates/api", "crates/core", "crates/extensions") is less than what is listed under
default-members
fieldSpecifically, here's what's in the Cargo.toml file:
Version from tag
python-v0.2.2
:stac-rs/Cargo.toml
Lines 13 to 18 in d13c0f4
More recent version on main, commit bc62c87 has more than four:
stac-rs/Cargo.toml
Lines 15 to 22 in bc62c87
I'm aware that
crates/cli
is separately packaged at https://pypi.org/project/stacrs-cli/, so it probably won't make sense to includecrates/cli
in thestacrs
PyPI package. Not sure if it would be ok to removecrate/cli
from default-members, or if this would need to be handled on maturin itself (PyO3/maturin#2046)?The text was updated successfully, but these errors were encountered: