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.

pip list --outdated misses old version of tf-nightly

See original GitHub issue

Environment

  • pip version: 20.0.2
  • Python version: 3.8.2
  • OS: Linux

Description pip list --outdated misses old version of tf-nightly. I have tf-nightly==2.2.0.dev20200227 installed, and a newer version is available and can be installed.

Expected behavior pip list --outdated should show tf-nightly.

Output

user@host:~> pip list | grep tf-nightly
tf-nightly                     2.2.0.dev20200227
user@host:~> pip list -u | grep tf-nightly
user@host:~> pip list -o | grep tf-nightly
user@host:~> pip --version
pip 20.0.2 from /home/user/.pyenv/versions/3.8.2/lib/python3.8/site-packages/pip (python 3.8)
user@host:~> pip list -o -v | grep tf-nightly | grep -v Skip
1 location(s) to search for versions of tf-nightly:
* https://pypi.org/simple/tf-nightly/
Fetching project page and analyzing links: https://pypi.org/simple/tf-nightly/
Getting page https://pypi.org/simple/tf-nightly/
Looking up "https://pypi.org/simple/tf-nightly/" in the cache
https://pypi.org:443 "GET /simple/tf-nightly/ HTTP/1.1" 304 0
  Found link https://files.pythonhosted.org/packages/db/80/3d2a67fbe6818b140f8c53a5a4e9ed16683fa77fcebb453e006fb75ecd50/tf_nightly-2.2.0.dev20200227-cp38-cp38-manylinux2010_x86_64.whl#sha256=aaf5ce7f469754681354480f710d2a89004ee624fd7186f7e6f21b4a2a26c3bc (from https://pypi.org/simple/tf-nightly/), version: 2.2.0.dev20200227
  Found link https://files.pythonhosted.org/packages/59/9c/972de8fb6246be6557a16565c4cc1977ea9e275540a77ec4a2e0057dc593/tf_nightly-2.2.0.dev20200228-cp38-cp38-manylinux2010_x86_64.whl#sha256=6273178b4fe579a5e5a22edd412b114b47bd2e5b90e37814335995602a9733e6 (from https://pypi.org/simple/tf-nightly/), version: 2.2.0.dev20200228
  Found link https://files.pythonhosted.org/packages/8e/1f/b7c76f80e3ecd403c7b4e3124be455e9b01c013a6555c6dc215c53130d1f/tf_nightly-2.2.0.dev20200229-cp38-cp38-manylinux2010_x86_64.whl#sha256=3bf6be5dd2c72743869fbf03ddc11f86155df0ccc74f0666c978ebc2becd530c (from https://pypi.org/simple/tf-nightly/), version: 2.2.0.dev20200229
  Found link https://files.pythonhosted.org/packages/45/c5/80ce0b8519be89cfaf8c7be41dd7ed8f19e89082417f474eb212ad4ecb9f/tf_nightly-2.2.0.dev20200301-cp38-cp38-manylinux2010_x86_64.whl#sha256=0b20b993c239f6eb4b7e44f68677c2923b889af0f62fbecb0ae0af3c9865ec90 (from https://pypi.org/simple/tf-nightly/), version: 2.2.0.dev20200301
  Found link https://files.pythonhosted.org/packages/f8/a5/7815c0f20f1535a0731f427de14cc7f60f881ee7db4f81c5f067da613abc/tf_nightly-2.2.0.dev20200302-cp38-cp38-manylinux2010_x86_64.whl#sha256=a5c13dcc3e1955e1eb76aaf442a4844293b1e80a8640cb47f01b1ae957dabfea (from https://pypi.org/simple/tf-nightly/), version: 2.2.0.dev20200302
  Found link https://files.pythonhosted.org/packages/39/52/2747c5049c03b9a51e258c718a6d53721b48669ea1ec495643362559f8ae/tf_nightly-2.2.0.dev20200303-cp38-cp38-manylinux2010_x86_64.whl#sha256=5fd99bd84925a48d432cf6ea351bb689809ca2f13b68330020f5088b4b141164 (from https://pypi.org/simple/tf-nightly/), version: 2.2.0.dev20200303
  Found link https://files.pythonhosted.org/packages/f4/70/94cdec35f3de1013e1d12f03dc8dc21624c6b6276444ba62972831785511/tf_nightly-2.2.0.dev20200304-cp38-cp38-manylinux2010_x86_64.whl#sha256=783fde7be577e6affdfbce4802ef0803b52336623e5ee4284c97c85bc7789c34 (from https://pypi.org/simple/tf-nightly/), version: 2.2.0.dev20200304
  Found link https://files.pythonhosted.org/packages/45/fa/eb30478fde21cb94cc0e5ce84c57100fb53eace2b8da66a84cfacd67acd9/tf_nightly-2.2.0.dev20200305-cp38-cp38-manylinux2010_x86_64.whl#sha256=7a9203fa1f1e48c16b3d54a6d4d93657505fc7c8139a7fd35c6b38c68eefd8c0 (from https://pypi.org/simple/tf-nightly/), version: 2.2.0.dev20200305
  Found link https://files.pythonhosted.org/packages/be/a7/c5f14bddbcc29ad99b69756ab21f3ddf5e64633a54b5b4929c51337d1fab/tf_nightly-2.2.0.dev20200306-cp38-cp38-manylinux2010_x86_64.whl#sha256=bb3b16ee01cf59f9e40a077f46c6f9398cd329fb6173cd7f521670f3fb70d583 (from https://pypi.org/simple/tf-nightly/), version: 2.2.0.dev20200306
  Found link https://files.pythonhosted.org/packages/30/8e/650b282491e126a39e2b256f1ad790d566c53465dfd801a7703e421431e3/tf_nightly-2.2.0.dev20200307-cp38-cp38-manylinux2010_x86_64.whl#sha256=b9d0c045d29438a089ba0f2a40aef43c1c6435387d66ee80835f84bf26ed1557 (from https://pypi.org/simple/tf-nightly/), version: 2.2.0.dev20200307
  Found link https://files.pythonhosted.org/packages/34/72/1f66dfcadc68762d5310288795269a55c2730f1d1067d86cff489548ae50/tf_nightly-2.2.0.dev20200308-cp38-cp38-manylinux2010_x86_64.whl#sha256=1f12208da4de572f7387d2eaf7c93c6fff3edda62359e70e6c013d500ec50251 (from https://pypi.org/simple/tf-nightly/), version: 2.2.0.dev20200308
  Found link https://files.pythonhosted.org/packages/9c/f5/a7af0a53e764fc2702b13cba704b3ec8f8017416ea572a567f8c956bf3e9/tf_nightly-2.2.0.dev20200309-cp38-cp38-manylinux2010_x86_64.whl#sha256=26912aa7ca3984381deec965d4029f614dcc1ad80880e40d1aed8ecd4e4027f5 (from https://pypi.org/simple/tf-nightly/), version: 2.2.0.dev20200309
