Commit Graph

7 Commits

Author SHA1 Message Date
Raito Bezarius
3b64826e42 update-python-libraries: support GitHub repositories with tag releases only
Certain repositories such as https://github.com/django/asgiref do not
contain any stable releases in the GitHub parlance but tags.

Those tags are still releases.

These repositories are important.

Let's expand the capabilities of update-python-libraries to make the
life of the hero making Python packages up-to-date.

Change-Id: Ifc7a3ecca42fc6b449f3f2dffc7b4e7651c0f0ba
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2025-08-22 01:49:28 +02:00
Peder Bergebakken Sundt
d1b4d37905 update-python-libraries: make hermetic 2025-04-17 16:25:54 +02:00
Martin Weinelt
e05360c0c3 update-python-libraries: add generator hint 2025-04-03 23:13:20 +02:00
Martin Weinelt
3a10377185 update-python-libraries: update version reference in changelog
Previously when the git fetcher was updated to use the `tag` field this
would cause evaluation errors, when the changelog was referencing
`src.rev`.
2025-01-27 10:54:15 +01:00
Silvan Mosberger
84d4f874c2 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 78e9caf153
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:23:58 +01:00
Martin Weinelt
8f2b01cb67 update-python-libraries: migrate git revs to use tag 2024-12-05 23:26:45 +01:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00