Commit graph

24613 commits

Author SHA1 Message Date
Adam J. Stewart
ace28e2ef5
pinentry: add gui multi-valued variant (#24717) 2021-07-09 14:26:02 +02:00
Manuela Kuhn
4a44f023e8
py-jupyter-server: add new package (#24777) 2021-07-09 11:37:08 +00:00
Olivier Cessenat
1b26c47cb8
latex2html: adding the famous LaTeX to HTML converter (#24750) 2021-07-09 13:17:43 +02:00
Manuela Kuhn
aeab3b2872
py-jupyter-packaging: add new package (#24751) 2021-07-09 13:16:43 +02:00
Cameron Smith
727f43f69f
simmetrix-simmodsuite: add v16.0-210623 and maintainer (#24763) 2021-07-09 13:08:04 +02:00
Robert Mijakovic
ba2e186f31
llvm: add v12.0.1 (#24803)
Co-authored-by: Robert Mijakovic <robert.mijakovic@lxp.lu>
2021-07-09 13:06:04 +02:00
Michele Mesiti
de8d4e9d9a
sombrero: add v2021-07-08, deprecate v1.0 (#24782) 2021-07-09 13:02:26 +02:00
Manuela Kuhn
01ca429c9a
py-tornado: add v6.1 (#24753) 2021-07-09 12:57:45 +02:00
Manuela Kuhn
83d0e20ae8
py-requests-unixsocket: add new package (#24764) 2021-07-09 12:57:32 +02:00
Manuela Kuhn
85b49f115f
py-anyio: add new package (#24765) 2021-07-09 12:57:20 +02:00
holrock
451f484c9a
ruby: add v3.0.2 (#24771) 2021-07-09 12:53:37 +02:00
Manuela Kuhn
bbd80e5cf3
py-jupyter-core: add v4.7.1 (#24768) 2021-07-09 12:53:13 +02:00
Manuela Kuhn
d8f655159a
py-jinja2: add 3.0.1 and +i18n variant (#24767) 2021-07-09 12:52:59 +02:00
Adam J. Stewart
94e5c1d078
py-pyrsistent: need link dep on python (#24788) 2021-07-09 11:58:51 +02:00
Robert Cohn
0b9b3f6f79
intel-oneapi-dpl: new package (#24793) 2021-07-09 11:56:02 +02:00
Axel Huebl
5b5f99bbd4
WarpX: add v21.07 (#24800) 2021-07-09 11:53:04 +02:00
Todd Gamblin
eff7f20118
mypy: move configuration to pyproject.toml (#24802)
This moves our `mypy` configuration from `.mypy.ini` to `.pyproject.toml`
and increases the minimum `mypy` version in the tests.

- [x] move `mypy` configuration to `pyproject.toml`
- [x] remove `.mypy.ini`
- [x] ensure that `mypy` version .900 or higher is used in tests
2021-07-09 11:52:23 +02:00
Seth R. Johnson
3fb5c13983
googletest: add v1.11 and "live at head", keep v1.10 the default (#24290)
Ideally a test-only dependency won't be in the build, but until then
mark the requirement of gtest up to 1.10. 

See e4s job failure at https://gitlab.spack.io/spack/spack/-/jobs/349959 .

Looks like 1.11 introduces some breaking incompatibilities, so perhaps
we should transition later.
2021-07-09 10:57:37 +02:00
Stephen Herbein
57a9fb7610
flux: add latest tagged releases (#24687)
flux-core v0.21 requires jansson 2.10+

For more details, see:
a6086e021e
2021-07-09 10:55:06 +02:00
Nic McDonald
4c3005673e
abseil-cpp: add cxxstd variant (#24577) 2021-07-09 10:54:14 +02:00
Sebastian Schmitt
89b57929f2
Update pox (#24635)
* Update pox

* Add build and run
2021-07-08 21:42:26 -05:00
Todd Gamblin
24c01d57cf
imports: sort imports everywhere in Spack (#24695)
* fix remaining flake8 errors

* imports: sort imports everywhere in Spack

We enabled import order checking in #23947, but fixing things manually drives
people crazy. This used `spack style --fix --all` from #24071 to automatically
sort everything in Spack so PR submitters won't have to deal with it.

This should go in after #24071, as it assumes we're using `isort`, not
`flake8-import-order` to order things. `isort` seems to be more flexible and
allows `llnl` mports to be in their own group before `spack` ones, so this
seems like a good switch.
2021-07-08 22:12:30 +00:00
Paul Henning
620836a809
hdf5: Fix compiler identification for warning flags (#24627)
* Fix compiler test

Use `self.spec.satisfies` on compiler to determine if a flag should be
applied or not.  This approach avoids issues with the strings `gcc`
or `clang` appearing in the full path to the compiler executables, as
happens with spack-installed compilers (e.g. `nvhpc%gcc`).

* Limit compiler name search to last path component

@skosukhin pointed out that the cflag modification should happen for any
clang or gcc compiler, regardless of what compiler spec provides them.
This commit reverts to searching for a compiler name containing "gcc"
or "clang", but limits the search to the last path component, which
avoids matching spack-installed compilers built with gcc (e.g.
`nvhpc%gcc`), which will have "gcc" in the compiler path.

* Use `os.path` rather than `pathlib`

Co-authored-by: Paul Henning <phenning@lanl.gov>
2021-07-08 15:17:44 -04:00
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