Suddenly, all Python packages reported as out of date by pip with
pip list --outdated
indicate [sdist]
, as in
awscli (Current: 1.7.19 Latest: 1.7.20 [sdist])
botocore (Current: 0.100.0 Latest: 0.101.0 [sdist])
jmespath (Current: 0.6.1 Latest: 0.6.2 [sdist])
plotly (Current: 1.6.14 Latest: 1.6.15 [sdist])
what does [sdist]
mean?
sdist is a "source distribution". bdist is a "binary distribution". For a pure Python project, those things are pretty close. If your project includes any extension modules, though, the sdist includes the source for those extension modules and use of the sdist will require a compiler.
To do so, we can use the pip list -o or pip list --outdated command, which returns a list of packages with the version currently installed and the latest available. On the other hand, to list out all the packages that are up to date, we can use the pip list -u or pip list --uptodate command.
By default, pip installs packages located in the Python Package Index (PyPI), but can also install from other indexes.
A built-package format for Python. A wheel is a ZIP-format archive with a specially formatted filename and the . whl extension. It is designed to contain all the files for a PEP 376 compatible install in a way that is very close to the on-disk format.
In python packaging terms, "sdist" stands for "source distribution" and it's counterpart "bdist" stands for "binary distribution".
Along with those distribution types there's also the older "egg" and the newer egg-like distribution called "wheel".
In this case it's telling you that the newer version of your packages will be installed as a source distribution. If a binary distribution would be installed, you'd see [wheel]
instead.
This is a new feature, as of pip version 6.1.0.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With