Skip to content

Commit 0ac4147

Browse files
committed
Add help section on yanked releases
1 parent 46c8042 commit 0ac4147

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

warehouse/templates/pages/help.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
{% macro installing() %}{% trans %}How do I install a file (package) from PyPI?{% endtrans %}{% endmacro %}
5454
{% macro publishing() %}{% trans %}How do I package and publish my code for PyPI?{% endtrans %}{% endmacro %}
5555
{% macro trove_classifier() %}{% trans %}What's a trove classifier?{% endtrans %}{% endmacro %}
56+
{% macro yanked() %}{% trans %}What's a "yanked" release?{% endtrans %}{% endmacro %}
5657

5758
{% macro verified_email() %}{% trans %}Why do I need a verified email address?{% endtrans %}{% endmacro %}
5859
{% macro compromised_password() %}{% trans %}Why is PyPI telling me my password is compromised?{% endtrans %}{% endmacro %}
@@ -109,6 +110,7 @@ <h2 class="faq-group__first"><a href="#basics">{% trans %}Basics{% endtrans %}</
109110
<li><a href="#installing">{{ installing() }}</a></li>
110111
<li><a href="#publishing">{{ publishing() }}</a></li>
111112
<li><a href="#trove-classifier">{{ trove_classifier() }}</a></li>
113+
<li><a href="#yanked">{{ yanked() }}</a></li>
112114
</ul>
113115
</section>
114116

@@ -209,6 +211,13 @@ <h3 id="trove-classifier">{{ trove_classifier() }}</h3>
209211
Classifiers are used to categorize projects on PyPI. See <a href="{{ href }}">the classifiers page</a> for more information, as well as a list of valid classifiers.
210212
{% endtrans %}
211213
</p>
214+
215+
<h3 id="yanked">{{ yanked() }}</h3>
216+
<p>
217+
{% trans trimmed href='https://www.python.org/dev/peps/pep-0592/', title=gettext('External link') %}
218+
A yanked release is a release that is always ignored by an installer, unless it is the only release that matches a version specifier (using either <code>==</code> or <code>===</code>. See <a href="{{ href }}" title="{{ title }}" target="_blank" rel="noopener"><abbr title="Python enhancement proposal">PEP</abbr> 541</a> for more information.
219+
{% endtrans %}
220+
</p>
212221
</section>
213222

214223
<section class="faq-group" id="my-account">

0 commit comments

Comments
 (0)