Skip to content

Commit 6a83493

Browse files
authored
PEP 668: Address feedback and mark as accepted (#2673)
1 parent 5dd9452 commit 6a83493

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

pep-0668.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ Author: Geoffrey Thomas <[email protected]>,
99
Elana Hashman <[email protected]>,
1010
Pradyun Gedam <[email protected]>
1111
PEP-Delegate: Paul Moore <[email protected]>
12-
Discussions-To: https://discuss.python.org/t/graceful-cooperation-between-external-and-python-package-managers-pep-668/10302
13-
Status: Draft
12+
Discussions-To: https://discuss.python.org/t/10302
13+
Status: Accepted
1414
Type: Informational
1515
Topic: Packaging
1616
Content-Type: text/x-rst
1717
Created: 18-May-2021
1818
Post-History: 28-May-2021
19+
Resolution: https://discuss.python.org/t/10302/44
1920

2021
Abstract
2122
========
@@ -293,9 +294,9 @@ Case Description ``pip install`` permitted Deleting exte
293294
3 Distro Python in venv Currently yes; stays yes There are no externally-installed packages
294295
4 Distro Python in venv Currently yes; stays yes Currently no; stays no
295296
with ``--system-site-packages``
296-
5 Distro Python in Docker Currently yes; stays yes Currently yes; becomes no
297-
(assuming the Docker image
298-
removes the marker file)
297+
5 Distro Python in Docker Currently yes; becomes no Currently yes; becomes no
298+
(assuming the distro
299+
adds a marker file)
299300
6 Conda environment Currently yes; stays yes Currently yes; stays yes
300301
7 Dev-facing distro Currently yes; becomes no Currently often yes; becomes no
301302
(assuming they add a (assuming they configure ``sysconfig`` as needed)
@@ -712,7 +713,8 @@ scheme but is still on ``sys.path``.
712713
The other is to arrange for the default ``sysconfig`` scheme to change
713714
when running inside a package build versus when running on an
714715
installed system. The ``sysconfig`` customization hooks from
715-
bpo-43976_ should make this easy: make your packaging tool set an
716+
bpo-43976_ should make this easy (once accepted and implemented):
717+
make your packaging tool set an
716718
environment variable or some other detectable configuration, and
717719
define a ``get_preferred_schemes`` function to return a different
718720
scheme when called from inside a package build. Then you can use ``pip

0 commit comments

Comments
 (0)