FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-133951: Add venv changes to documentation and whatsnew by Cycloctane · Pull Request #139704 · python/cpython · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (2) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
5 changes: 5 additions & 0 deletions Doc/library/venv.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@ creation according to their needs, the :class:`EnvBuilder` class.

* ``lib_path`` - The purelib path for the virtual environment.

* ``platlib_path`` - The platlib path for the virtual environment.

* ``bin_path`` - The script path for the virtual environment.

* ``bin_name`` - The name of the script path relative to the virtual
Expand All @@ -431,6 +433,9 @@ creation according to their needs, the :class:`EnvBuilder` class.
The attribute ``lib_path`` was added to the context, and the context
object was documented.

.. versionchanged:: 3.15
The attribute ``platlib_path`` was added to the context.

.. method:: create_configuration(context)

Creates the ``pyvenv.cfg`` configuration file in the environment.
Expand Down
11 changes: 11 additions & 0 deletions Doc/whatsnew/3.15.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,17 @@ unittest
(Contributed by Garry Cairns in :gh:`134567`.)


venv
----

* On POSIX platforms, platlib directories will be created if needed when
creating virtual environments, instead of using ``lib64 -> lib`` symlink.
This means purelib and platlib of virtual environments no longer share the
same ``lib`` directory on platforms where :data:`sys.platlibdir` is not
equal to ``lib``.
(Contributed by Rui Xi in :gh:`133951`.)


xml.parsers.expat
-----------------

Expand Down
Loading

Back | FazBrowse Home | New Git URL