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: cd5f46acf342
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5ae314d9903b
Choose a head ref
  • 4 commits
  • 4 files changed
  • 2 contributors

Commits on Jun 15, 2019

  1. pythonPackages.tables: 3.4.4 -> 3.5.2

    jluttine authored and FRidh committed Jun 15, 2019
    Copy the full SHA
    affd805 View commit details
  2. Copy the full SHA
    28554b1 View commit details
  3. Copy the full SHA
    7e1f1fc View commit details
  4. python: numba: 0.43.1 -> 0.44.0

    FRidh committed Jun 15, 2019
    Copy the full SHA
    5ae314d View commit details
9 changes: 2 additions & 7 deletions pkgs/development/python-modules/llvmlite/default.nix
Original file line number Diff line number Diff line change
@@ -10,13 +10,13 @@

buildPythonPackage rec {
pname = "llvmlite";
version = "0.28.0";
version = "0.29.0";

disabled = isPyPy;

src = fetchPypi {
inherit pname version;
sha256 = "a189c0cd8a80e8bbd002a1e422b1efcc2bceab2cb63b961f2d03ab711c3ba45b";
sha256 = "3adb0d4c9a17ad3dca82c7e88118babd61eeee0ee985ce31fa43ec27aa98c963";
};

nativeBuildInputs = [ llvm ];
@@ -28,11 +28,6 @@ buildPythonPackage rec {
substituteInPlace ffi/Makefile.linux --replace "-static-libstdc++" ""
substituteInPlace llvmlite/tests/test_binding.py --replace "test_linux" "nope"
# llvm 7.1 is not officially supported but works fine.
# Remove when going to 0.29.0 / llvm 8
substituteInPlace ffi/build.py --replace "7.0." "7."
substituteInPlace llvmlite/tests/test_binding.py --replace "test_version" "dont_test_version"
'';
# Set directory containing llvm-config binary
preConfigure = ''
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/numba/default.nix
Original file line number Diff line number Diff line change
@@ -13,12 +13,12 @@
}:

buildPythonPackage rec {
version = "0.43.1";
version = "0.44.0";
pname = "numba";

src = fetchPypi {
inherit pname version;
sha256 = "e7789d473f332a17e40166d2960826d821edd75d148b4ed340a893a334b46fae";
sha256 = "56421bfc62f3c7c996ff11d5db7fc410909564e41b55379a82b9188fa4aa22f9";
};

NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
8 changes: 4 additions & 4 deletions pkgs/development/python-modules/tables/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{ stdenv, fetchPypi, python, buildPythonPackage
, cython, bzip2, lzo, numpy, numexpr, hdf5, six, c-blosc }:
, cython, bzip2, lzo, numpy, numexpr, hdf5, six, c-blosc, mock }:

buildPythonPackage rec {
version = "3.4.4";
version = "3.5.2";
pname = "tables";

src = fetchPypi {
inherit pname version;
sha256 = "bdc5c073712af2a43babd139c4855fc99496bb2c3f3f5d1b4770a985e6f9ce29";
sha256 = "1hikrki0hx94ass31pn0jyz9iy0zhnkjacfk86m21cxsc8if685j";
};

buildInputs = [ hdf5 cython bzip2 lzo c-blosc ];
propagatedBuildInputs = [ numpy numexpr six ];
propagatedBuildInputs = [ numpy numexpr six mock ];

# The setup script complains about missing run-paths, but they are
# actually set.
13 changes: 11 additions & 2 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -3239,7 +3239,7 @@ in {

locustio = callPackage ../development/python-modules/locustio { };

llvmlite = callPackage ../development/python-modules/llvmlite { llvm = pkgs.llvm_7; };
llvmlite = callPackage ../development/python-modules/llvmlite { llvm = pkgs.llvm_8; };

lockfile = callPackage ../development/python-modules/lockfile { };

@@ -4350,7 +4350,16 @@ in {

scapy = callPackage ../development/python-modules/scapy { };

scipy = callPackage ../development/python-modules/scipy { };
scipy = let
scipy_ = callPackage ../development/python-modules/scipy { };
scipy_1_2 = scipy_.overridePythonAttrs(oldAttrs: {
version = "1.2.1";
src = oldAttrs.src.override {
inherit version;
sha256 = "e085d1babcb419bbe58e2e805ac61924dac4ca45a07c9fa081144739e500aa3c";
};
});
in if pythonOlder "3.5" then scipy_1_2 else scipy_;

scikitimage = callPackage ../development/python-modules/scikit-image { };