Poetry incorrectly resolves tensorflow-estimator
See original GitHub issue-
I am on the latest Poetry version.
-
I have searched the issues of this repo and believe that this is not a duplicate.
-
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option). -
OS version and name: Ubuntu 18.04
-
Poetry version: 1.0.5
-
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/alkamid/2656f56e095e1e6040637e13d06f7239
Issue
tensorflow==2.1.0
depends on tensorflow-estimator
. This is the relevant output from poetry lock -vvv
:
1: fact: tensorflow (2.1.0) depends on tensorflow-estimator (>=2.1.0rc0,<2.2.0)
1: derived: tensorflow-estimator (>=2.1.0rc0,<2.2.0)
PyPI: 3 packages found for tensorflow-estimator >=2.1.0rc0,<2.2.0
1: selecting tensorflow-estimator (2.2.0rc0)
tensorflow-estimator==2.1.0
is available on PyPI (https://pypi.org/project/tensorflow-estimator/#history), so I’d expect poetry
to select 2.1.0
rather than 2.2.0rc0
. Is this expected behaviour?
See https://github.com/tensorflow/tensorflow/issues/37525 for the issue it’s causing.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Same issue here. I would not expect that poetry select any release candidate package by default. Thanks
Closing, since this appears to be fixed now.