summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2022-09-29 19:10:22 +0200
committerGitHub <noreply@github.com>2022-09-29 11:10:22 -0600
commit699f575976c2467cabbd79596181384d6d887517 (patch)
tree0d8940162c50c3f9efef701cf53f034b87a45126 /var
parent2ea7703d69225667c5cf7594ed6d427ae7e538b0 (diff)
downloadspack-699f575976c2467cabbd79596181384d6d887517.tar.gz
spack-699f575976c2467cabbd79596181384d6d887517.tar.bz2
spack-699f575976c2467cabbd79596181384d6d887517.tar.xz
spack-699f575976c2467cabbd79596181384d6d887517.zip
Add tag for xgboost 1.6.2 (#32896)
* Add tag for xgboost 1.6.2 * Update py-xgboost as well * Update package.py * Update var/spack/repos/builtin/packages/py-xgboost/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-xgboost/package.py3
-rw-r--r--var/spack/repos/builtin/packages/xgboost/package.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-xgboost/package.py b/var/spack/repos/builtin/packages/py-xgboost/package.py
index 368df90ba4..6338133fcb 100644
--- a/var/spack/repos/builtin/packages/py-xgboost/package.py
+++ b/var/spack/repos/builtin/packages/py-xgboost/package.py
@@ -18,6 +18,7 @@ class PyXgboost(PythonPackage):
maintainers = ["adamjstewart"]
import_modules = ["xgboost"]
+ version("1.6.2", sha256="e1f5c91ba88cf8edb409d7fd2ca150dcd80b6f2115587d87365f0c10b2d4f009")
version("1.6.1", sha256="24072028656f3428e7b8aabf77340ece057f273e41f7f85d67ccaefb7454bb18")
version("1.5.2", sha256="404dc09dca887ef5a9bc0268f882c54b33bfc16ac365a859a11e7b24d49da387")
version("1.3.3", sha256="397051647bb837915f3ff24afc7d49f7fca57630ffd00fb5ef66ae2a0881fb43")
@@ -29,7 +30,7 @@ class PyXgboost(PythonPackage):
variant("dask", default=False, description="Enables Dask extensions for distributed training.")
variant("plotting", default=False, description="Enables tree and importance plotting.")
- for ver in ["1.3.3", "1.5.2", "1.6.1"]:
+ for ver in ["1.3.3", "1.5.2", "1.6.1", "1.6.2"]:
depends_on("xgboost@" + ver, when="@" + ver)
depends_on("python@3.7:", when="@1.6:", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/xgboost/package.py b/var/spack/repos/builtin/packages/xgboost/package.py
index b4d737eba7..21744926ce 100644
--- a/var/spack/repos/builtin/packages/xgboost/package.py
+++ b/var/spack/repos/builtin/packages/xgboost/package.py
@@ -22,6 +22,7 @@ class Xgboost(CMakePackage, CudaPackage):
maintainers = ["adamjstewart"]
version("master", branch="master", submodules=True)
+ version("1.6.2", tag="v1.6.2", submodules=True)
version("1.6.1", tag="v1.6.1", submodules=True)
version("1.5.2", tag="v1.5.2", submodules=True)
version("1.3.3", tag="v1.3.3", submodules=True)