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

Constrain version of Keras used to <=2.3.1 #2

Closed
Harrison88 opened this issue Aug 19, 2020 · 2 comments
Closed

Constrain version of Keras used to <=2.3.1 #2

Harrison88 opened this issue Aug 19, 2020 · 2 comments

Comments

@Harrison88
Copy link

Hi,

As discussed in notAI-tech/deepsegment#33, certain versions of Keras are having compatibility issues with Tensorflow. My problem is that my project uses Poetry to manage dependencies. I'm also using DeepSegment, which uses this, which doesn't specify which versions of Keras work, so Poetry keeps trying to update Keras every time I update anything else. I'm having to manually edit my lockfile to keep Keras from updating.

I believe the solution is simple: just add a version number to the setup.py file. Something like Keras<=2.3.1 should do it. This can always be changed if/when the compatibility issue is solved. I'm happy to write a pull request for this, if you'd like.

Thanks!

@bedapudi6788
Copy link
Owner

added and pushed the new version to PyPI.

@Harrison88
Copy link
Author

Awesome, thank you for your quick response.

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

No branches or pull requests

2 participants