0

I have read Why is pip installing an old version of my package? and followed the second answer but either

pip install mistune

or

pip install --no-cache-dir --upgrade mistune

installs mistune-0.8.4 whereas a newer version is available:

pip install mistune==2.0.0a4

Why does this happen?

Basj
  • 41,386
  • 99
  • 383
  • 673

1 Answers1

2

Looking at the package's version history, 0.8.4 is the most current released version, while those newer version are prereleases, and will not be downloaded by default.

duckboycool
  • 2,425
  • 2
  • 8
  • 23
  • What Is the general rule that `pip` uses? is this "pre-release" mention a "tag" that can be set on each package of Pypi? – Basj May 04 '20 at 14:17
  • @Basj https://www.python.org/dev/peps/pep-0440/#pre-releases – sinoroc May 04 '20 at 14:49