<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nixos/nixpkgs, branch origin/python-venv</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>http://cgit.wugi.info/nixos/nixpkgs/atom?h=origin%2Fpython-venv</id>
<link rel='self' href='http://cgit.wugi.info/nixos/nixpkgs/atom?h=origin%2Fpython-venv'/>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/'/>
<updated>2024-03-01T08:12:18Z</updated>
<entry>
<title>tzdata: do not run check_now test</title>
<updated>2024-03-01T08:12:18Z</updated>
<author>
<name>Artemis Tosini</name>
<email>me@artem.ist</email>
</author>
<published>2024-03-01T02:12:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=0e172b739ff09c9dc652f2c9175ac0cf745cca81'/>
<id>urn:sha1:0e172b739ff09c9dc652f2c9175ac0cf745cca81</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make venv change work on Darwin</title>
<updated>2024-03-01T08:09:21Z</updated>
<author>
<name>Alex O'Brien</name>
<email>3541@3541.website</email>
</author>
<published>2024-02-17T09:12:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=b445bcc431f4e02f3d160916654825c6d79c1dad'/>
<id>urn:sha1:b445bcc431f4e02f3d160916654825c6d79c1dad</id>
<content type='text'>
This patch builds on the previous to make prefix resolution work
correctly inside virtual environments on Darwin. The --inherit-argv0
mechanism is insufficient, as on Darwin, Python uses the
_NSGetExecutablePath() call to work out the actual path to its binary.
Since this resolves to the real unwrapped binary, --inherit-argv0 is
little use.

This patch adds a new variant, --inherit-argv0-path, which resolves the
full path before passing it to argv[0]. On Darwin this is done using
_NSGetExecutablePath(), on Linux by reading /proc/self/exe. This
bypasses the real_executable lookup, as Python gives precedence to
argv[0] when it appears to be a path (contains a slash).

While not strictly necessary on Linux (as --inherit-argv0 works anyway),
the change is made to both for consistency.
</content>
</entry>
<entry>
<title>Fix venv creation in Python environments</title>
<updated>2024-03-01T08:09:21Z</updated>
<author>
<name>Colin Putney</name>
<email>colin.putney@vannevarlabs.com</email>
</author>
<published>2023-10-14T06:11:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=d84fcd5d0e9775a3b3100af94a0cf9c5c6163a83'/>
<id>urn:sha1:d84fcd5d0e9775a3b3100af94a0cf9c5c6163a83</id>
<content type='text'>
The way we build python environments is subtly broken. A python
environment should be semantically identical to a vanilla Python
installation in, say, /usr/local. The current implementation, however,
differs in two important ways. The first is that it's impossible to use
python packages from the environment in python virtual environments. The
second is that the nix-generated environment appears to be a venv, but
it's not.

This commit changes the way python environments are built:

  * When generating wrappers for python executables, we set argv0 to
    the full path of the wrapper. This causes python to initialize its
    configuration in the environment with all the correct paths.
  * We remove the sitecustomize.py file from the base python package.
    This file was used tweak the python configuration after it was
    incorrectly initialized. That's no longer necessary.
  * When building the environment's bin directory, we now detect wrapped
    python scripts from installed packages, and generate unwrapped
    copies with the environment's python executable as the interpreter.

The end result is that python environments no longer appear to be venvs,
and behave more like a vanilla python installation. In addition it's
possible to create a venv using an environment and use packages from
both the environment and the venv.
</content>
</entry>
<entry>
<title>Merge pull request #292137 from seanybaggins/add-mingw-support-lzip</title>
<updated>2024-03-01T07:57:50Z</updated>
<author>
<name>Weijia Wang</name>
<email>9713184+wegank@users.noreply.github.com</email>
</author>
<published>2024-03-01T07:57:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=144b44e99c4cf1b7a468a956965ae87c70218bb4'/>
<id>urn:sha1:144b44e99c4cf1b7a468a956965ae87c70218bb4</id>
<content type='text'>
lzip: fix mingw regression</content>
</entry>
<entry>
<title>Merge pull request #292447 from fabaff/checkov-bump</title>
<updated>2024-03-01T07:20:35Z</updated>
<author>
<name>Fabian Affolter</name>
<email>fabian@affolter-engineering.ch</email>
</author>
<published>2024-03-01T07:20:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=f7fca9d98b0ec282f4b0d63f1fc2e38caf4ea55a'/>
<id>urn:sha1:f7fca9d98b0ec282f4b0d63f1fc2e38caf4ea55a</id>
<content type='text'>
checkov: 3.2.24 -&gt; 3.2.28</content>
</entry>
<entry>
<title>Merge pull request #292439 from r-ryantm/auto-update/python312Packages.urlextract</title>
<updated>2024-03-01T07:20:10Z</updated>
<author>
<name>Fabian Affolter</name>
<email>fabian@affolter-engineering.ch</email>
</author>
<published>2024-03-01T07:20:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=20defc562fc669494c249ae234d51396fe40490f'/>
<id>urn:sha1:20defc562fc669494c249ae234d51396fe40490f</id>
<content type='text'>
python312Packages.urlextract: 1.8.0 -&gt; 1.9.0</content>
</entry>
<entry>
<title>Merge pull request #292436 from r-ryantm/auto-update/python312Packages.pytest-mypy-plugins</title>
<updated>2024-03-01T07:19:37Z</updated>
<author>
<name>Fabian Affolter</name>
<email>fabian@affolter-engineering.ch</email>
</author>
<published>2024-03-01T07:19:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=e831aee89302fd19459f5eff959891152eb673de'/>
<id>urn:sha1:e831aee89302fd19459f5eff959891152eb673de</id>
<content type='text'>
python312Packages.pytest-mypy-plugins: 3.0.0 -&gt; 3.1.0</content>
</entry>
<entry>
<title>Merge pull request #292438 from drupol/php/php-cs-fixer/bump/3-51-0</title>
<updated>2024-03-01T07:01:57Z</updated>
<author>
<name>Pol Dellaiera</name>
<email>pol.dellaiera@protonmail.com</email>
</author>
<published>2024-03-01T07:01:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=b3e4508c37324c85cc97fbe2ba440994dc0ea2a3'/>
<id>urn:sha1:b3e4508c37324c85cc97fbe2ba440994dc0ea2a3</id>
<content type='text'>
phpPackages.php-cs-fixer: 3.50.0 -&gt; 3.51.0</content>
</entry>
<entry>
<title>Merge pull request #292300 from hsjobeki/writers</title>
<updated>2024-03-01T06:44:29Z</updated>
<author>
<name>lassulus</name>
<email>github@lassul.us</email>
</author>
<published>2024-03-01T06:44:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=2db7e7c5e2a7dda586316b684f86abdccbf9e209'/>
<id>urn:sha1:2db7e7c5e2a7dda586316b684f86abdccbf9e209</id>
<content type='text'>
doc &amp; fix: Clean up writers/data.nix file</content>
</entry>
<entry>
<title>Merge pull request #282444 from detroyejr/master</title>
<updated>2024-03-01T06:44:04Z</updated>
<author>
<name>Weijia Wang</name>
<email>9713184+wegank@users.noreply.github.com</email>
</author>
<published>2024-03-01T06:44:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=bd613950226579e5f8245501e3e5aed827ec5ad2'/>
<id>urn:sha1:bd613950226579e5f8245501e3e5aed827ec5ad2</id>
<content type='text'>
cataclysm-dda: fix gcc 13 build with 3 debian patches.</content>
</entry>
</feed>
