-
Notifications
You must be signed in to change notification settings - Fork 76
Update requirements #158
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
Update requirements #158
Conversation
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.
OK, this is good. Master should stay Pandas < 1.0 at the moment until we get our development branch merged which has pandas > 1.0.2 compatibility. Let's merge this so we can avoid getting Bleach security update emails. :)
Wait - nevermind. TravisCI is failing...
|
Right, the Python 2 tests fail and error:
If we want to maintain Python 2 support for a little longer, we could potentially split requirements between Python versions. Or, we can end Python 2 support with the next release. If we want to go with the latter, perhaps it would make sense to not make this a hotfix -- rather make it a new release, update our version, make it explicit in our documentation. |
|
Strictly speaking, I'm not sure that updating the suggested package versions in requirements.txt is a breaking change since setup.py still allows older versions, but I think we should treat it like one anyway. Note that the development branch has already dropped 2.7: #135. Is it possible to relax these updates a bit to accomplish the goals of this PR but maintain 2.7 compatibility in master until the next major release? |
|
I believe keeping Python 2.7 compatibility in this PR would require Numpy 1.16.6 and Statsmodels 0.8.0 in requirements.txt. I'm not sure if this will silence security alerts. @mdeceglie Can you provide the text of the security alerts, and provide more detail on the pip issues? |
|
Thanks everyone. Neither numpy nor statsmodels were the sources of security alerts, but I was running into all kinds of error messages trying to install some older packages. Let me take another look at things with the python 2 question in mind. |
|
Works with python 2.7 now. I think I can live with the |
|
I'm okay with the current state of this PR -- the usage docs recommend using requirements.txt so I think it's not a big deal to not support eager upgrades. Will this just live on master to silence the GH warnings, or will this be release 1.2.3? |
|
Since we modified @cdeline @abshinn Let me know if you have any more input or would like more time to take a look. Otherwise I will proceed with the merge on 4/1. Thanks! |
abshinn
left a comment
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, @mdeceglie. I think this is good to merge.
|
Thanks everyone. Proceeding with the merge. I will hold of on tagging a release because I want to look into fixing the same issue as #153 in the next patch. |
This is a patch to update several requirements. It addresses several security alerts raised by github (bleach, Jinja2, notebook) as well as updates several other packages to make installing
requirements.txtandnotebook_requirements.txtvia pip run smoothly.I propose merging this patch directly to master. Would appreciate a couple of sets of eyes on it.