Commit graph

25240 commits

Author SHA1 Message Date
Adam J. Stewart
0c5402ea5c
setup-env: allow users to skip slow parts (#24545) 2021-07-08 17:07:26 +02:00
Todd Gamblin
a22686279c cvs tests: don't use dateutil at all
`dateutil.parser` was an optional dependency for CVS tests. It was failing on macOS
beacuse the dateutil types were not being installed, and mypy was failing *even when the
CVS tests were skipped*. This seems like it was an oversight on macOS --
`types-dateutil-parser` was not installed there, though it was on Linux unit tests.

It takes 6 lines of YAML and some weird test-skipping logic to get `python-dateutil` and
`types-python-dateutil` installed in all the tests where we need them, but it only takes
4 lines of code to write the date parser we need for CVS, so I just did that instead.

Note that CVS date format can vary from system to system, but it seems like it's always
pretty similar for the parts we care about.

- [x] Replace dateutil.parser with a simpler date regex
- [x] Lose the dependency on `dateutil.parser`
2021-07-07 17:27:31 -07:00
Todd Gamblin
0dd04ffbfb style: get close to full coverage of spack style
Previous tests of `spack style` didn't really run the tools --
they just ensure that the commands worked enough to get coverage.

This adds several real tests and ensures that we hit the corner
cases in `spack style`.  This also tests sucess as well as failure
cases.
2021-07-07 17:27:31 -07:00
Todd Gamblin
24a4d81097 style: clean up and restructure spack style command
This consolidates code across tools in `spack style` so that each
`run_<tool>` function can be called indirecty through a dictionary
of handlers, and os that checks like finding the executable for the
tool can be shared across commands.

- [x] rework `spack style` to use decorators to register tools
- [x] define tool order in one place in `spack style`
- [x] fix python 2/3 issues to Get `isort` checks working
- [x] make isort error regex more robust across versions
- [x] remove unused output option
- [x] change vestigial `TRAVIS_BRANCH` to `GITHUB_BASE_REF`
- [x] update completion
2021-07-07 17:27:31 -07:00
Todd Gamblin
b5d2c30d26 style: Move isort configuration to pyproject.toml
- [x] Remove flake8-import-order checks, as we only need isort for this
- [x] Clean up configuration and requirements
2021-07-07 17:27:31 -07:00
Danny McClanahan
7a9fe189e1 style: add support for isort and --fix 2021-07-07 17:27:31 -07:00
Paul Kuberry
f5c1ae32d1
xyce: Prefer master branch (#24733)
Adds 7.3.0 release of Xyce and makes a tag
'github.master' pointing at the master branch
of the Xyce repository on github.com.
2021-07-07 19:56:57 -04:00
Manuela Kuhn
e0b901153b
New package: git-annex (#24721) 2021-07-07 11:54:40 -07:00
Glenn Johnson
4fd8640586
Configure docbook packages (#24300)
This PR configures the spack docbook packages
- docbook-xsl
- docbook-xml

The public entities are now mapped to the locally installed files of the
respective packages. The example catalogs are left in place and
XML_CATALOG_FILES points to the newly created catalogs.
2021-07-07 20:41:24 +02:00
Olivier Cessenat
970bf4318c
zziplib: add v0.13.72(#24462) 2021-07-07 20:33:54 +02:00
Gregory Lee
218ae0c5d1
m4 package: only apply nvhpc.patch for version 1.4.18 (#24730)
The patch as-is does not apply to 1.4.19
2021-07-07 11:28:42 -07:00
Adam J. Stewart
ad7984c5c0
magma package: fix bugs in cuda_arch variant (#24735) 2021-07-07 11:18:52 -07:00
Adam J. Stewart
b1f4f91f41
py-mypy: add version 0.910 (#24738) 2021-07-07 11:13:31 -07:00
Massimiliano Culpo
2914f9076e
perl: bzip2 and zlib may be installed under <prefix>/lib64 (#24752) 2021-07-07 11:22:51 -06:00
Adam J. Stewart
663c37cac4
py-torch: +magma requires +cuda (#24736) 2021-07-07 19:12:52 +02:00
eugeneswalker
36ba640cbd
add e4s-on-power stack (#24734) 2021-07-07 10:06:30 -06:00
Manuela Kuhn
5e33b20230
py-seaborn: add 0.11.1 (#24748) 2021-07-07 10:49:59 -05:00
Jordan Ogas
d3c04ed345
charliecloud: add v0.24 (#24728) 2021-07-07 16:42:41 +02:00
Manuela Kuhn
20a191ad93
py-neurokit2: add new package (#24749) 2021-07-07 16:37:34 +02:00
Harmen Stoppels
d06537f75c
libtree: add v1.2.2 (#24747) 2021-07-07 16:36:16 +02:00
Olivier Cessenat
09d89ef265
netpbm: new package (#24063) 2021-07-07 15:36:11 +02:00
Olivier Cessenat
0e3f7ce0ed
New Package: visit-ffp (#22903) 2021-07-07 15:07:00 +02:00
Adam J. Stewart
e914e561ec
sleef: disable optional dependencies (#24742) 2021-07-07 11:34:07 +02:00
Mark W. Krentel
3c9a58bd0b
perl: add dependencies for bzip2 and zlib (#24743)
Perl keeps copies of the bzip2 and zlib source code in its own source
tree and by default uses them in favor of outside libraries.  Instead,
put these dependencies under control of spack and tell perl to use the
spack-built versions.
2021-07-07 11:25:57 +02:00
Seth R. Johnson
59eea2859a
trilinos: enable +teko gotype=long (#24722) 2021-07-06 17:01:41 -04:00
G-Ragghianti
c12dc1a5de
Magma: add ROCm support and v2.6.0 (#24663) 2021-07-06 13:04:37 -06:00
Vasily Danilin
ea2d4b05bc
oneAPI packages: add 2021.3 release (#24617) 2021-07-06 10:11:24 -07:00
Massimiliano Culpo
f9ecc4966d
qt: rework to use the when context manager (#24723) 2021-07-06 08:07:36 -06:00
Harmen Stoppels
545f971bec
fix buffered download (#24623)
* Use shutil to do a buffered copy from http response to file

* Fix flake8...

* Somehow flake8 still complains about unrelated files
2021-07-06 06:12:35 -06:00
Manuela Kuhn
9d36f7f518
qt+webkit: fix missing dependencies and gcc11 compatibility (#24366) 2021-07-06 13:18:02 +02:00
Jianwen
e65ab166b9
json-fortran: add version v6.0.11 (#24720) 2021-07-06 07:03:09 -04:00
Mark Olesen
f8743d0cbf
openfoam: add v2106 (#24579)
Co-authored-by: Mark Olesen <Mark.Olesen@esi-group.com>
2021-07-06 08:54:14 +02:00
Adam J. Stewart
9055deea16
py-torch: fix bug in libs/headers attributes (#24624) 2021-07-06 08:53:05 +02:00
Seth R. Johnson
1e3c012fea
xyce: clean and fix trilinos dependencies (#24673) 2021-07-06 08:52:10 +02:00
figroc
61242db8f9
abseil-cpp: add versions up to 20210324.2 (#24692) 2021-07-06 08:42:28 +02:00
figroc
9550703132
tensorflow-serving-client: add v2.3.0 (#24694) 2021-07-06 08:41:16 +02:00
eugeneswalker
e450612188
installer: fix double print of exception (#24697) 2021-07-06 08:40:24 +02:00
Adam J. Stewart
115c39e762
py-black: add v21.6b0 (#24715) 2021-07-06 08:40:12 +02:00
Mark W. Krentel
b8f1bd407e
hpcx-mpi: new package (#24194)
This is a virtual package for Nvidia's HPC-X MPI implementation for
external specs only.
2021-07-06 08:20:47 +02:00
Adam J. Stewart
cea11f3714
OpenCV: various package updates (#24553) 2021-07-06 08:18:58 +02:00
Adam J. Stewart
b35d6d13a7
py-sphinx: add v4.0.2 (#24602) 2021-07-05 13:25:25 -06:00
Manuela Kuhn
6a1a4d4bb6
py-secretstorage: add 3.3.1 (#24705) 2021-07-05 12:24:32 -05:00
Manuela Kuhn
713fd67b4a
py-keyring: fix installation on linux (#24706)
* py-keyring: fix installation on linux

* Update var/spack/repos/builtin/packages/py-keyring/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Update var/spack/repos/builtin/packages/py-keyring/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-07-05 12:24:21 -05:00
Adam J. Stewart
2ded87d40e
GDAL: add v3.3.1 (#24713) 2021-07-05 18:45:57 +02:00
Manuela Kuhn
9963642c1c
py-importlib-metadata: add 4.6.1 and 3.10.1 (#24701) 2021-07-05 10:28:01 -05:00
Manuela Kuhn
8e37c30e2f
py-whoosh: add new package (#24707) 2021-07-05 16:08:57 +02:00
Manuela Kuhn
04289b2009
py-keyrings-alt: add new package (#24704) 2021-07-05 12:45:29 +02:00
Manuela Kuhn
d764b776d7
py-patool: add new package (#24703) 2021-07-05 12:44:59 +02:00
Manuela Kuhn
1cb2855054
py-iso8601: add new package (#24702) 2021-07-05 12:44:23 +02:00
Manuela Kuhn
95b0eb9fdd
py-num2words: add new package (#24681) 2021-07-05 11:16:01 +02:00