question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Poetry incorrectly resolves tensorflow-estimator

See original GitHub issue

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:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
ClementWaltercommented, Mar 29, 2020

Same issue here. I would not expect that poetry select any release candidate package by default. Thanks

0reactions
mkniewallnercommented, Jun 17, 2022

Closing, since this appears to be fixed now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TensorFlow 2.8.0 installing error using pip and poetry with ...
When using poetry, in your pyproject.toml edit manually: [tool.poetry.dependencies] python = ">=3.10,<3.11".
Read more >
I can't install TensorFlow-macos a… | Apple Developer Forums
And so, I updated my OS to Monterey Beta and tried to install TensorFlow-Metal a few days ago. However, all installing instruction commands...
Read more >
Python Wheels
Faster installation for pure Python and native C extension packages. Avoids arbitrary code execution for installation. (Avoids setup.py); Installation of a C ...
Read more >
Bug listing with status UNCONFIRMED as at 2022/12/20 15 ...
... wrong packages with portage 2.2.0_alpha72" status:UNCONFIRMED resolution: severity:normal ... Bug:788064 - "sci-libs/tensorflow-estimator-2.4.0 requires ...
Read more >
History | Poetry - Python dependency management and ...
Fix an issue where the deprecated JSON API was used to query PyPI for available versions of a package (#6081). Fix an issue...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found