summaryrefslogtreecommitdiff
path: root/pkgs/development/interpreters/python/tests/test_nix_pythonprefix
AgeCommit message (Collapse)Author
13 daystreewide: remove superfluous disabledRobert Schütz
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
2025-07-02treewide: add explicit format attribute for Python packagesMartin Weinelt
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.
2024-12-10treewide: format all inactive Nix filesSilvan Mosberger
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
2024-06-14python3.tests.nix-pythonprefix-mypy: Avoid unnecessary rebuildsSilvan Mosberger
E.g. when the Nix is changed
2021-08-15treewide: runCommandNoCC -> runCommandRobert Hensing
This has been synonymous for ~5y.
2020-11-28python.tests: use self.callPackage instead of super.callPackageFrederik Rietdijk
super was incorrectly possible until https://github.com/NixOS/nixpkgs/pull/104201 got merged.
2020-04-25Python integration tests: disable for older python 3 versionsFrederik Rietdijk
because the package that is used as part of the test does not support older versions.
2020-03-14Python: Add integration test verifying NIX_PYTHONPATH with Mypyadisbladis