Skip to content

python311Packages.betterproto: disable failing pydantic tests#281994

Merged
fabaff merged 6 commits intoNixOS:masterfrom
fabaff:betterproto-fix
Jan 20, 2024
Merged

python311Packages.betterproto: disable failing pydantic tests#281994
fabaff merged 6 commits intoNixOS:masterfrom
fabaff:betterproto-fix

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 fabaff added the 0.kind: build failure A package fails to build label Jan 19, 2024
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jan 19, 2024
@ofborg ofborg bot requested a review from nikstur January 19, 2024 08:24
@ofborg ofborg bot added 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 Jan 19, 2024
@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?


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
@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

Labels

0.kind: build failure A package fails to build 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.

2 participants