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: peps/pep-0780.rst
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,7 @@ expressed as a frozen set of strings of the form ``f"{name}::{value}"``, where
191
191
``name`` is the name of the field and ``value`` is the string representation of
192
192
its value.
193
193
194
-
The ``sys_abi_info`` environment variable
194
+
The ``sys_abi_info`` Environment Variable
195
195
'''''''''''''''''''''''''''''''''''''''''
196
196
To do this, we need to extend the grammar laid out in :pep:`508` and maintained
197
197
in the :ref:`packaging:dependency-specifiers` and document the possible values,
@@ -303,6 +303,15 @@ However, the introduction of the feature has implications for a number of
303
303
ecosystem tools, especially those which attempt to support examination of data
304
304
in ``pyproject.toml`` and ``requirements.txt``.
305
305
306
+
In particular, current tools generally work with a fixed list of environment
307
+
variables, either in their own implementation (e.g. `uv <https://github.com/astral-sh/uv/blob/86e7b2e97a193ce3f506804be4c41c611191fa72/crates/uv-pep508/src/marker/tree.rs#L170>`_)
308
+
or via an established package like `pypa/packaging <https://github.com/pypa/packaging/blob/8f13a4309aa620bf643cd508304f783b456e8c49/src/packaging/_tokenizer.py#L63>`_ (e.g. pip).
309
+
Hence, it is principally impossible to add any new environment markers without
310
+
making new packages using these markers incompatible with older versions of
311
+
these tools.
312
+
However, once these tools support the proposed marker variable, changes in its
0 commit comments