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

fix julia package versioning, bump finch/juliapkg #91

Merged
merged 4 commits into from
Mar 2, 2025
Merged

Conversation

willow-ahrens
Copy link
Collaborator

This follows the docs for pyjuliapkg a little better. Note the discussion in JuliaPy/pyjuliapkg#45 about why the old behavior was not thread safe. I believe this should work better. I think this should fix pydata/sparse#767 because of the aforementioned fix to pyjuliapkg. This would remove support for envvars that dictate the version of Finch to use, in favor of modifying the juliapkg.json file. I don't think this is that much more or less convenient than the old solution, but it is correct with how the maintainer of pyjuliapkg expected the system to be used.

@willow-ahrens willow-ahrens requested a review from mtsokol March 1, 2025 02:26
@mtsokol mtsokol merged commit 3c4cf69 into main Mar 2, 2025
5 checks passed
@mtsokol mtsokol deleted the wma/bump-finch branch March 2, 2025 16:26
import juliacall as jc # noqa

juliapkg.resolve()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@willow-ahrens For the pydata/sparse notebook job that is failing with missing dependencies, maybe we should we have juliapkg.resolve() here? https://github.com/pydata/sparse/actions/runs/13648682369

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. It's strange that tests pass here but fail there. It may be that resolve is only called on the first instance of loading juliacall, so if pydatasparse imports juliacall and then imports finch later, resolve doesn't get called with the new deps.

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.

2 participants