<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nixos/nixpkgs.git/pkgs/development/interpreters/python/hooks, branch master</title>
<subtitle>Nix Packages collection</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/'/>
<entry>
<title>treewide: remove empty buildInputs assignments</title>
<updated>2026-04-20T17:34:26+00:00</updated>
<author>
<name>Ben Siraphob</name>
<email>bensiraphob@gmail.com</email>
</author>
<published>2026-04-20T07:41:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=5fadc89f02c483eb2ca1fa69d7e6f9fd276f4855'/>
<id>5fadc89f02c483eb2ca1fa69d7e6f9fd276f4855</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>stestrCheckHook: init</title>
<updated>2026-02-21T21:20:21+00:00</updated>
<author>
<name>Vinetos</name>
<email>contact+git@vinetos.fr</email>
</author>
<published>2026-02-10T17:39:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=38af642d2f6079e586084ce4b84fc26919317f28'/>
<id>38af642d2f6079e586084ce4b84fc26919317f28</id>
<content type='text'>
This adds a useful hook to be used for projects that use stestr,
it is primiative at the moment but covers most scenarios for using
it.

This PR also changes a Python module to start using it, once it
lands, follow up PRs can update all of them to use it tree-wide.

Signed-off-by: Vinetos &lt;contact+git@vinetos.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a useful hook to be used for projects that use stestr,
it is primiative at the moment but covers most scenarios for using
it.

This PR also changes a Python module to start using it, once it
lands, follow up PRs can update all of them to use it tree-wide.

Signed-off-by: Vinetos &lt;contact+git@vinetos.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>python3Packages.setuptools-rust: fix cross build for all `setuptools-rust` based packages (#467817)</title>
<updated>2025-12-11T06:25:13+00:00</updated>
<author>
<name>dotlambda</name>
<email>github@dotlambda.de</email>
</author>
<published>2025-12-11T06:25:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=195e2bc55c3aa47d0ca2adbf87e54f7c8a286595'/>
<id>195e2bc55c3aa47d0ca2adbf87e54f7c8a286595</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>python3Packages.setuptools-rust: fix cross build for all `setuptools-rust` based packages</title>
<updated>2025-12-09T05:32:28+00:00</updated>
<author>
<name>DavHau</name>
<email>hsngrmpf+github@gmail.com</email>
</author>
<published>2025-12-04T12:32:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=e65630386777c3f21977611f7b802aeae30b6f2c'/>
<id>e65630386777c3f21977611f7b802aeae30b6f2c</id>
<content type='text'>
Prior to this change all python packages using `setuptools-rust` were broken when cross compiled as they built binaries for the build platform instead of for the host platform.

The setuptoolsRustBuildHook hook would have to be included as a native build input instead of the `setuptools-rust` package, but practically wasn't used anywhere.

This change makes it so that `setuptoolsRustBuildHook` becomes unnecessary, and instead `setuptools-rust` propagates a setup-hook directly setting up the build environment, similar to how cmake does it when included via nativeBuildInputs.

This change fixes cross on all packages using `setuptools-rust` as a build-system.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prior to this change all python packages using `setuptools-rust` were broken when cross compiled as they built binaries for the build platform instead of for the host platform.

The setuptoolsRustBuildHook hook would have to be included as a native build input instead of the `setuptools-rust` package, but practically wasn't used anywhere.

This change makes it so that `setuptoolsRustBuildHook` becomes unnecessary, and instead `setuptools-rust` propagates a setup-hook directly setting up the build environment, similar to how cmake does it when included via nativeBuildInputs.

This change fixes cross on all packages using `setuptools-rust` as a build-system.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix shebang of installed python scripts</title>
<updated>2025-11-18T12:00:00+00:00</updated>
<author>
<name>Guillaume Girol</name>
<email>symphorien+git@xlumurb.eu</email>
</author>
<published>2025-11-17T12:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=6724e26a0862b99e4578f54c8262daf0bd159fd4'/>
<id>6724e26a0862b99e4578f54c8262daf0bd159fd4</id>
<content type='text'>
Closes: https://github.com/NixOS/nixpkgs/pull/449340
Fixes: https://github.com/NixOS/nixpkgs/issues/449325
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes: https://github.com/NixOS/nixpkgs/pull/449340
Fixes: https://github.com/NixOS/nixpkgs/issues/449325
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: run nixfmt 1.0.0</title>
<updated>2025-07-24T11:55:40+00:00</updated>
<author>
<name>Wolfgang Walther</name>
<email>walther@technowledgy.de</email>
</author>
<published>2025-07-22T13:19:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=5a0711127cd8b916c3d3128f473388c8c79df0da'/>
<id>5a0711127cd8b916c3d3128f473388c8c79df0da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>python3Packages.setuptoolsCheckHook: move to aliases</title>
<updated>2025-07-20T10:04:57+00:00</updated>
<author>
<name>Wolfgang Walther</name>
<email>walther@technowledgy.de</email>
</author>
<published>2025-07-18T19:24:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=38002286d7dbe776070fb9b5a5c2000c9932d06c'/>
<id>38002286d7dbe776070fb9b5a5c2000c9932d06c</id>
<content type='text'>
This had already been removed and should be an alias now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This had already been removed and should be an alias now.
</pre>
</div>
</content>
</entry>
<entry>
<title>python3Packages.sphinxHook: move to preFixupPhases</title>
<updated>2025-06-14T19:23:01+00:00</updated>
<author>
<name>Anton Mosich</name>
<email>anton@mosich.at</email>
</author>
<published>2025-06-14T18:33:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=facae77bf5d377b44069a821c667312b12a926ae'/>
<id>facae77bf5d377b44069a821c667312b12a926ae</id>
<content type='text'>
If sphinxHook runs before the fixup phase, possibly generated manpages
will get compressed in the fixup phase.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If sphinxHook runs before the fixup phase, possibly generated manpages
will get compressed in the fixup phase.
</pre>
</div>
</content>
</entry>
<entry>
<title>python3Packages.pytestCheckHook: format with shfmt</title>
<updated>2025-05-03T17:36:44+00:00</updated>
<author>
<name>Yueh-Shun Li</name>
<email>shamrocklee@posteo.net</email>
</author>
<published>2025-05-03T17:36:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=842f12f8ff17df159821de01a2352709d6dc358e'/>
<id>842f12f8ff17df159821de01a2352709d6dc358e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>python3Packages.pytestCheckHook: fix Bash heredoc EOF outside subshell</title>
<updated>2025-05-03T17:31:46+00:00</updated>
<author>
<name>Yueh-Shun Li</name>
<email>shamrocklee@posteo.net</email>
</author>
<published>2025-05-03T17:31:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=63dea02c931d188242fd27e2b175235938188a70'/>
<id>63dea02c931d188242fd27e2b175235938188a70</id>
<content type='text'>
Fix the unterminated here document of the pytest-check-hook.sh
error mesage by moving the EOF of the here document
between the parenthesis of the process substitution.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the unterminated here document of the pytest-check-hook.sh
error mesage by moving the EOF of the here document
between the parenthesis of the process substitution.
</pre>
</div>
</content>
</entry>
</feed>