user@host:~> pip uninstall tf-nightly
Found existing installation: tf-nightly 2.2.0.dev20200227
Uninstalling tf-nightly-2.2.0.dev20200227:
  Would remove:
    /home/user/.pyenv/versions/3.8.2/bin/estimator_ckpt_converter
    /home/user/.pyenv/versions/3.8.2/bin/saved_model_cli
    /home/user/.pyenv/versions/3.8.2/bin/tf_upgrade_v2
    /home/user/.pyenv/versions/3.8.2/bin/tflite_convert
    /home/user/.pyenv/versions/3.8.2/bin/toco
    /home/user/.pyenv/versions/3.8.2/bin/toco_from_protos
    /home/user/.pyenv/versions/3.8.2/lib/python3.8/site-packages/tensorflow/*
    /home/user/.pyenv/versions/3.8.2/lib/python3.8/site-packages/tf_nightly-2.2.0.dev20200227.dist-info/*
Proceed (y/n)? y
  Successfully uninstalled tf-nightly-2.2.0.dev20200227
user@host:~> pip install tf-nightly
Collecting tf-nightly
  Downloading tf_nightly-2.2.0.dev20200309-cp38-cp38-manylinux2010_x86_64.whl (517.0 MB)
     |████████████████████████████████| 517.0 MB 25 kB/s
(Requirement already satisfied: ...)
Installing collected packages: tf-nightly
Successfully installed tf-nightly-2.2.0.dev20200309

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
uranusjrcommented, Mar 9, 2020

I wonder if pip should use the same behaviour as pip install tf-nightly>=2.2.0.dev20200227 here. I’d assume the user wants to consider prereleases if the installed version is a prereleases. But as discussed in #7579, it’s difficult to tell definitely what is the most expected behaviour.

1reaction
pfmoorecommented, Mar 9, 2020

You probably need --pre to tell pip list --outdated to consider pre-release versions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to pip install old version of library(tensorflow)?
This works for me on Mac OS 10.13.1. pip install --user install tensorflow==1.3.0.
Read more >
tf-nightly - PyPI
TensorFlow is an open source software library for high performance numerical computation. Its flexible architecture allows easy deployment of computation ...
Read more >
How to Setup Your Python Environment for Machine Learning ...
This step assumes you have sufficient administrative privileges to install software on your system. 1. Double click the downloaded file. 2.
Read more >
Changelog — pytest documentation
Backward incompatible (breaking) changes will only be introduced in major versions with advance notice in the Deprecations section of releases. pytest 7.1.3 ( ......
Read more >
DZt - River Thames Conditions - Environment Agency - GOV.UK
Wsib premium remittance form 0937a, Photogrammetry software autodesk? ... Panasonic tx-p 46 gw 30 test, Two yr old development, B20 crx turbo, ...
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