Skip to content

various: migrate toPythonApplication entires to by-name#519258

Closed
phanirithvij wants to merge 6 commits into
NixOS:masterfrom
phanirithvij:by-name-python-applications
Closed

various: migrate toPythonApplication entires to by-name#519258
phanirithvij wants to merge 6 commits into
NixOS:masterfrom
phanirithvij:by-name-python-applications

Conversation

@phanirithvij

@phanirithvij phanirithvij commented May 12, 2026

Copy link
Copy Markdown
Member

Initial migration done with the help of a script generated by LLM. (Link to gist)

Then manually went through nixpkgs-review to fix any breakages.
And manually migrated the remaining 5 or 6 packages.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in
    ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and
    other READMEs.

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels May 12, 2026
@phanirithvij
phanirithvij marked this pull request as ready for review May 12, 2026 06:57
@phanirithvij

This comment was marked as outdated.

@nixpkgs-ci nixpkgs-ci Bot added the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label May 12, 2026
@phanirithvij
phanirithvij requested a review from mweinelt May 12, 2026 08:03
@nixpkgs-ci nixpkgs-ci Bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label May 12, 2026
@phanirithvij
phanirithvij requested a review from vcunat May 12, 2026 10:47
@vcunat
vcunat removed their request for review May 13, 2026 06:59
@vcunat

vcunat commented May 13, 2026

Copy link
Copy Markdown
Member

I lack mental capacity.

@phanirithvij
phanirithvij requested review from Prince213 and teto May 13, 2026 07:08
@teto

teto commented May 14, 2026

Copy link
Copy Markdown
Member

it's a significant change for the python ecosystem so I leave the review to some top-level python maintainer (I am not sure who sry)

@teto
teto removed their request for review May 14, 2026 12:48
@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label May 14, 2026
@GraysonTinker

Copy link
Copy Markdown
Contributor

See also #487808

@phanirithvij
phanirithvij force-pushed the by-name-python-applications branch from 92ba832 to 13708c2 Compare May 14, 2026 17:46
@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label May 14, 2026
@phanirithvij

phanirithvij commented May 14, 2026

Copy link
Copy Markdown
Member Author

Nice find, I will continue this pr as that seems a bit outdated.

@phanirithvij
phanirithvij requested review from Sigmanificient and natsukium and removed request for Prince213 May 14, 2026 18:10

@Sigmanificient Sigmanificient left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recall some vague discussion about this, were there was another option that could be better, which is why i left mine in draft.

Ugh honestly it's going to be hard to dig for it 😅

@phanirithvij
phanirithvij force-pushed the by-name-python-applications branch from 13708c2 to b4cccc8 Compare May 16, 2026 06:51
@phanirithvij
phanirithvij marked this pull request as draft May 16, 2026 06:51
@phanirithvij
phanirithvij marked this pull request as ready for review May 16, 2026 07:17
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
@phanirithvij
phanirithvij force-pushed the by-name-python-applications branch from b4cccc8 to 2937e2a Compare May 16, 2026 09:06
@phanirithvij

Copy link
Copy Markdown
Member Author

Once reviewed I will squash them all into a single commit.

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
@phanirithvij
phanirithvij force-pushed the by-name-python-applications branch from 2937e2a to 5e356b2 Compare May 16, 2026 09:25
@phanirithvij phanirithvij changed the title various: migrate python applications to by-name various: migrate toPythonApplication entires to by-name May 16, 2026
@phanirithvij
phanirithvij requested a review from dotlambda May 16, 2026 09:30
@phanirithvij

Copy link
Copy Markdown
Member Author

I saw your comment @dotlambda #514227 (comment), could you maybe clarify what @Sigmanificient said in this thread above.

@phanirithvij

phanirithvij commented May 16, 2026

Copy link
Copy Markdown
Member Author

Ok I found this #454559 (comment)

And given few other prs doing the same I am closing mine. Sorry for the spam pr and for not looking for the previous efforts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants