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

update TF version, remove py3.5 support #105

Merged
merged 1 commit into from
Dec 1, 2020

Conversation

mheilman
Copy link
Contributor

@mheilman mheilman commented Nov 17, 2020

This updates the minimum TF version, per GHSA-4g9f-63rx-5cw4.

It also removes Python 3.5 support and sets more specific scikit-learn version requirements to avoid test failures and incompatibilities.

@mheilman mheilman force-pushed the update_tf_version branch 3 times, most recently from 7e1a312 to 910a06f Compare November 18, 2020 14:53
@mheilman mheilman changed the title update TF version, remove py3.5 support, add py3.8 support update TF version, remove py3.5 support Nov 20, 2020
@@ -1,4 +1,4 @@
numpy~=1.14
scipy~=1.0
scikit-learn>=0.19
tensorflow>=1.15.2,<2
scikit-learn>=0.20.0,<0.23.0
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Using 0.19.x and 0.23.x makes the tests fail. I'm not sure how we didn't catch the 0.19.x incompatibility earlier, but I'd guess that the tests have been running as 0.20+ for a while.

@mheilman mheilman marked this pull request as ready for review November 23, 2020 15:13
@mheilman mheilman self-assigned this Nov 23, 2020
Copy link

@hinnefe2 hinnefe2 left a comment

Choose a reason for hiding this comment

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

Changes look good, but in the top level comment you say

It also removes Python 3.5 support and adds Python 3.8 support.

but it looks like these changes don't mention Python 3.8

@hinnefe2 hinnefe2 assigned hinnefe2 and mheilman and unassigned mheilman and hinnefe2 Dec 1, 2020
@mheilman
Copy link
Contributor Author

mheilman commented Dec 1, 2020

Ah, oops. I initially tried adding 3.8 support but ran into the problem that tensorflow 1.15.4 isn't available for python 3.8 (https://pypi.org/project/tensorflow/1.15.4/#files). I updated the PR description.

@mheilman mheilman requested a review from hinnefe2 December 1, 2020 16:14
@mheilman mheilman assigned hinnefe2 and unassigned mheilman Dec 1, 2020
Copy link

@hinnefe2 hinnefe2 left a comment

Choose a reason for hiding this comment

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

LGTM!

@hinnefe2 hinnefe2 assigned mheilman and unassigned hinnefe2 Dec 1, 2020
@mheilman mheilman merged commit 0ec92dd into civisanalytics:master Dec 1, 2020
@mheilman mheilman deleted the update_tf_version branch December 1, 2020 22:33
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