3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

75 commits

Author SHA1 Message Date
Frederik Rietdijk db417d32e8 python3Packages.numpy: fix compatibility with newer pytest 2020-12-01 14:44:25 +01:00
Jonathan Ringer ff4c38abd9 python3Packages.numpy: use pytest_5 2020-12-01 14:44:24 +01:00
Jonathan Ringer e949d75899 python2Packages.numpy: fix openblas threads 2020-11-17 09:39:27 -08:00
Jonathan Ringer 8f7cec2297 python3Packages.numpy: fix tests for >64 core machines 2020-11-17 09:39:27 -08:00
Frederik Rietdijk baa93c3dee python3Packages.numpy: 1.19.2 -> 1.19.4 2020-11-05 15:47:08 -08:00
Nicolai Kellerer e95b156a0f pythonPackages.numpy: set license to bsd3 2020-11-05 15:47:06 -08:00
Frederik Rietdijk da014855f0 python3Packages.numpy: 1.19.1 -> 1.19.2 2020-11-05 15:47:00 -08:00
Matthew Bauer b3d5272ff0 numpy: set runtime_library_dirs too
This appears to be needed in some Python distutils for the library to
get on RPATH correctly. I’m not sure why this worked before, but I
needed this value set for Python 3.8 numpy to work correctly.
2020-09-04 20:10:53 +02:00
Frederik Rietdijk de3e467a47 python3Packages.numpy: 1.16.5 -> 1.16.6 2020-08-29 10:23:39 -07:00
Daniël de Kok 22089bf50a python3Packages.numpy: add hypothesis to checkInputs
numpy has added hypothesis as a dependency for running property-based
tests:

https://github.com/numpy/numpy/pull/15189

However, hypothesis is not an input of the derivations. And thus tests
have been failing with:

ERROR .. - ModuleNotFoundError: No module named 'hypothesis'

https://hydra.nixos.org/build/124613306/nixlog/1

This change adds hypothesis to checkInputs, so that tests are run
again.
2020-08-15 08:37:29 +02:00
Frederik Rietdijk 69cb94ebb3 python: numpy: 1.19.0 -> 1.19.1 2020-08-04 21:54:26 +02:00
Dmitry Kalinkin 1e4290b78c
python2Packages.numpy: fix build on darwin
By applying the old patch (compatible with 1.18.x and older). Also
refactor expression to make presence of the "old" version more
explicit.
2020-07-12 21:49:31 -04:00
Dmitry Kalinkin 721d0c43af numpy: fix distutils patch for 1.19.0 2020-07-04 14:35:46 +02:00
Frederik Rietdijk 98f335a87c python: numpy: 1.18.5 -> 1.19.0 2020-06-30 17:35:29 +02:00
Frederik Rietdijk d54acb0da4 python: numpy: 1.18.4 -> 1.18.5 2020-06-05 18:44:50 +02:00
Frederik Rietdijk 9aae255497 python: numpy: 1.18.3 -> 1.18.4 2020-05-11 22:12:08 +02:00
Matthew Bauer 8bdb2a058e numpy: set lapack, blas sections
When using netlib lapack/blas, the section name doesn’t match what
numpy expects. So we need to add extra sections for both so that the
right directory is found. The original “blas.implementation” section
may not actually be still required, but it is still a good idea so
that numpy know whether to apply any blas-implementation specific
quirks.

Fixes #86613
2020-05-08 06:47:30 +02:00
Frederik Rietdijk 5ca64bb043 python: numpy: 1.18.2 -> 1.18.3 2020-04-27 19:37:36 +02:00
Frederik Rietdijk f72c254545 python3Packages.numpy: 1.18.1 -> 1.18.2 2020-04-27 19:37:36 +02:00
John Ericson 607522c78d numpy: Use blas and lapack dev outputs for include dirs 2020-04-20 21:40:48 -04:00
Matthew Bauer ff2f2644f8 blas,lapack: use isILP64 instead of is64bit
This is a better name since we have multiple 64-bit things that could
be referred to.

LP64  : integer=32, long=64, pointer=64
ILP64 : integer=64, long=64, pointer=64
2020-04-20 16:02:43 -05:00
Matthew Bauer 015f46beba numpy: set lapack,blas library names correctly 2020-04-20 13:53:29 -05:00
Matthew Bauer 1c8aba8334 treewide: use blas and lapack
This makes packages use lapack and blas, which can wrap different
BLAS/LAPACK implementations.

treewide: cleanup from blas/lapack changes

A few issues in the original treewide:

