-
Notifications
You must be signed in to change notification settings - Fork 150
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 hyppo to 0.4.0 #1095
base: main
Are you sure you want to change the base?
Fix hyppo to 0.4.0 #1095
Conversation
With hyppo changing to non commercial, pulling in any version newer than 0.4.0 would be out of the question for anyone operating in a commercial space. I would assert this does not help |
I really do not want to pin to 0.4.0 in perpetuity - in fact I was about to update to the most recent version; i think we have a test failing because of an old version of hyppo. i will check with hyppo to see why they made this change... |
@AlonsoGuevara @daxpryce I checked with JHU and it seems like this license change was intentional but perhaps they didn't fully understand what it meant for downstream stuff... so there's a chance it will be reversed. But regardless, I think we should assume we're stuck with this for the time being. my only request on this PR is could you add a comment to the pyproject.toml (if that's possible) describing why we pinned hyppo? looking forward, I expect someday pinning hyppo will get annoying as python versions/dependencies evolve. i think the future solution should be either dropping hyppo entirely or factoring the code that uses it out into a sub-project (e.g. |
@bdpedigo Thanks for getting back on this. I'll add the note and resubmit for approval |
Another possible option is to add another set of dependencies under optional dependencies (so you would do something like `pip install graspologic[non-commercial]` or something to get hyppo support as is. it would mean any graspologic module that uses hyppo would have to be lazy loaded with a try/catch around failing to pull in hyppo with a warning message about what other deps you would need.
But that's something you *can* do for the future, if the non commercial license is going to stick around for longer than we would like.
…On Wed, Feb 12, 2025, at 10:15 AM, Ben Pedigo wrote:
@AlonsoGuevara <https://github.com/AlonsoGuevara> @daxpryce <https://github.com/daxpryce> I checked with JHU and it seems like this license change was intentional but perhaps they didn't fully understand what it meant for downstream stuff... so there's a chance it will be reversed. But regardless, I think we should assume we're stuck with this for the time being.
my only request on this PR is could you add a comment to the pyproject.toml (if that's possible) describing why we pinned hyppo?
looking forward, I expect someday pinning hyppo will get annoying as python versions/dependencies evolve. i think the future solution should be either dropping hyppo entirely or factoring the code that uses it out into a sub-project (e.g. `graspologic-inference`) which maybe has a more restrictive license. but i understand that that's currently a low priority item for all of us
—
Reply to this email directly, view it on GitHub <#1095 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAG3SU2MICC572QTXOYPHED2POFUXAVCNFSM6AAAAABWUIMMASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJUGUYDEOJQGM>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
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.
lgtm
Hi all - I'm sorry, this was my mistake. I misunderstood something communicated to me, we will update hyppo's license to be MIT, and then the plan is for it to stay there in perpetuity. |
Reference Issues/PRs
What does this implement/fix? Briefly explain your changes.
After 0.4.0 Hyppo changed its license from MIT to PolyForm Noncommercial License 1.0.0
This PR fixes the version to the last MIT licensed release
Any other comments?