-
-
Notifications
You must be signed in to change notification settings - Fork 17.6k
python3Packages.pytest-tap: 3.3 → 3.5 #402722
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
Conversation
|
The resulting package only ships metadata, that's why the import fails. |
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.) |
|
Eh, should probably ping the maintainer @Cynerd. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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>
Cynerd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
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