summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-07-30 17:16:32 -0500
committerGitHub <noreply@github.com>2019-07-30 17:16:32 -0500
commitdb2bbbcecf19783081d627e24bd21df851da74bd (patch)
tree47ba5415d4f1cbbac491941bf2a7caba0efedbd8
parent59e9541386d509cc62febdf80950ce60c384cc0d (diff)
downloadspack-db2bbbcecf19783081d627e24bd21df851da74bd.tar.gz
spack-db2bbbcecf19783081d627e24bd21df851da74bd.tar.bz2
spack-db2bbbcecf19783081d627e24bd21df851da74bd.tar.xz
spack-db2bbbcecf19783081d627e24bd21df851da74bd.zip
Add pandas 0.25.0 (#12173)
-rw-r--r--var/spack/repos/builtin/packages/py-pandas/package.py42
1 files changed, 37 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/py-pandas/package.py b/var/spack/repos/builtin/packages/py-pandas/package.py
index df9b2d63a6..4da6ba3cc9 100644
--- a/var/spack/repos/builtin/packages/py-pandas/package.py
+++ b/var/spack/repos/builtin/packages/py-pandas/package.py
@@ -17,8 +17,24 @@ class PyPandas(PythonPackage):
"""
homepage = "http://pandas.pydata.org/"
- url = "https://pypi.io/packages/source/p/pandas/pandas-0.19.0.tar.gz"
+ url = "https://pypi.io/packages/source/p/pandas/pandas-0.25.0.tar.gz"
+ maintainers = ['adamjstewart']
+ import_modules = [
+ 'pandas', 'pandas.compat', 'pandas.core', 'pandas.util', 'pandas.io',
+ 'pandas.tseries', 'pandas._libs', 'pandas.plotting', 'pandas.arrays',
+ 'pandas.api', 'pandas.errors', 'pandas._config', 'pandas.compat.numpy',
+ 'pandas.core.reshape', 'pandas.core.tools', 'pandas.core.util',
+ 'pandas.core.dtypes', 'pandas.core.groupby', 'pandas.core.internals',
+ 'pandas.core.computation', 'pandas.core.arrays', 'pandas.core.ops',
+ 'pandas.core.sparse', 'pandas.core.indexes', 'pandas.io.msgpack',
+ 'pandas.io.formats', 'pandas.io.excel', 'pandas.io.json',
+ 'pandas.io.sas', 'pandas.io.clipboard', 'pandas._libs.tslibs',
+ 'pandas.plotting._matplotlib', 'pandas.api.types',
+ 'pandas.api.extensions'
+ ]
+
+ version('0.25.0', sha256='914341ad2d5b1ea522798efa4016430b66107d05781dbfe7cf05eba8f37df995')
version('0.24.2', sha256='4f919f409c433577a501e023943e582c57355d50a724c589e78bc1d551a535a2')
version('0.24.1', sha256='435821cb2501eabbcee7e83614bd710940dc0cf28b5afbc4bdb816c31cec71af')
version('0.23.4', sha256='5b24ca47acf69222e82530e89111dd9d14f9b970ab2cd3a1c2c78f0c4fbba4f4')
@@ -30,10 +46,26 @@ class PyPandas(PythonPackage):
version('0.16.1', 'fac4f25748f9610a3e00e765474bdea8')
version('0.16.0', 'bfe311f05dc0c351f8955fbd1e296e73')
- depends_on('py-python-dateutil', type=('build', 'run'))
+ # https://dev.pandas.io/install.html#dependencies
+ # Required dependencies
+ depends_on('python@3.5.3:', type=('build', 'run'), when='@0.25:')
+ depends_on('py-setuptools@24.2.0:', type='build')
depends_on('py-numpy', type=('build', 'run'))
- depends_on('py-setuptools', type='build')
- depends_on('py-cython', type='build')
- depends_on('py-pytz', type=('build', 'run'))
+ depends_on('py-numpy@1.13.3:', type=('build', 'run'), when='@0.25:')
+ depends_on('py-python-dateutil', type=('build', 'run'))
+ depends_on('py-python-dateutil@2.6.1:', type=('build', 'run'), when='@0.25:')
+ depends_on('py-pytz@2017.2:', type=('build', 'run'))
+
+ # Recommended dependencies
depends_on('py-numexpr', type=('build', 'run'))
+ depends_on('py-numexpr@2.6.2:', type=('build', 'run'), when='@0.25:')
depends_on('py-bottleneck', type=('build', 'run'))
+ depends_on('py-bottleneck@1.2.1:', type=('build', 'run'), when='@0.25:')
+
+ # Optional dependencies
+ # https://dev.pandas.io/install.html#optional-dependencies
+
+ # Test dependencies
+ # https://dev.pandas.io/install.html#running-the-test-suite
+ depends_on('py-pytest@4.0.2:', type='test')
+ depends_on('py-hypothesis@3.58:', type='test')