-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
python.pipInstallHook: avoid producing wrong direct_url.json file #232414
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -48,11 +48,12 @@ buildPythonPackage rec { | |||||
| pname = "twisted"; | ||||||
| version = "22.10.0"; | ||||||
| format = "setuptools"; | ||||||
| wheelPname = "Twisted"; | ||||||
|
|
||||||
| disabled = pythonOlder "3.6"; | ||||||
|
|
||||||
| src = fetchPypi { | ||||||
| pname = "Twisted"; | ||||||
| pname = wheelPname; | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
not sure if that is better or if we should rename the attr in fetchPypi
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Most times the value will be the same. I can add that attribute there, and assert you're setting only one of both. Since those derivations are FODs, changes there shouldn't produce mass rebuilds. |
||||||
| inherit version; | ||||||
| extension = "tar.gz"; | ||||||
| hash = "sha256-Mqy9QKlPX0bntCwQm/riswIlCUVWF4Oot6BZBI8tTTE="; | ||||||
|
|
||||||
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.
There is also a tool called pip-audit which makes this a bit confusing
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.
I was trying to follow the terminology from here because it's mostly extending that safety net:
nixpkgs/pkgs/build-support/setup-hooks/audit-tmpdir.sh
Line 12 in 3fa4913
But just tell me what name you prefer, I can change it, no problem.