- can’t assume blas64 is a bool
- unused commented code
2020-04-17 16:24:09 -05:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Frederik Rietdijk 98efcba8df python: numpy: 1.18.0 -> 1.18.1 2020-01-30 21:34:37 +01:00
Frederik Rietdijk fb0da93509 python3Packages.numpy: fix build 2020-01-03 12:52:42 +01:00
Frederik Rietdijk 6ee60b37fc python: numpy: 1.17.5 -> 1.18.0 2020-01-03 12:51:45 +01:00
Frederik Rietdijk 64015f4f7d python: numpy: 1.17.4 -> 1.17.5 2020-01-03 12:51:45 +01:00
Jonathan Ringer f51fe315e0 pythonPackages.numpy: update homepage 2019-12-07 09:26:59 +01:00
Frederik Rietdijk 80ac560b48 python: numpy: 1.17.3 -> 1.17.4 2019-11-12 14:57:20 +01:00
Frederik Rietdijk 3a9fb15046 python: numpy: 1.17.2 -> 1.17.3 2019-10-18 09:54:04 +02:00
Frederik Rietdijk bcea6dfe2e python: numpy: 1.17.1 -> 1.17.2 2019-09-08 14:52:06 +02:00
Frederik Rietdijk 9910d2f8cc python3Packages.numpy: 1.17.0 -> 1.17.1 2019-08-28 08:12:35 +02:00
volth 35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
Frederik Rietdijk 55d82d5430 python: numpy: 1.16.4 -> 1.17.0 2019-07-27 12:19:17 +02:00
Florian Klink fae3438572 python.pkgs.numpy: don't exclude f2py test anymore
It is on PATH, and the tests pass.
2019-07-27 12:19:03 +02:00
leo60228 f38fbf853f numpy: enable on pypy (without tests)
Some tests fail according to PyPy docs: http://doc.pypy.org/en/latest/faq.html#should-i-install-numpy-or-numpypy
2019-07-03 09:18:12 +02:00
Vladimír Čunát 0aa9f35a99
Merge branch 'master' into staging-next
Hydra nixpkgs: ?compare=1525828
2019-06-18 09:44:13 +02:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Frederik Rietdijk 36371f6569 python: numpy: 1.16.3 -> 1.16.4 2019-06-15 08:44:03 +02:00
Dmitry Kalinkin 8fa36fc8a1 python: provide hasCxxDistutils attribute for pythonPackages.numpy
Patching numpy.distutils used to be required for pythonPackages.cython
to build on darwin. It was later accidentally disabled during one of the
refactorings, but that did not break cython. This change reinstantiates
the patch. It still applies, so it should be low maintenance and it can
still be useful.
2019-04-28 09:17:59 +02:00
Frederik Rietdijk 2016715fa5 python: numpy: 1.16.2 -> 1.16.3 2019-04-24 18:43:26 +02:00
Corbin 1b2e1b552b pypyPackages.numpy: Enable.
It Just Works now that everybody's versions have been bumped.
2019-04-09 20:41:08 +02:00
Will Dietz e94519aae2 numpy: 1.16.1 -> 1.16.2
https://github.com/numpy/numpy/releases/tag/v1.16.2
2019-03-01 09:23:04 +01:00
Frederik Rietdijk 9106b456b5 python: numpy: 1.16.0 -> 1.16.1 2019-02-17 14:40:29 +01:00
Will Dietz ff0e5a5209 numpy: 1.15.4 -> 1.16.0
https://mail.python.org/pipermail/numpy-discussion/2019-January/079130.html

Remove musl workarounds/fixups since they don't apply,
haven't investigated if they're still needed yet.
2019-01-14 16:53:55 -06:00
Benjamin Hipple 6206a342e0 mkl: include Intel's libiomp.so in the MKL RPM unpack
Since Intel's default openmp implementation is available in the same src
tarball, we can just include it in the package. This means that `mkl` now "just
works" without any environment variables, fragile setup-hooks, or forced
propagation.

Since the openmp implementation is only needed at runtime (and for test cases),
users can substitute a different one if they prefer by exporting it with
`LD_PRELOAD`, which is how Intel recommends handling this. If they do not do so,
`libiomp.so` lives next to `libmkl_rt.so` and thus will be in the RPATH as a
sane default.

Since this still comes from the same src tarball, we can ship it without losing
the fixed-output derivation; likewise, since Hydra is not building or caching
these, shipping these proprietary packages costs no bandwidth for the nix
community.
2018-12-19 22:05:22 +01:00
Frederik Rietdijk a44c57ffd7 python: numpy: 1.15.3 -> 1.15.4 2018-12-03 16:50:38 +01:00
Frederik Rietdijk e82517ff50 python: numpy: 1.15.2 -> 1.15.3 2018-10-24 20:05:44 +02:00
Chris Ostrouchov 277b73ab6f pythonPackages.{numpy,scipy,numexpr}: support MKL as BLAS
This adds support building with MKL.
2018-10-20 11:50:37 +02:00