Commit Graph

71 Commits

Author SHA1 Message Date
Adam J. Stewart
9dd2ddb7db
py-numpy: add v1.19.3 (#19593) 2020-10-30 12:21:52 -05:00
Adam J. Stewart
2af9e44340
Add setuptools run-time dependency to various Python packages (#18616) 2020-09-15 08:30:59 +02:00
Adam J. Stewart
e7040467f2
NumPy: added v1.19.2 (#18615) 2020-09-11 15:38:24 +02:00
Adam J. Stewart
5fed42eae8 NumPy: add v1.19.1 2020-07-23 17:56:48 -07:00
Adam J. Stewart
c7f6608f5e
NumPy: add v1.19.0 (#17183) 2020-06-20 17:46:10 -05:00
Adam J. Stewart
0dd1d1f21a
NumPy: add 1.18.5 (#16943) 2020-06-04 08:05:22 -05:00
Adam J. Stewart
caad59e7c7
NumPy: add 1.18.4 (#16441) 2020-05-03 13:29:15 -05:00
Adam J. Stewart
f9733058a4
NumPy: add new version (#16158) 2020-04-19 17:28:18 -05:00
Adam J. Stewart
8ad366a978
py-numpy: add 1.18.2 (#15546) 2020-03-18 11:50:12 -05:00
Adam J. Stewart
c40ee08c8d
NumPy 1.18.1 requires Cython 0.29.14 (#14418) 2020-01-07 15:22:27 -06:00
Adam J. Stewart
d2ed01a12c
Add py-numpy 1.18.1 (#14406) 2020-01-06 17:48:27 -06:00
Glenn Johnson
729e43ffac Get py-numpy > 1.16 to build with Intel compiler (#14360)
Beginning with numpy > 1.16 when using older versions of gcc the
`std=c99` flag must be used. The Intel compiler depends on gcc for its
language extensions so the version of gcc is important. If the version
of gcc used by the Intel compiler is one that requires the `-std=c99`
flag then that flag will have to be used for a build with the Intel
compiler as well.

This PR tests the version of gcc used by the Intel compiler and will
abort the build if the gcc version is < 4.8 and inject the `-std=c99`
flag if >= 4.8 and < 5.1. This will cover the system gcc compiler and
any gcc environment module loaded at build time.
2020-01-02 19:30:13 -06:00
Adam J. Stewart
7a97dc3770
py-numpy: add 1.17.5 (#14341) 2020-01-01 15:05:23 -06:00
Todd Gamblin
4af6303086
copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
Adam J. Stewart
0699f8ac9d
Add py-numpy 1.16.6 (#14313) 2019-12-29 20:04:04 -06:00
Adam J. Stewart
ded5cbec70
Add py-numpy 1.18.0 (#14269) 2019-12-22 21:36:28 -06:00
Adam J. Stewart
e10f8fe531 py-numpy: added version 1.17.4 (#13670) 2019-11-11 11:26:21 +01:00
Adam J. Stewart
038f7b1b66
Add latest version of py-numpy (#13307)
* Add latest version of py-numpy

* setup_environment -> setup_build_environment
2019-10-21 11:19:05 -05:00
Adam J. Stewart
41e0b069d7
Fix external numpy package support (#13197) 2019-10-12 20:21:03 -05:00
Todd Gamblin
62927654dd checksums: use sha256 checksums everywhere
We'd like to use a consistent checksum scheme everywhere so that we can:

    a) incorporate archive checksums into our specs and have a
       consistent hashing algorithm across all specs.

    b) index mirrors with a consistent type of checksum, and not one that
       is dependent on how spack packages are written.

- [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
2019-10-12 07:19:43 -07:00
Adam J. Stewart
faa3d6a2a5
Add py-numpy 1.17.2 (#12753) 2019-09-07 20:44:46 -05:00
Adam J. Stewart
9b7ccbab86
Add py-numpy 1.17.1 (#12618) 2019-08-28 10:32:56 -05:00
Adam J. Stewart
66e9b1279a
Overhaul numpy package (#12170)
* Add numpy 1.17.0

* Overhaul numpy package

* Flake8 fixes

* Undefined reference fix

* HeaderList and LibraryList need an arg

* veclibfort has no headers

* Add patch for older versions of py-numpy

* Remove py-meep hack from py-numpy package

* libflame: always add max arg hack flag

* Fix build with GCC 4.8

* Compiler flags come from self.compiler

* Only apply -std=c99 to cflags

* Try to fix libflame package

* Fix ATLAS build on macOS

* --force-clang flag added in 3.10.3
2019-08-06 18:20:23 -05:00
Adam J. Stewart
9af155f0f6 Fix some Mac constraint checks (#12138)
* Fix Mac platform check for dependency in py-ipython package: 'when'
  constraints in Spack directives must be Specs (either a Spec
  object or a Spec in string format)
* Fix Mac version check in py-numpy: platform.mac_ver() returns a
  3-part string as its first tuple item so the check as written would
  never pass; use Spack Version object to simplify check.
* Fix Mac version check in qt package (the check was incorrectly
  comparing ints and strings) and use Spack version object to
  simplify check.
2019-07-29 15:05:02 -07:00
Adam J. Stewart
c96d687c7c
Workaround for #9149 (#12050) 2019-07-18 13:57:37 -05:00
Adam J. Stewart
69a746e941 Add py-numpy 1.16.4 (#11726) 2019-06-16 08:47:38 +02:00
Chris Green
f90507a227 numpy: new version 1.16.3; update historical versions. (#11364) 2019-05-16 11:44:43 -05:00
Gregory Lee
d60106a3f6 Add newer versions for 51 Python packages (#10738) 2019-02-27 12:45:28 -06:00
Peter Scheibel
c0972a3260
Exclude system mkl installs from numpy (#10383)
Fixes #10361
Fixes #6634

When mkl isnt in the spec, still write an explicit mkl entry to
prevent numpy from looking in system dirs and using a system install
of mkl. Do the same for openblas and atlas (although mkl was the only
system install reported to interfere with Spack's choice).
2019-01-22 12:18:54 -06:00
Jon Rood
12cf4eb734 Explicitly listing blas and lapack sections in site.cfg for numpy (#8708)
* Explicitly listing blas and lapack sections in site.cfg for numpy when using netlib-lapack so that scipy can find them as well.

* Reducing code to use a function call instead of copying and pasting.

* Fixing flake8 errors.

* Fixing python 3.6 error when site.cfg lists library_dirs multiple times.

* Formatting.

* Verifying blas and lapack are enabled before writing to site.cfg.

* Fixing flake8 errors.

* Fixing conflicts since this package file has been updated.

* Fixing flake8 stuff.

* Handling blas and lapack variants for netlib-lapack in site.cfg for py-numpy.

* Don't write netlib-lapack site.cfg file if no blas or lapack variants enabled in py-numpy.

* Removing redundant if statement.

* Fixing mistake in py-numpy site.cfg generation.

* Separating blas and lapack further in site.cfg for netlib-lapack in py-numpy.
2019-01-10 11:14:24 -06:00
Todd Gamblin
6f50cd52ed copyright: update license headers for 2013-2019 copyright. 2019-01-01 00:44:28 -08:00
Leonhard Reichenbach
ea033d4b71 py-numpy: update to version 1.15.2 (#9535) 2018-10-18 01:30:04 +02:00
Todd Gamblin
eea786f4e8 relicense: replace LGPL headers with Apache-2.0/MIT SPDX headers
- remove the old LGPL license headers from all files in Spack
- add SPDX headers to all files
  - core and most packages are (Apache-2.0 OR MIT)
  - a very small number of remaining packages are LGPL-2.1-only
2018-10-17 14:42:06 -07:00
Adam J. Stewart
cc01e89d6b
Update to latest version of pytest and dependencies (#9087)
* Update to latest version of pytest and dependencies

* Fix bug in installation tests
2018-08-25 14:12:46 -05:00
Oliver Breitwieser
90f7fca194 py-numpy: Add CPATH in modulefile (#8466)
Also fix setup_dependent_package to include the ".egg-less"-include
path.

Change-Id: I06e66a505ece25cba8896f47e69a5be374bac6d2
2018-07-26 17:50:00 -05:00
Axel Huebl
e6d2cd6ff0 numpy: nosetest (#8404)
the type 'test' exists now :-)
2018-06-06 10:33:31 -05:00
Massimiliano Culpo
891a15f409 py-scikit-learn: added version 0.19.1 and updated dependencies (#8399)
py-numpy: added version 1.14.3
py-scipy: added version 1.1.0
2018-06-06 07:41:48 -05:00
Elizabeth Fischer
d52eb8b34d py-numpy: update (#8003)
* py-numpy: update

* Better constrain when can / cannot parallel build.

* Update SciPy parallel logic to be specific to Python 3.5+, same as in Numpy.
2018-05-03 22:53:41 -05:00
Sajid Ali
24f15a5f4b Added checksums for newer versions of numpy (#7853)
*  Committer: sajid <sajid@xrmlite.phys.northwestern.edu>

	modified:   var/spack/repos/builtin/packages/py-numpy/package.py

* Corrected typo

* removing whitespace

* remove whitespace

* remove whitespace, if not will do this in vim
2018-04-25 10:30:25 -05:00
Todd Gamblin
54f97d1dec
Update copyright on LLNL files for 2018. (#7592) 2018-03-24 12:13:52 -07:00
Denis Davydov
ddb55c2b26 py-numpy: add 1.13.3 (#6484) 2017-11-28 13:42:59 +01:00
Todd Gamblin
05fa302655
Replace github.com/llnl/spack with github.com/spack/spack (#6142)
We moved to a new GitHub org! Now make the code and docs reflect that.
2017-11-04 17:08:04 -07:00
Michael Kuhn
84ae7872d3 Update copyright notices for 2017 (#5295) 2017-09-06 17:44:16 -10:00
Adam J. Stewart
17cdb73be7 Add latest version of numpy and scipy (#4982) 2017-08-05 15:37:53 +02:00
Douglas Duckworth
7d59197b7b added numpy 1.13 - modified albacore to use 1.13 (#4639)
* albacore 1.24 requires numpy 1.13 - added numpy 1.13

* added numpy 1.13
2017-06-29 13:42:56 -05:00
Todd Gamblin
cac4362f64 Make LICENSE recognizable by GitHub. (#4598) 2017-06-24 22:22:55 -07:00
Adam J. Stewart
ebf30d95cd Add latest numpy release (#3869) 2017-04-17 15:45:52 -05:00
Adam J. Stewart
bc404532ea PythonPackage: Let There Be Tests! (#2869)
* Run python setup.py test if --run-tests
* Attempt to import the Python module after installation
* Add testing support to numpy and scipy
* Remove duplicated comments
* Update to new run-tests callback methodology
* Remove unrelated changes for another PR
2017-03-31 13:39:07 -07:00
Erik Schnetter
d6a7000aee py-numpy: Correct typos in comment (#3462) 2017-03-16 09:45:09 -05:00
Adam J. Stewart
dca4d2b15e Consistent docs and usage of env mod methods (#3351) 2017-03-14 22:26:44 -07:00