summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2023-08-31 11:08:44 -0500
committerGitHub <noreply@github.com>2023-08-31 11:08:44 -0500
commit818195a3bd19a916c73f66695fb3bd7845f94a7d (patch)
tree3e3abe7b75a6e2c7112a9debb47aca6f12a3d924
parent679d41ea669c1a435c65447dee2b764623d6c318 (diff)
downloadspack-818195a3bd19a916c73f66695fb3bd7845f94a7d.tar.gz
spack-818195a3bd19a916c73f66695fb3bd7845f94a7d.tar.bz2
spack-818195a3bd19a916c73f66695fb3bd7845f94a7d.tar.xz
spack-818195a3bd19a916c73f66695fb3bd7845f94a7d.zip
py-pandas: add v2.1.0 (#39707)
-rw-r--r--var/spack/repos/builtin/packages/py-pandas/package.py99
1 files changed, 52 insertions, 47 deletions
diff --git a/var/spack/repos/builtin/packages/py-pandas/package.py b/var/spack/repos/builtin/packages/py-pandas/package.py
index 1a46b9a9c6..7af6d95e82 100644
--- a/var/spack/repos/builtin/packages/py-pandas/package.py
+++ b/var/spack/repos/builtin/packages/py-pandas/package.py
@@ -17,6 +17,7 @@ class PyPandas(PythonPackage):
maintainers("adamjstewart")
+ version("2.1.0", sha256="62c24c7fc59e42b775ce0679cfa7b14a5f9bfb7643cfbe708c960699e05fb918")
version("2.0.3", sha256="c02f372a88e0d17f36d3093a644c73cfc1788e876a7c4bcb4020a77512e2043c")
version("2.0.2", sha256="dd5476b6c3fe410ee95926873f377b856dbc4e81a9c605a0dc05aaccc6a7c6c6")
version("2.0.1", sha256="19b8e5270da32b41ebf12f0e7165efa7024492e9513fb46fb631c5022ae5709d")
@@ -61,70 +62,74 @@ class PyPandas(PythonPackage):
version("0.24.2", sha256="4f919f409c433577a501e023943e582c57355d50a724c589e78bc1d551a535a2")
version("0.24.1", sha256="435821cb2501eabbcee7e83614bd710940dc0cf28b5afbc4bdb816c31cec71af")
version("0.23.4", sha256="5b24ca47acf69222e82530e89111dd9d14f9b970ab2cd3a1c2c78f0c4fbba4f4")
- version("0.21.1", sha256="c5f5cba88bf0659554c41c909e1f78139f6fce8fa9315a29a23692b38ff9788a")
- version("0.20.0", sha256="54f7a2bb2a7832c0446ad51d779806f07ec4ea2bb7c9aea4b83669fa97e778c4")
- version("0.19.2", sha256="6f0f4f598c2b16746803c8bafef7c721c57e4844da752d36240c0acf97658014")
- version("0.19.0", sha256="4697606cdf023c6b7fcb74e48aaf25cf282a1a00e339d2d274cf1b663748805b")
- version("0.18.0", sha256="c975710ce8154b50f39a46aa3ea88d95b680191d1d9d4b5dd91eae7215e01814")
- version("0.16.1", sha256="570d243f8cb068bf780461b9225d2e7bef7c90aa10d43cf908fe541fc92df8b6")
- version("0.16.0", sha256="4013de6f8796ca9d2871218861823bd9878a8dfacd26e08ccf9afdd01bbad9f1")
# Required dependencies
# https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html#python-version-support
- depends_on("python@3.8:", type=("build", "run"), when="@1.4:")
- depends_on("python@3.7.1:", type=("build", "run"), when="@1.2:")
- depends_on("python@3.6.1:", type=("build", "run"), when="@1:")
- depends_on("python@3.5.3:", type=("build", "run"), when="@0.25:")
+ depends_on("python@3.9:3.11", when="@2.1:", type=("build", "run"))
+ depends_on("python@3.8:3.11", when="@1.5:2.0", type=("build", "run"))
+ depends_on("python@3.8:3.10", when="@1.4", type=("build", "run"))
+ depends_on("python@:3.10", when="@1.3.3:1.3", type=("build", "run"))
+ depends_on("python@:3.9", when="@1.1.3:1.3.2", type=("build", "run"))
+ depends_on("python@:3.8", when="@0.25.2:1.1.2", type=("build", "run"))
+ depends_on("python@:3.7", when="@:0.25.1", type=("build", "run"))
# pyproject.toml
- depends_on("py-setuptools@61:", type="build", when="@2:")
- depends_on("py-setuptools@51:", type="build", when="@1.3.2:")
- depends_on("py-setuptools@38.6:", type="build", when="@1.3:")
- depends_on("py-setuptools@24.2:", type="build")
- depends_on("py-cython@0.29.33:2", type="build", when="@2:")
- depends_on("py-cython@0.29.32:2", type="build", when="@1.4.4:")
- depends_on("py-cython@0.29.30:2", type="build", when="@1.4.3:")
- depends_on("py-cython@0.29.24:2", type="build", when="@1.3.4:")
- depends_on("py-cython@0.29.21:2", type="build", when="@1.1.3:")
- depends_on("py-cython@0.29.16:2", type="build", when="@1.1:")
- depends_on("py-cython@0.29.13:2", type="build", when="@1:")
- depends_on("py-versioneer+toml", type="build", when="@2:")
+ depends_on("py-meson-python@0.13.1", when="@2.1:", type="build")
+ depends_on("meson@1.0.1", when="@2.1:", type="build")
+ depends_on("py-cython@0.29.33:2", when="@2:", type="build")
+ depends_on("py-cython@0.29.32:2", when="@1.4.4:", type="build")
+ depends_on("py-cython@0.29.30:2", when="@1.4.3:", type="build")
+ depends_on("py-cython@0.29.24:2", when="@1.3.4:", type="build")
+ depends_on("py-cython@0.29.21:2", when="@1.1.3:", type="build")
+ depends_on("py-cython@0.29.16:2", when="@1.1:", type="build")
+ depends_on("py-cython@0.29.13:2", when="@1:", type="build")
+ depends_on("py-versioneer+toml", when="@2:", type="build")
# https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html#dependencies
- depends_on("py-numpy@1.20.3:", type=("build", "run"), when="@1.5:")
- depends_on("py-numpy@1.18.5:", type=("build", "run"), when="@1.4:")
- depends_on("py-numpy@1.17.3:", type=("build", "run"), when="@1.3:")
- depends_on("py-numpy@1.16.5:", type=("build", "run"), when="@1.2:")
- depends_on("py-numpy@1.15.4:", type=("build", "run"), when="@1.1:")
- depends_on("py-numpy@1.13.3:", type=("build", "run"), when="@0.25:")
+ depends_on("py-numpy@1.22.4:", when="@2.1:", type=("build", "run"))
+ depends_on("py-numpy@1.20.3:", when="@1.5:", type=("build", "run"))
+ depends_on("py-numpy@1.18.5:", when="@1.4:", type=("build", "run"))
+ depends_on("py-numpy@1.17.3:", when="@1.3:", type=("build", "run"))
+ depends_on("py-numpy@1.16.5:", when="@1.2:", type=("build", "run"))
+ depends_on("py-numpy@1.15.4:", when="@1.1:", type=("build", "run"))
+ depends_on("py-numpy@1.13.3:", when="@0.25:", type=("build", "run"))
depends_on("py-numpy", type=("build", "run"))
# 'NUMPY_IMPORT_ARRAY_RETVAL' was removed in numpy@1.19
- depends_on("py-numpy@:1.18", type=("build", "run"), when="@:0.25")
- depends_on("py-python-dateutil@2.8.2:", type=("build", "run"), when="@2:")
- depends_on("py-python-dateutil@2.8.1:", type=("build", "run"), when="@1.4:")
- depends_on("py-python-dateutil@2.7.3:", type=("build", "run"), when="@1.1:")
- depends_on("py-python-dateutil@2.6.1:", type=("build", "run"), when="@0.25:")
+ depends_on("py-numpy@:1.18", when="@:0.25", type=("build", "run"))
+ depends_on("py-python-dateutil@2.8.2:", when="@2:", type=("build", "run"))
+ depends_on("py-python-dateutil@2.8.1:", when="@1.4:", type=("build", "run"))
+ depends_on("py-python-dateutil@2.7.3:", when="@1.1:", type=("build", "run"))
+ depends_on("py-python-dateutil@2.6.1:", when="@0.25:", type=("build", "run"))
depends_on("py-python-dateutil", type=("build", "run"))
- depends_on("py-pytz@2020.1:", type=("build", "run"), when="@1.4:")
- depends_on("py-pytz@2017.3:", type=("build", "run"), when="@1.2:")
+ depends_on("py-pytz@2020.1:", when="@1.4:", type=("build", "run"))
+ depends_on("py-pytz@2017.3:", when="@1.2:", type=("build", "run"))
depends_on("py-pytz@2017.2:", type=("build", "run"))
- depends_on("py-tzdata@2022.1:", type=("build", "run"), when="@2:")
+ depends_on("py-tzdata@2022.1:", when="@2:", type=("build", "run"))
# Recommended dependencies
- # https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html#recommended-dependencies
- depends_on("py-numexpr@2.7.3:", type=("build", "run"), when="@1.5:")
- depends_on("py-numexpr@2.7.1:", type=("build", "run"), when="@1.4:")
- depends_on("py-numexpr@2.7.0:", type=("build", "run"), when="@1.3:")
- depends_on("py-numexpr@2.6.8:", type=("build", "run"), when="@1.2:")
- depends_on("py-numexpr@2.6.2:", type=("build", "run"), when="@0.25:")
+ # https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html#performance-dependencies-recommended
+ depends_on("py-numexpr@2.8.0:", when="@2.1:", type=("build", "run"))
+ depends_on("py-numexpr@2.7.3:", when="@1.5:", type=("build", "run"))
+ depends_on("py-numexpr@2.7.1:", when="@1.4:", type=("build", "run"))
+ depends_on("py-numexpr@2.7.0:", when="@1.3:", type=("build", "run"))
+ depends_on("py-numexpr@2.6.8:", when="@1.2:", type=("build", "run"))
+ depends_on("py-numexpr@2.6.2:", when="@0.25:", type=("build", "run"))
depends_on("py-numexpr", type=("build", "run"))
- depends_on("py-bottleneck@1.3.2:", type=("build", "run"), when="@1.5:")
- depends_on("py-bottleneck@1.3.1:", type=("build", "run"), when="@1.4:")
- depends_on("py-bottleneck@1.2.1:", type=("build", "run"), when="@0.25:")
+ depends_on("py-bottleneck@1.3.4:", when="@2.1:", type=("build", "run"))
+ depends_on("py-bottleneck@1.3.2:", when="@1.5:", type=("build", "run"))
+ depends_on("py-bottleneck@1.3.1:", when="@1.4:", type=("build", "run"))
+ depends_on("py-bottleneck@1.2.1:", when="@0.25:", type=("build", "run"))
depends_on("py-bottleneck", type=("build", "run"))
- depends_on("py-numba@0.53.1:", type=("build", "run"), when="@2:")
+ depends_on("py-numba@0.55.2:", when="@2.1:", type=("build", "run"))
+ depends_on("py-numba@0.53.1:", when="@2.0:", type=("build", "run"))
# Optional dependencies
# https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html#optional-dependencies
+ # Historical dependencies
+ depends_on("py-setuptools@61:", when="@2.0", type="build")
+ depends_on("py-setuptools@51:", when="@1.3.2:1", type="build")
+ depends_on("py-setuptools@38.6:", when="@1.3.0:1.3.1", type="build")
+ depends_on("py-setuptools@24.2:", when="@:1.2", type="build")
+
skip_modules = ["pandas.tests", "pandas.plotting._matplotlib", "pandas.core._numba.kernels"]