summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-10-18Added package py-python-oauth2, a dependency of py-jupyterhub@0.9.4. … ↵wspear1-0/+18
(#13140) * Added package py-python-oauth2, a dependency of py-jupyterhub@0.9.4. Depends on #13132, #13133 and #13134 * Remove optional dependencies
2019-10-17interproscan: add 5.38-76.0 (#13253)Justin S1-3/+5
2019-10-17satisfaction checks on dependencies should be strict when the parent check ↵Peter Scheibel1-1/+1
is strict (#13243)
2019-10-17Separate setting build environment and run environment in packages (#11115)Massimiliano Culpo14-213/+331
* Methods setting the environment now do it separately for build and run Before this commit the `*_environment` methods were setting modifications to both the build-time and run-time environment simultaneously. This might cause issues as the two environments inherently rely on different preconditions: 1. The build-time environment is set before building a package, thus the package prefix doesn't exist and can't be inspected 2. The run-time environment instead is set assuming the target package has been already installed Here we split each of these functions into two: one setting the build-time environment, one the run-time. We also adopt a fallback strategy that inspects for old methods and executes them as before, but prints a deprecation warning to tty. This permits to port packages to use the new methods in a distributed way, rather than having to modify all the packages at once. * Added a test that fails if any package uses the old API Marked the test xfail for now as we have a lot of packages in that state. * Added a test to check that a package modified by a PR is up to date This test can be used any time we deprecate a method call to ensure that during the first modification of the package we update also the deprecated calls. * Updated documentation
2019-10-17multimethods: avoid calling caller_locals() in Python 3 (#13238)Todd Gamblin2-10/+35
Python 3 metaclasses have a `__prepare__` method that lets us save the class's dictionary before it is constructed. In Python 2 we had to walk up the stack using our `caller_locals()` method to get at this. Using `__prepare__` is much faster as it doesn't require us to use `inspect`. This makes multimethods use the faster `__prepare__` method in Python3, while still using `caller_locals()` in Python 2. We try to reduce the use of caller locals using caching to speed up Python 2 a little bit.
2019-10-17python-editor: added new package at v1.0.4 (#13126)wspear1-0/+19
2019-10-16eospac: avoid conflict with linux's getopt (#13241)Christoph Junghans1-0/+5
* eospac: avoid conflict with linux's getopt * Update package.py
2019-10-16importing: make importlib_importer recognize .pyc cache (#13239)Todd Gamblin1-0/+6
Our importer was always parsing from source (which is considerably slower) because the source size recorded in the .pyc file differed from the size of the input file. Override path_stats in the prepending importer to fool it into thinking that the source size is the size *with* the prepended code.
2019-10-16filter_file: fix multiple invocations on the same file (#13234)Michael Kuhn2-2/+33
Since the backup file is only created on the first invocation, it will contain the original file without any modifications. Further invocations will then read the backup file, effectively reverting prior invocations. This can be reproduced easily by trying to install likwid, which will try to install into /usr/local. Work around this by creating a temporary file to read from.
2019-10-16Bugfix: stage directory permissions and cleaning (#12733)Tamara Dahlgren9-83/+297
* This updates stage names to use "spack-stage-" as a prefix. This avoids removing non-Spack directories in "spack clean" as c141e99 did (in this case so long as they don't contain the prefix "spack-stage-"), and also addresses a follow-up issue where Spack stage directories were not removed. * Spack now does more-stringent checking of expected permissions for staging directories. For a given stage root that includes a user component, all directories before the user component that are created by Spack are expected to match the permissions of their parent; the user component and all deeper directories are expected to be accessible to the user (read/write/execute).
2019-10-16add python version 3.8.0 (#13218)Jeffrey Salmond1-1/+2
2019-10-16expat: don't pick up external docbook (#13228)Christoph Junghans1-2/+2
2019-10-15add latest version of vim (#13203)Jeffrey Salmond1-0/+1
2019-10-15Feature: installed file verification (#12841)Greg Becker13-54/+791
This feature generates a verification manifest for each installed package and provides a command, "spack verify", which can be used to compare the current file checksums/permissions with those calculated at installed time. Verification includes * Checksums of files * File permissions * Modification time * File size Packages installed before this PR will be skipped during verification. To verify such a package you must reinstall it. The spack verify command has three modes. * With the -a,--all option it will check every installed package. * With the -f,--files option, it will check some specific files, determine which package they belong to, and confirm that they have not been changed. * With the -s,--specs option or by default, it will check some specific packages that no files havae changed.
2019-10-15hypre: add version 2.18.1 (#13224)Satish Balay1-0/+1
2019-10-15ADIOS2: Default no Python (#13220)Axel Huebl1-1/+1
Turn off the python variant by default.
2019-10-15lmod: module files are written in a root folder named by target family (#13121)Massimiliano Culpo3-1/+22
fixes #13005 This commit fixes an issue with the name of the root directory for module file hierarchies. Since #3206 the root folder was named after the microarchitecture used for the spec, which is too specific and not backward compatible for lmod hierarchies. Here we compute the root folder name using the target family instead of the target name itself and we add target information in the 'whatis' portion of the module file.
2019-10-15arborx: update v0.8-beta to v0.8-beta2 (#13143)Andrey Prokopenko1-8/+9
- Require Kokkos with c++14 - Update the case of CMake options
2019-10-15kokkos: add cxxstd variant (#13142)Andrey Prokopenko1-1/+10
2019-10-14Add version 0.177 of elfutils (#13129)Tim Haines1-1/+2
* Add version 0.177 * Fix spacing
2019-10-14ntpoly: Define module directry when compiling with Fujitsu compiler. (#13120)t-karatsu1-0/+3
* ntpoly: Define module directry when compiling with Fujitsu compiler. * Delete quotes.
2019-10-14filter_file uses "surrogateescape" error handling (#12765)Massimiliano Culpo5-6/+1602
From Python docs: -- 'surrogateescape' will represent any incorrect bytes as code points in the Unicode Private Use Area ranging from U+DC80 to U+DCFF. These private code points will then be turned back into the same bytes when the surrogateescape error handler is used when writing data. This is useful for processing files in an unknown encoding. -- This will allow us to process files with unknown encodings. To accommodate the case of self-extracting bash scripts, filter_file can now stop filtering text input if a certain marker is found. The marker must be passed at call time via the "stop_at" function argument. At that point the file will be reopened in binary mode and copied verbatim. * use "surrogateescape" error handling to ignore unknown chars * permit to stop filtering if a marker is found * add unit tests for non-ASCII and mixed text/binary files
2019-10-14bugfix: install --only dependencies works in env (#13090)Greg Becker4-19/+73
* bugfix: install --only dependents works in env includes regression testing
2019-10-14py-petsc4py: add version 3.12.0 (#13209)Satish Balay1-1/+3
* py-petsc4py: add version 3.12.0 * fix typo wrt maintainer
2019-10-14Complete cleanup of the adios2 package configuration (#13107)William F Godoy1-53/+49
Provide up to date specs for build options Remove non-production versions Format using autopep8 and flake8 Separate cmake options in adios2 2.4.0 version Keep default as True as much as possible Support for Python 2 and 3 for adios2 versions <= 2.4.0 Starting v2.5.0 only Python 3 is supported Addressing review suggestions
2019-10-14New ACTS versions (#12484)Hadrien G1-6/+9
* Add new ACTS releases * Update ACTS dependency requirements * We can actually be more specific here * The material plugin is gone as of ACTS v0.10.0 * Add 0.10.4 release * Remove material mapping plugin It was merged into core as of 0.10.x, and given ACTS' youth it is unlikely to have actual users at this point in time.
2019-10-14py-pymongo: added new package at version 3.9.0 (#13132)wspear1-0/+24
2019-10-14commands: add resource stats to `spack url stats` (#13205)Todd Gamblin2-65/+93
`spack url stats` now also looks at packages' resources when outputting statistics. Example: ``` $ spack url stats ==> URL stats for 3531 packages: -------------------------------------------------------------- stat versions % resources % -------------------------------------------------------------- url 8335 89.3% 339 89.0% schemes https 6489 69.5% 93 24.4% ftp 32 0.3% 8 2.1% http 1763 18.9% 237 62.2% file 51 0.5% 1 0.3% checksums md5 26 0.3% 0 0.0% sha256 8306 89.0% 336 88.2% no checksum 3 0.0% 3 0.8% -------------------------------------------------------------- go 1 0.0% 0 0.0% -------------------------------------------------------------- hg 7 0.1% 0 0.0% -------------------------------------------------------------- no code 4 0.0% 0 0.0% -------------------------------------------------------------- svn 4 0.0% 16 4.2% -------------------------------------------------------------- git 981 10.5% 26 6.8% branch 442 4.7% 4 1.0% commit 362 3.9% 14 3.7% no ref 36 0.4% 2 0.5% tag 141 1.5% 6 1.6% -------------------------------------------------------------- ```
2019-10-14py-alembic: fixed missing dependencies. (#13127)wspear1-0/+4
2019-10-14dialign: added new package at version 2.2.1 (#13130)Jeffrey Salmond1-0/+28
Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
2019-10-14py-smart-open: new package at 1.8.4 (#13135)Justin S1-0/+21
2019-10-14Fix svn tests, skip if svnadmin not found (#13137)Adam J. Stewart2-2/+4
2019-10-14py-python-memcached: added new package at version 1.59 (#13133)wspear1-0/+21
* Added package py-python-memcached, a dependency of python-oauth2 * Fixed line lengths
2019-10-14py-redis: added new package at version 3.3.8 (#13134)wspear1-0/+18
2019-10-13Add py-kiwisolver 1.1.0 (#13170)Adam J. Stewart1-1/+3
2019-10-13amrex: add version 19.10 (#13206)Satish Balay1-0/+1
2019-10-13slepc: use spack specified python in configure (#13207)Satish Balay1-1/+1
2019-10-13omega-h: add version 9.29.0 (#13208)Satish Balay1-0/+1
2019-10-13Add apr-util 1.6.1 (#13145)Adam J. Stewart1-1/+2
2019-10-13Add apr 1.7.0 (#13146)Adam J. Stewart1-1/+2
2019-10-13Add bison 3.4.2 (#13147)Adam J. Stewart1-2/+3
2019-10-13Add freetype 2.10.1 (#13149)Adam J. Stewart1-5/+6
2019-10-13Add libpng 1.6.37 (#13153)Adam J. Stewart1-16/+7
2019-10-13Add lz4 1.9.2 (#13155)Adam J. Stewart1-5/+6
2019-10-13Add mercurial 5.1.2 (#13156)Adam J. Stewart1-5/+14
2019-10-13Add subversion 1.12.2 (#13158)Adam J. Stewart1-53/+73
2019-10-13Add py-attrs 19.2.0 (#13163)Adam J. Stewart1-1/+3
2019-10-13Add py-cython 0.29.13 (#13166)Adam J. Stewart1-13/+15
2019-10-13Add py-docutils 0.15.2 (#13167)Adam J. Stewart1-2/+11
2019-10-13Add py-joblib 0.14.0 (#13169)Adam J. Stewart1-1/+4