Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

black: 21.7b0 -> 21.8b0 #136792

Merged
merged 3 commits into from Sep 7, 2021
Merged

black: 21.7b0 -> 21.8b0 #136792

merged 3 commits into from Sep 7, 2021

Conversation

cpcloud
Copy link
Contributor

@cpcloud cpcloud commented Sep 5, 2021

Motivation for this change

Bumped black and pathspec (due to a new requirement from black)

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (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.

@cpcloud cpcloud force-pushed the bump-black branch 2 times, most recently from 4306b94 to 62bec7d Compare September 5, 2021 15:43
@cpcloud cpcloud changed the title black: 20.8b0 -> 21.8b0 black: 21.7b0 -> 21.8b0 Sep 5, 2021
@ofborg ofborg bot requested review from sveitser and copumpkin September 5, 2021 15:56
Copy link
Contributor

@sveitser sveitser left a comment

Choose a reason for hiding this comment

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

The rest looks good to me.

@@ -10,6 +10,7 @@
, mypy-extensions
, pathspec
, parameterized
, platformdirs
Copy link
Contributor

Choose a reason for hiding this comment

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

Can the appdirs dependency be removed? psf/black#2375


disabled = pythonOlder "3.6";

src = fetchPypi {
inherit pname version;
sha256 = "06d27adq6v6p8wspi0wwqz2pnq34p5jhnqvijbin54yyj5j3qdy8";
sha256 = "sha256-VwYI0oqjrxeSuYxKM326xjZ4d7R7EriKtCCVz8GmJ8I=";
Copy link
Contributor

Choose a reason for hiding this comment

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

hash = ... is less redundant and more common

Copy link
Member

Choose a reason for hiding this comment

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

We should stick to sha256 for now. As long as there is no decision made about this (#112388) and support present in the tools for auto-conversion (e.g., nix-update).

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok. Thanks for the explanation and for introducing me to nix-update 😄

Copy link
Contributor

@sveitser sveitser left a comment

Choose a reason for hiding this comment

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

Changes look good to me now, thanks.

@lovesegfault lovesegfault merged commit 7c86f03 into NixOS:master Sep 7, 2021
@cpcloud cpcloud deleted the bump-black branch May 11, 2022 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants