Skip to content

nototools: move to top-level#410417

Merged
mweinelt merged 5 commits intoNixOS:masterfrom
dotlambda:nototools
May 25, 2025
Merged

nototools: move to top-level#410417
mweinelt merged 5 commits intoNixOS:masterfrom
dotlambda:nototools

Conversation

@dotlambda
Copy link
Member

See #408185 (comment)
cc @trofi

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • Nixpkgs 25.11 Release Notes (or backporting 24.11 and 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 24.11 and 25.05 NixOS Release notes)
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@dotlambda dotlambda requested a review from mweinelt May 24, 2025 06:30
@github-actions github-actions bot added 6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels May 24, 2025
@dotlambda dotlambda marked this pull request as ready for review May 24, 2025 06:59
@mweinelt
Copy link
Member

We might as well drop typed-ast for good.

python/typed_ast#179

@dotlambda
Copy link
Member Author

dotlambda commented May 24, 2025

We might as well drop typed-ast for good.

But nototools does in fact depend on it.

EDIT: Never mind, seems like it's listed in requirements.txt for no reason.

@dotlambda dotlambda marked this pull request as draft May 24, 2025 11:28
@dotlambda dotlambda marked this pull request as ready for review May 24, 2025 22:15
@nix-owners nix-owners bot requested a review from geraldog May 24, 2025 22:34
@dotlambda
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 410417


x86_64-linux

✅ 11 packages built:
  • noto-fonts-color-emoji
  • nototools
  • nototools.dist
  • python312Packages.aiosonic
  • python312Packages.aiosonic.dist
  • python313Packages.aiosonic
  • python313Packages.aiosonic.dist
  • signal-desktop
  • signal-desktop-bin
  • twitter-color-emoji
  • whatsapp-emoji-font

Copy link
Member

@mweinelt mweinelt left a comment

Choose a reason for hiding this comment

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

Thanks!

@mweinelt mweinelt merged commit ec33278 into NixOS:master May 25, 2025
16 of 18 checks passed
@dotlambda dotlambda deleted the nototools branch May 25, 2025 16:43
@typedrat
Copy link
Contributor

This breaks anything that uses nototools as a library and not just an executable -- a niche case to be sure, but something that does actually exist in practice, such as in samuelngs/apple-emoji-linux.

typedrat added a commit to typedrat/apple-emoji-linux that referenced this pull request May 28, 2025
NixOS/nixpkgs#410417 moved `nototools` to the top level because it
depends on otherwise-unused and deprecated python library `typed-ast`.

This is a slightly ugly way to handle looking for the package in the
right places either way.
@dotlambda
Copy link
Member Author

Is there any documentation of this API being public?

lboklin pushed a commit to lboklin/noto-emoji-ogblobs that referenced this pull request Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants