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
pythonPackages.typing-extensions: init at 3.6.5 #40983
Conversation
sha256 = "09xxykw8mk30r0g33r2gy5qlqw3sqj5vkp6h7nh0flp59hxqw2hw"; | ||
}; | ||
|
||
buildInputs = [ typing ]; |
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.
test dependency? build dependency, run-time dependency?
fb9af4b
to
07bb5dc
Compare
@FRidh I fixed the issue (it was |
@@ -0,0 +1,31 @@ | |||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy3k, python, pytest, tox, typing }: | |||
let |
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.
neither tox nor pytest seem used
07bb5dc
to
7f740d8
Compare
@GrahamcOfBorg build python2.pkgs.typing-extensions python3.pkgs.typing-extensions |
Success on x86_64-darwin (full log) Attempted: python2.pkgs.typing-extensions, python3.pkgs.typing-extensions Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: python2.pkgs.typing-extensions, python3.pkgs.typing-extensions Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: python2.pkgs.typing-extensions, python3.pkgs.typing-extensions Partial log (click to expand)
|
Is it mergeable? |
Could you amend the commit message to refer to the correct package set. |
@FRidh I'm not sure what you mean. Should it be |
@pmiddend I think he means it should be pythonPackages.typing-extensions: init at 3.6.5 . |
7f740d8
to
a086f23
Compare
@Assassinkin Ah okay, I've fixed that now. |
description = "Backported and Experimental Type Hints for Python 3.5+"; | ||
homepage = https://github.com/python/typing; | ||
license = licenses.psfl; | ||
maintainers = with lib.maintainers; [ pmiddend ]; |
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.
no lib
sha256 = "09xxykw8mk30r0g33r2gy5qlqw3sqj5vkp6h7nh0flp59hxqw2hw"; | ||
}; | ||
|
||
checkInputs = if isPy3k then [] else [ typing ]; |
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.
lib.optional (!isPy3k) typing
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.
Actually I think it should be pythonOlder "3.5"
because typing
is only part of the standard library since 3.5: https://docs.python.org/3/library/typing.html
a086f23
to
7a91b25
Compare
@dotlambda Thanks for the feedback, fixed. |
Motivation for this change
This package is missing from nixpkgs (and is different than the existing
typing
).Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)