Commit graph

158 commits

Author SHA1 Message Date
Michael Daniels
006ecdbdeb
treewide: fix typos (#479869) 2026-01-24 21:36:44 +00:00
Sigmanificient
a5e67d21ab python2Packages.more-itertools: drop 2026-01-15 01:41:06 +01:00
Sigmanificient
4d84f591ce python2Packages.packaging: drop 2026-01-15 01:41:06 +01:00
Sigmanificient
4bf9018849 python2Packages.configparser: drop 2026-01-15 01:41:06 +01:00
Sigmanificient
e675728e49 python2Packages.zipp: drop 2026-01-15 01:41:06 +01:00
Sigmanificient
0a2a17a537 python2Packages.contextlib2: drop 2026-01-15 01:41:06 +01:00
Sigmanificient
04f7b4cd68 python2Packages.importlib-metadata: drop 2026-01-15 01:41:06 +01:00
Sigmanificient
d0ebeb004e python2Packages.pluggy: drop 2026-01-15 01:41:06 +01:00
Sigmanificient
fa13e71eb9 python2Packages.attrs: drop 2026-01-15 01:41:06 +01:00
Sigmanificient
7ca75c4811 python2Packages.backports-functools-lru-cache: drop 2026-01-15 01:41:05 +01:00
Sigmanificient
11fe3af759 python2Packages.wcwidth: drop 2026-01-15 01:41:05 +01:00
Sigmanificient
c02e1cfb21 python2Packages.mock: drop 2026-01-15 01:38:29 +01:00
Sigmanificient
d6648d8493 python2Packages.pytest: drop 2026-01-15 01:38:29 +01:00
Sigmanificient
50476a84be python2Packages.markupsafe: drop 2026-01-15 01:38:29 +01:00
Sigmanificient
eb24888d98 python2Packages.hypothesis: drop 2026-01-15 01:38:29 +01:00
Sigmanificient
6193741371 python2Packages.coverage: drop 2026-01-15 01:38:29 +01:00
Sigmanificient
123a634629 python2Packages.filelock: drop 2026-01-15 01:38:29 +01:00
Sigmanificient
5df004f48b python2Packages.pytest-xdist: drop 2026-01-15 01:38:29 +01:00
Sigmanificient
094256ce6e python2Packages.jinja2: drop 2026-01-15 01:38:29 +01:00
Sigmanificient
dfea2974aa python2Packages.cffi: drop 2026-01-15 01:38:29 +01:00
Sigmanificient
00259414d5 python2Packages.pycairo: drop 2026-01-15 01:38:29 +01:00
Sigmanificient
a879987ac8 python2Packages.pyparsing: drop 2026-01-15 01:38:28 +01:00
Sigmanificient
fdbced07fe python2Packages.pygobject2: drop 2026-01-15 01:01:16 +01:00
Sigmanificient
af931a7a0e python2Packages.pygtk: drop 2026-01-15 01:01:06 +01:00
Sigmanificient
bdedefce60 python2Packages.setuptools-scm: drop 2026-01-14 04:38:23 +01:00
Sigmanificient
e3dd84b688 python2Packages.scandir: drop 2026-01-14 04:38:23 +01:00
Sigmanificient
46bbd4592b python2Packages.futures: drop 2026-01-14 04:38:23 +01:00
Sigmanificient
7b46a2bdd2 python2Packages.enum: drop 2026-01-14 04:38:23 +01:00
Sigmanificient
19816aeeb1 python2Packages.typing: drop 2026-01-14 04:38:22 +01:00
Gutyina Gergő
70f39947e1
python2Packages.typing: remove superfluous pythonOlder and pythonAtLeast 2026-01-14 03:10:55 +01:00
Gutyina Gergő
ebbf76a407
python2Packages.pytest: remove superfluous pythonOlder 2026-01-14 03:10:55 +01:00
Ben Siraphob
c7e10647ea
treewide: fix typos 2026-01-13 14:45:11 -05:00
Michael Daniels
075e8c2c4f
treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05:00
Ihar Hrachyshka
567e8dfd8e
treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Wolfgang Walther
11e45413f5
maintainers: drop lsix
Reacted to 0 out of 16 maintainer pings in the least 180 days.
2025-12-09 21:09:08 +01:00
Wolfgang Walther
c283f32d29
treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00
phaer
978931902c maintainers: drop abbradar
Listed as maintainer for ~170 packages but last commit that made it to
master was 6786ceb in February 2022.

Unresponsive on PRs, such as i.e. #411522
2025-08-22 09:49:27 +02:00
Wolfgang Walther
5a0711127c
treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Martin Weinelt
ae4a1a485a
treewide: add explicit format attribute for Python packages
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.
2025-07-02 05:56:47 +02:00
Domen Kožar
19b476ebef
various: remove domenkozar from maintainers (#415576) 2025-06-11 10:14:54 +00:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Sigmanificient
91d5ab3ae4 treewide: remove unused rec expressions 2025-03-14 05:15:05 +01:00
Benjamin Sparks
79ea09f21f python2Packages.hypothesis: remove enum34 2025-03-12 16:24:53 +01:00
Bryan Lai
673076b0a8 python2Packages.pygtk: fix build w/ -fpermissive
... and adopt the package: add @bryango to maintainers.
2024-12-25 19:49:02 +08:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
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 b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Eric Firestone
1499b7cdc3
python2-modules: Add a README explaining that Python 2 is no longer supported (#348583)
Add a README explaining that Python 2 is no longer supported
2024-10-31 17:20:08 +08:00
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
github-actions[bot]
9108a87017
Merge master into staging-next 2024-09-24 18:04:41 +00:00