You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/guides/dropping-older-python-versions.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Dropping support for older Python versions
6
6
7
7
Dropping support for older Python versions is supported by the standard :ref:`core-metadata` 1.2 specification via a "Requires-Python" attribute.
8
8
9
-
Metadata 1.2+ clients, such as Pip 9.0+, will adhere to this specification by matching the current Python runtime and comparing it with the required version
9
+
Metadata 1.2+ clients, such as Pip 9.0+, will adhere to this specification by matching the current Python runtime and comparing it with the required version
10
10
in the package metadata. If they do not match, it will attempt to install the last package distribution that supported that Python runtime.
11
11
12
12
This mechanism can be used to drop support for older Python versions, by amending the "Requires-Python" attribute in the package metadata.
@@ -102,8 +102,8 @@ metadata values based on the argument you provide in ``python_requires``.
102
102
103
103
Within a Python source package (the zip or the tar-gz file you download) is a text file called PKG-INFO.
104
104
105
-
This file is generated by Distutils or :ref:`setuptools` when it generates the source package.
106
-
The file contains a set of keys and values, the list of keys is part of the PyPa standard metadata format.
105
+
This file is generated by Distutils or :ref:`setuptools` when it generates the source package.
106
+
The file contains a set of keys and values, the list of keys is part of the PyPa standard metadata format.
107
107
108
108
You can see the contents of the generated file like this:
109
109
@@ -113,7 +113,7 @@ You can see the contents of the generated file like this:
113
113
114
114
Validate that the following is in place, before publishing the package:
115
115
116
-
- If you have upgraded correctly, the Metadata-Version value should be 1.2 or higher.
116
+
- If you have upgraded correctly, the Metadata-Version value should be 1.2 or higher.
117
117
- The Requires-Python field is set and matches your specification in setup.py.
0 commit comments