Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4ed993367f08
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fd9d45c7c146
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 13, 2018

  1. pythonPackages.mypy_extensions: use typing from stdlib on >=3.5

    It's not necessary to depend on the "typing" backport since it's in
    the standard library; I also observed serious breakage in anything
    using the typing module (including) when the backport was in the
    closure on >=3.5.
    catern authored and FRidh committed Oct 13, 2018
    Copy the full SHA
    fd9d45c View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 pkgs/development/python-modules/mypy/extensions.nix
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/mypy/extensions.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchPypi, buildPythonPackage, typing, isPy3k }:
{ stdenv, fetchPypi, buildPythonPackage, typing, pythonOlder }:

buildPythonPackage rec {
pname = "mypy_extensions";
@@ -12,7 +12,7 @@ buildPythonPackage rec {
sha256 = "04h8brrbbx151dfa2cvvlnxgmb5wa00mhd2z7nd20s8kyibfkq1p";
};

propagatedBuildInputs = [ typing ];
propagatedBuildInputs = if pythonOlder "3.5" then [ typing ] else [ ];

meta = with stdenv.lib; {
description = "Experimental type system extensions for programs checked with the mypy typechecker";