×

Update information PyPI Repository

{% if not pypi_info %}

No PyPI information available ! Stallion wasn't able to find the package information at PyPI repository. Some reasons of this failure:


  • The PyPI repository doesn't have any information about the package.
  • Stallion wasn't able to connect to PyPI.
  • The package was manually installed.
{% elif last_version_differ and not last_is_great %}

Only old version available ?! Your version is newer than the PyPI version !

The last version available at the PyPI repository ({{ pypi_info[0] }}) seems to be older than the version ({{ current_version }}) you have installed on your Python distribution. Some reasons of this:

  • You have manually installed a development version not yet available at PyPI repository.

{% elif last_version_differ and last_is_great %}

New version available ! PyPI repository has a new version of the package !

A new version of the package {{ dist_name }} was found in the official PyPI repository. You have the version {{ current_version }} YOUR VERSION, and the last version on the PyPI repository is {{ pypi_info[0] }} NEW.

You can use pip to update it using the following command:


pip install --upgrade {{ dist_name }}

You can check more information about pip on the project documentation site.

{% else %}

Already ok ! Your version is the last version !

The version {{ current_version }} you have installed on your Python distribution is the same as the last version available at PyPI repository.

{% endif %} {% if pypi_info %}

PyPI Information via RPC

PyPI has {{ pypi_info|length }} releases available for the package {{ dist_name }}, the last five of them are:

    {% for version in pypi_info[:5] %} {% if version|lower == current_version|lower %}
  • {{ version }} YOUR VERSION
  • {% elif version|lower == pypi_info[0]|lower %}
  • {{ version }} NEW
  • {% else %}
  • {{ version }}
  • {% endif %} {% endfor %}
{% endif %}
Dismiss