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

python311Packages.betterproto: disable failing pydantic tests #281994

Merged
merged 6 commits into from
Jan 20, 2024

Conversation

fabaff
Copy link
Member

@fabaff fabaff commented Jan 19, 2024

Description of changes

Fix build (https://hydra.nixos.org/build/246526205)

See #269633

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/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 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.

Add a 👍 reaction to pull requests you find important.

@fabaff
Copy link
Member Author

fabaff commented Jan 19, 2024

Result of nixpkgs-review pr 281994 run on x86_64-linux 1

9 packages built:
  • home-assistant-component-tests.github
  • python311Packages.aiogithubapi
  • python311Packages.aiogithubapi.dist
  • python311Packages.betterproto
  • python311Packages.betterproto.dist
  • python311Packages.sigstore
  • python311Packages.sigstore-protobuf-specs
  • python311Packages.sigstore-protobuf-specs.dist
  • python311Packages.sigstore.dist

@fabaff
Copy link
Member Author

fabaff commented Jan 19, 2024

Result of nixpkgs-review pr 281994 run on aarch64-darwin 1

8 packages built:
  • python311Packages.aiogithubapi
  • python311Packages.aiogithubapi.dist
  • python311Packages.betterproto
  • python311Packages.betterproto.dist
  • python311Packages.sigstore
  • python311Packages.sigstore-protobuf-specs
  • python311Packages.sigstore-protobuf-specs.dist
  • python311Packages.sigstore.dist

Copy link
Contributor

@nikstur nikstur 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 fine but why did you bundle all of those in one PR?

@@ -63,13 +70,14 @@ buildPythonPackage rec {
'';

meta = with lib; {
description = "Clean, modern, Python 3.6+ code generator & library for Protobuf 3 and async gRPC";
description = "Code generator & library for Protobuf 3 and async gRPC";
Copy link
Contributor

Choose a reason for hiding this comment

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

This is the upstream description. Not sure why we would want to change that.

Copy link
Member Author

Choose a reason for hiding this comment

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

The "marketing part" or "how upstream thinks the project looks like" usually doesn't really add a lot of value to the description. If the library is modern and clean then we would not need to disable tests 😉

Sure, this change is highly opinionated.

@fabaff
Copy link
Member Author

fabaff commented Jan 19, 2024

Changes look fine but why did you bundle all of those in one PR?

All those builds are failing at the moment and are connected.

@fabaff fabaff merged commit dc16cbc into NixOS:master Jan 20, 2024
23 checks passed
@fabaff fabaff deleted the betterproto-fix branch January 20, 2024 11:36
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.

2 participants