Commit Graph

21 Commits

Author SHA1 Message Date
Fabian Affolter
7e5819dd50 memtree: migrate to finalAttrs 2026-08-27 11:20:57 +02:00
Fabian Affolter
efea347888 memtree: relax rich 2026-08-27 11:20:17 +02:00
Fabian Affolter
cefd637655 memtree: 0-unstable-2025-06-10 -> 0.1.0-unstable-2025-06-10 2026-08-27 11:19:19 +02: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
nixpkgs-ci[bot]
f851e952fb Merge staging-next into staging 2025-06-25 00:19:11 +00:00
nicoo
4e15e5bade memtree: prune src 2025-06-24 18:39:11 +00:00
nicoo
77739983cc memtree: 0-unstable-2025-06-06 → 0-unstable-2025-06-10 2025-06-24 18:29:15 +00:00
nicoo
0177eb8634 memtree: bring up to current Python packaging conventions 2025-06-24 18:26:30 +00:00
nicoo
8899fff088 memtree: update src after account rename 2025-06-24 18:26:30 +00:00
Yueh-Shun Li
76e2a397c2 treewide: pytestFlagsArray -> pytestFlags and join flag and option argument
This treewide change targets Python packages
that specifies pytest flags with pytestFlagsArray,
and whose flags cannot be consructed by other pytestCheckHook-honoured arguments.

Use the __structuredAttrs-agnostic argument pytestFlags
instead of the deprecated pytestFlagsArray.

For flags with option arguments,
join each flag and their option argument into a single command-line argument
following POSIX Utility Argument Syntax[1]
for easier overriding (remove/replace).

Examples:

* [ "-W" "ignore:message:WarningClass" ] ->
  [ "-Wignore:message:WarningClass" ]

* [ "--reruns" "3" ] ->
  [ "--reruns=3" ]

[1]: https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html
2025-06-16 01:02:16 +08:00
R. Ryantm
3689cfd40a memtree: 0-unstable-2024-01-04 -> 0-unstable-2025-06-06 2025-06-10 10:05:12 +00:00
Peder Bergebakken Sundt
4905f36691 memtree: unbreak with pythonRelaxDeps 2025-04-27 03:33:30 +02: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 a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
R. Ryantm
a351f3ecaa memtree: unstable-2024-01-04 -> 0-unstable-2024-01-04 2024-03-22 05:36:43 +00:00
R. Ryantm
1b8764b40a memtree: unstable-2023-11-22 -> unstable-2024-01-04 2024-01-07 11:04:39 +00:00
Weijia Wang
ad47ee62c2 memtree: deduplicate pytestCheckHook 2023-12-12 19:49:19 +01:00
Weijia Wang
cfb1ae4e7b memtree: fix imports check 2023-12-12 19:46:50 +01:00
nicoo
4c3cb33788 memtree: Add missing mainProgram metadata 2023-12-09 14:15:47 +00:00
nicoo
1b46ab02fd memtree: Replace custom checkPhase with pytestCheckHook 2023-12-09 14:15:47 +00:00
nicoo
5d66497260 memtree: unstable-2023-11-04 → 2023-11-22 2023-12-09 14:00:51 +00:00
nicoo
70fe9c165e memtree: init at unstable-2023-11-04 2023-11-08 14:38:20 +00:00