<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nixos/nixpkgs.git/pkgs/development/interpreters/python/tests/test_nix_pythonprefix, 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 superfluous disabled</title>
<updated>2026-01-11T17:34:20+00:00</updated>
<author>
<name>Robert Schütz</name>
<email>nix@dotlambda.de</email>
</author>
<published>2026-01-11T17:32:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=1a04744f74b8d9330e36dfb401aea6dba74fba79'/>
<id>1a04744f74b8d9330e36dfb401aea6dba74fba79</id>
<content type='text'>
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:

    pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
    for f in $(find -name '*.nix'); do
        grep -q "$pattern" "$f" || continue
        sed -i "/$pattern/d" "$f"
        if [ $(grep -c pythonOlder "$f") == 1 ]; then
            sed -i '/^\s*pythonOlder,\s*$/d' "$f"
        fi
        nixfmt "$f"
    done
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:

    pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
    for f in $(find -name '*.nix'); do
        grep -q "$pattern" "$f" || continue
        sed -i "/$pattern/d" "$f"
        if [ $(grep -c pythonOlder "$f") == 1 ]; then
            sed -i '/^\s*pythonOlder,\s*$/d' "$f"
        fi
        nixfmt "$f"
    done
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: add explicit format attribute for Python packages</title>
<updated>2025-07-02T03:56:47+00:00</updated>
<author>
<name>Martin Weinelt</name>
<email>hexa@darmstadt.ccc.de</email>
</author>
<published>2025-07-02T01:20:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=ae4a1a485a7c2f7be3283e76a3a1d42e4bb3a459'/>
<id>ae4a1a485a7c2f7be3283e76a3a1d42e4bb3a459</id>
<content type='text'>
If a Python package does not come with either `format` or `pyproject` we
consider it a setuptools build, that calls `setup.py` directly, which is
deprecated.

This change, as a first step, migrates a large chunk of these packages to
set setuptools as their explicit format

This is so we can unify the problem space for the next step of the
migration.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a Python package does not come with either `format` or `pyproject` we
consider it a setuptools build, that calls `setup.py` directly, which is
deprecated.

This change, as a first step, migrates a large chunk of these packages to
set setuptools as their explicit format

This is so we can unify the problem space for the next step of the
migration.
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: format all inactive Nix files</title>
<updated>2024-12-10T19:26:33+00:00</updated>
<author>
<name>Silvan Mosberger</name>
<email>silvan.mosberger@tweag.io</email>
</author>
<published>2024-12-10T19:26:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=4f0dadbf38ee4cf4cc38cbc232b7708fddf965bc'/>
<id>4f0dadbf38ee4cf4cc38cbc232b7708fddf965bc</id>
<content type='text'>
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7
    result/bin/apply-formatting $NIXPKGS_PATH
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7
    result/bin/apply-formatting $NIXPKGS_PATH
</pre>
</div>
</content>
</entry>
<entry>
<title>python3.tests.nix-pythonprefix-mypy: Avoid unnecessary rebuilds</title>
<updated>2024-06-14T19:27:46+00:00</updated>
<author>
<name>Silvan Mosberger</name>
<email>silvan.mosberger@tweag.io</email>
</author>
<published>2024-06-14T19:27:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=3f2e484083baab74447660f8eaa0aef40eafa9b7'/>
<id>3f2e484083baab74447660f8eaa0aef40eafa9b7</id>
<content type='text'>
E.g. when the Nix is changed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
E.g. when the Nix is changed
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: runCommandNoCC -&gt; runCommand</title>
<updated>2021-08-15T15:36:41+00:00</updated>
<author>
<name>Robert Hensing</name>
<email>robert@roberthensing.nl</email>
</author>
<published>2021-08-15T15:12:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=fbafeb7ad5dd6196fcc5d84264e1706653a62f81'/>
<id>fbafeb7ad5dd6196fcc5d84264e1706653a62f81</id>
<content type='text'>
This has been synonymous for ~5y.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This has been synonymous for ~5y.
</pre>
</div>
</content>
</entry>
<entry>
<title>python.tests: use self.callPackage instead of super.callPackage</title>
<updated>2020-11-28T15:57:07+00:00</updated>
<author>
<name>Frederik Rietdijk</name>
<email>fridh@fridh.nl</email>
</author>
<published>2020-11-22T12:17:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=8220b0449cffd3c97597aa187b36d05c1257f68b'/>
<id>8220b0449cffd3c97597aa187b36d05c1257f68b</id>
<content type='text'>
super was incorrectly possible until https://github.com/NixOS/nixpkgs/pull/104201
got merged.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
super was incorrectly possible until https://github.com/NixOS/nixpkgs/pull/104201
got merged.
</pre>
</div>
</content>
</entry>
<entry>
<title>Python integration tests: disable for older python 3 versions</title>
<updated>2020-04-25T05:59:37+00:00</updated>
<author>
<name>Frederik Rietdijk</name>
<email>fridh@fridh.nl</email>
</author>
<published>2020-04-22T16:51:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=6f873e98f4405b6085f67e2baad67d925cd2a23b'/>
<id>6f873e98f4405b6085f67e2baad67d925cd2a23b</id>
<content type='text'>
because the package that is used as part of the test does not support
older versions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
because the package that is used as part of the test does not support
older versions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Python: Add integration test verifying NIX_PYTHONPATH with Mypy</title>
<updated>2020-03-14T21:39:32+00:00</updated>
<author>
<name>adisbladis</name>
<email>adisbladis@gmail.com</email>
</author>
<published>2020-03-14T16:16:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=753122388d0080c8566872cb977f5841b22f1b4e'/>
<id>753122388d0080c8566872cb977f5841b22f1b4e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
