-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
build(python): Correctly reference released package in optional dependencies #17691
Conversation
…dencies This change ensures that during the release, `pyproject.toml` contains the name of the released package. This way, we avoid bringing in `polars` package when one installs other package types with optional dependencies. Fixes pola-rs#14301
@ritchie46 Could you please take a look at this PR? I know the title is not the most telling, but this fixes a problem when someone installs |
@stinodego can you take a look here? |
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.
Thanks for the PR. If you address my one comment below, this should indeed work and fix the related issue. If you can push the update I'll approve this.
Still, this is a bit of a band-aid fix and I would appreciate it if we could subsequently prioritize addressing #12880 to properly fix the issue of using alternative Polars packages as dependencies.
I can try tackling this issue, but I can't promise it'll be done in the next 2 weeks. |
We first need to decide how to approach it. There doesn't seem to be a great way to do it as far as I can see. |
This change ensures that during the release,
pyproject.toml
contains the name of the released package. This way, we avoid bringing inpolars
package when one installs other package types (likepolars-u64-idx
) with optional dependencies.Fixes #14301