python3Packages.pytest-tap: 3.3 → 3.5#402722
Merged
mweinelt merged 1 commit intoNixOS:masterfrom May 14, 2025
Merged
Conversation
Member
|
The resulting package only ships metadata, that's why the import fails. |
Member
Author
Can you look into why that is, @mweinelt? (I currently neither have time I can spend on this nor would I know where to begin looking.) |
Member
Author
|
Eh, should probably ping the maintainer @Cynerd. |
Cynerd
reviewed
May 14, 2025
Contributor
There was a problem hiding this comment.
The issue is in upstream. The following patch fixes the issue you encountered.
diff --git a/pkgs/development/python-modules/pytest-tap/default.nix b/pkgs/development/python-modules/pytest-tap/default.nix
index 562c85f9b280..7e14ba0d2b74 100644
--- a/pkgs/development/python-modules/pytest-tap/default.nix
+++ b/pkgs/development/python-modules/pytest-tap/default.nix
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
+ fetchpatch,
hatchling,
pythonOlder,
pytest,
@@ -23,6 +24,14 @@ buildPythonPackage rec {
hash = "sha256-IuVtH1hrynbFDmz7IZ6vef9bAwl8L1eqR9WYQVL6CCA=";
};
+ patches = [
+ (fetchpatch {
+ name = "missing-package-in-wheel.patch";
+ url = "https://github.com/python-tap/pytest-tap/pull/105.patch";
+ hash = "sha256-P52NqgXtnO2SthDwVbT+NVPeBNhjGS/8Vsbe/WLCc3A=";
+ })
+ ];
+
build-system = [ hatchling ];
buildInputs = [ pytest ];
Co-authored-by: Karel Kočí <cynerd@email.cz>
Member
Author
|
CommentatorForAll
approved these changes
May 14, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.
Build fails with