-
Notifications
You must be signed in to change notification settings - Fork 21
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
Can't install latest cabinetry on top of pyhf master (or pyhf 0.7.0.rc1) #344
Comments
Hi @lhenkelm, sorry for the delay here! I would propose that I merge #301 and simultaneously raise the requirement to Supporting I think merging the #301 is safer than just relaxing the requirements on master, as that would introduce at least one bug I can spontaneously think of in yield uncertainty calculations due to the API changes that are coming in the next |
Thanks for the temporary fix @alexander-held! You are probably already aware of it, but just in case, here is an excellent post discussing the downsides of pinning dependencies in libraries. |
Yes, Henry's blog post is great! I view pinning to the Please feel free to bring up this topic again if it causes problems in the future. |
... because cabinetry 0.4.1 pins pyhf as
pyhf[minuit]~=0.6.3
.It would be great if this could be relaxed to
pyhf[minuit]>=0.6.3
,as the known incompatibilities do not break my usage of cabinetry.
In general, when using cabinetry as a library, I'd rather discover that I need to manually cap pyhf when upgrading if a known incompatibility affects some feature of cabinetry I rely on, than be unable to install my project from scratch.
E.g. when installing all dependencies from scratch and requesting pyhf master, cabinetry 0.4.1, pip gives:
When upgrading on top of an old environment (from before the pyhf release candidate "renamed" the version pip assigns the head of the pyhf master branch from 0.6.3.devN to 0.7.0.rc2.devN ) it happens to work, but only because the pip dependency resolver does not attempt to fully resolve in the presence of old installations, and so only warns that it ignores cabinetry's requirement:
Related: #301
The text was updated successfully, but these errors were encountered: