summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-01-04Use "vendoring" to manage 3rd party dependenciesMassimiliano Culpo10-70/+92
2023-01-04add_new_package: py-file-magic (#34486)Sinan1-0/+18
* add_new_package: py-file-magic * re-order depends... * Update var/spack/repos/builtin/packages/py-file-magic/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * [@spackbot] updating style on behalf of Sinan81 Co-authored-by: sbulut <sbulut@3vgeomatics.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Sinan81 <Sinan81@users.noreply.github.com>
2023-01-04Add py-svgpath and py-trimesh (#34471)Erik Heeren4-0/+111
* Add py-svgpath and dependency * Update copyright expiration * [@spackbot] updating style on behalf of heerener * Process review remarks * Update var/spack/repos/builtin/packages/py-trimesh/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Fix style issue * py-trimesh: cleanup and optional dependencies * Fix formatting issue * py-trimesh: complete dependency list for easy variant Two new packages: py-mapbox-earcut and py-pycollada * Some more missing dependencies Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-01-04e4s: move default values for rocm/cuda arch into packags:all:variants (#34772)Harmen Stoppels1-65/+58
2023-01-04set PREFIX in make() for some packages (#34773)Harmen Stoppels2-2/+4
2023-01-04Remove dead code that was needed for the old parser (#34792)Massimiliano Culpo1-7/+0
The old to token definitions and spec_id_re regular expression are not used anymore
2023-01-04Fix libvterm and libtermkey packages (#34776)Alberto Invernizzi2-4/+15
* fix PREFIX for both libvterm and libtermkey * minor: use libtool from dependency * switch to command-line prefix instead of replacing it in Makefile
2023-01-03new package: py-kb-python + dependencies (#34737)Glenn Johnson4-0/+119
* new package: py-kb-python + dependencies - py-loompy - py-ngs-tools - py-numpy-groupies * Update var/spack/repos/builtin/packages/py-kb-python/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-01-03py-shortuuid: add version 1.0.11 (#34739)Glenn Johnson1-2/+5
* py-shortuuid: add version 1.0.11 * Update var/spack/repos/builtin/packages/py-shortuuid/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-01-03LLVM: Update HWLOC dep version (#34780)kwryankrattiger1-0/+1
2023-01-03jube: Add versions 2.5.0 and 2.5.1 (#34783)Sebastian Grabowski1-0/+12
* jube: Add 2.5.0 and 2.5.1 * jube: Depend on py-pyyaml
2023-01-03Windows: package defaults and MPI detection (#34614)John W. Parent2-4/+30
* Update packages config to indicate that MSVC is the preferred compiler * Update packages config to indicate that msmpi is the preferred MPI provider * Fix msmpi external detection
2023-01-03scr: require spath+mpi (#34775)Harmen Stoppels1-1/+1
It includes `spath_mpi.h` explicitly, and in some concretizations results in a build failure. (Don't ask me why the concretizer picks `spath~mpi`).
2023-01-02gmake: 4.4, remove alpha release (#34709)Harmen Stoppels1-22/+4
2023-01-02environment view use new traversal (#34662)Harmen Stoppels1-11/+11
2023-01-02votca: add v2022.1 (#34650)Christoph Junghans1-0/+1
2023-01-02pixman: new versions 0.42.0, 0.42.2 (#34723)Wouter Deconinck1-0/+2
This fixes, [among other things](https://lists.freedesktop.org/archives/pixman/2022-October/004993.html), a [bug](https://issuetracker.google.com/issues/249834910) in 0.40.0 that prevents building with oneapi.
2023-01-02py-sphinx: add v6.0.0 (#34724)Adam J. Stewart1-8/+9
2023-01-02libxau: add libs property (#34288)Glenn Johnson1-0/+4
2023-01-02r-affyio: add zlib dependency (#34743)Glenn Johnson1-0/+1
2023-01-02r-cairo: add needed dependency on libxt (#34744)Glenn Johnson1-0/+1
2023-01-02r-hdf5array: add needed dependency on zlib (#34745)Glenn Johnson1-0/+1
2023-01-02r-rhdf5: add needed zlib dependency (#34746)Glenn Johnson1-0/+1
2023-01-02r-rhdf5filters: add needed zlib dependency (#34747)Glenn Johnson1-0/+1
2023-01-02r-rhdf5lib: add needed zlib dependency (#34748)Glenn Johnson1-0/+1
2023-01-02r-rjava: add needed zlib dependency (#34749)Glenn Johnson1-0/+1
2023-01-02r-rtracklayer: add zlib and openssl dependencies (#34750)Glenn Johnson1-0/+2
2023-01-02r-signac: added needed zlib dependency (#34751)Glenn Johnson1-0/+1
2023-01-02bcftools: add version 1.15.1 (#34752)Glenn Johnson1-0/+2
2023-01-02genrich: add needed zlib dependency (#34753)Glenn Johnson1-0/+2
2023-01-02mumax: Set NVCC_CCBIN to spack compiler wrapper (#34754)Glenn Johnson1-0/+1
2023-01-02openscenegraph: add dependency on fontconfig (#34755)Glenn Johnson1-0/+1
2023-01-02rsl: add needed dependency on rpc (#34756)Glenn Johnson1-0/+9
2023-01-02miniconda3: add 22.11.1 (#34761)Michael Kuhn1-0/+6
2023-01-02anaconda3: add 2022.10 (#34762)Michael Kuhn1-0/+5
2023-01-02mesa: new versions up to v22.3.2 (#34760)Wouter Deconinck1-3/+8
disable gallium-xvmc when @:22.2
2023-01-02amrex: add v23.01 and v22.12 (#34764)Weiqun Zhang1-1/+5
Since amrex@22.12, CUDA >= 11 is needed for C++17 support. Since amrex@23.01 oneAPI >= 2023 is needed for SYCL 2020.
2023-01-02dd4hep: depends_on root +x +opengl when +utilityapps (#34765)Wouter Deconinck1-0/+1
UtilityApps builds teveDisplay and fails when ROOT has no ROOT::Gui and ROOT::Eve targets.
2023-01-02singularity: bugfix add space between prefix and other options (#34766)Wouter Deconinck1-1/+1
This fixes two issues introduced in #34474: prefix got the next option appended, and property was not resolved without the self.
2023-01-02emacs: json variant & cleanup (#34665)Peter Brady1-14/+9
Co-authored-by: Harmen Stoppels <me@harmenstoppels.nl>
2023-01-02add conduit 0.8.5 release and caliper variant (#34669)Cyrus Harrison1-0/+18
2023-01-02libpng static (#34578)Alex Richert1-0/+12
2023-01-02doxygen: use tarballs instead of git checkouts and add 1.9.5 (#34654)lorddavidiii1-18/+23
* doxygen: use tarballs instead of git checkouts and add 1.9.5 * Doxygen: add 1.9.6
2023-01-02libxc: add v6.0.0 (#34621)Rocco Meli1-0/+2
2023-01-01style: fix spurious `mypy` errors from `numpy` (#34732)Todd Gamblin1-3/+6
Spack imports `pytest`, which *can* import `numpy`. Recent versions of `numpy` require Python 3.8 or higher, and they use 3.8 type annotations in their type stubs (`.pyi` files). At the same time, we tell `mypy` to target Python 3.7, as we still support older versions of Python. What all this means is that if you run `mypy` on `spack`, `mypy` will follow all the static import statements, and it ends up giving you this error when it finds numpy stuff that is newer than the target Python version: ``` ==> Running mypy checks src/spack/var/spack/environments/default/.spack-env/._view/4g7jd4ibkg4gopv4rosq3kn2vsxrxm2f/lib/python3.11/site-packages/numpy/__init__.pyi:638: error: Positional-only parameters are only supported in Python 3.8 and greater [syntax] Found 1 error in 1 file (errors prevented further checking) mypy found errors ``` We can fix this by telling `mypy` to skip all imports of `numpy` in `pyproject.toml`: ```toml [[tool.mypy.overrides]] module = 'numpy' follow_imports = 'skip' follow_imports_for_stubs = true ``` - [x] don't follow imports from `numpy` in `mypy` - [x] get rid of old rule not to follow `jinja2` imports, as we now require Python 3
2022-12-31py-fisher: add version 0.1.10 (#34738)Glenn Johnson1-0/+2
2022-12-31py-youtube-dl: add version 2021.12.17 (#34740)Glenn Johnson1-0/+3
2022-12-30Simplify creation of test and install reports (#34712)Massimiliano Culpo11-322/+368
The code in Spack to generate install and test reports currently suffers from unneeded complexity. For instance, we have classes in Spack core packages, like `spack.reporters.CDash`, that need an `argparse.Namespace` to be initialized and have "hard-coded" string literals on which they branch to change their behavior: ```python if do_fn.__name__ == "do_test" and skip_externals: package["result"] = "skipped" else: package["result"] = "success" package["stdout"] = fetch_log(pkg, do_fn, self.dir) package["installed_from_binary_cache"] = pkg.installed_from_binary_cache if do_fn.__name__ == "_install_task" and installed_already: return ``` This PR attempt to polish the major issues encountered in both `spack.report` and `spack.reporters`. Details: - [x] `spack.reporters` is now a package that contains both the base class `Reporter` and all the derived classes (`JUnit` and `CDash`) - [x] Classes derived from `spack.reporters.Reporter` don't take an `argparse.Namespace` anymore as argument to `__init__`. The rationale is that code for commands should be built upon Spack core classes, not vice-versa. - [x] An `argparse.Action` has been coded to create the correct `Reporter` object based on command line arguments - [x] The context managers to generate reports from either `spack install` or from `spack test` have been greatly simplified, and have been made less "dynamic" in nature. In particular, the `collect_info` class has been deleted in favor of two more specific context managers. This allows for a simpler structure of the code, and less knowledge required to client code (in particular on which method to patch) - [x] The `InfoCollector` class has been turned into a simple hierarchy, so to avoid conditional statements within methods that assume a knowledge of the context in which the method is called.
2022-12-30mpl: add v0.2.1, v0.2.0 (#34716)Heiko Bauke1-1/+3
2022-12-30petsc, py-petsc4py: add v3.18.3 (#34725)Satish Balay2-0/+2