pyarrow: add versions up to v14.0.2 (#42109)

* pyarrow: add versions up to v14.0.2

* arrow: add v14.0.2
This commit is contained in:
Thomas Bouvier 2024-01-17 14:26:49 +01:00 committed by GitHub
parent d94b7b9033
commit 799ab6974c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 23 additions and 8 deletions

View file

@ -17,6 +17,7 @@ class Arrow(CMakePackage, CudaPackage):
license("Apache-2.0")
version("14.0.2", sha256="07cdb4da6795487c800526b2865c150ab7d80b8512a31793e6a7147c8ccd270f")
version("14.0.1", sha256="a48e54a09d58168bc04d86b13e7dab04f0aaba18a6f7e4dadf3e9c7bb835c8f1")
version("14.0.0", sha256="39e3388bbaba23faa7a5e8a82ebba7fe4c38ace2c394d6a3f26559715b30f401")
version("13.0.0", sha256="99c27e6a517c750f29c3e6b264836e31251bb8e978dbbf11316680ca3eb8ebda")

View file

@ -16,8 +16,14 @@ class PyPyarrow(PythonPackage, CudaPackage):
pypi = "pyarrow/pyarrow-0.17.1.tar.gz"
git = "https://github.com/apache/arrow"
maintainers("thomas-bouvier")
license("Apache-2.0")
version("14.0.2", sha256="36cef6ba12b499d864d1def3e990f97949e0b79400d08b7cf74504ffbd3eb025")
version("13.0.0", sha256="83333726e83ed44b0ac94d8d7a21bbdee4a05029c3b1e8db58a863eec8fd8a33")
version("12.0.1", sha256="cce317fc96e5b71107bf1f9f184d5e54e2bd14bbf3f9a3d62819961f0af86fec")
version("11.0.0", sha256="5461c57dbdb211a632a48facb9b39bbeb8a7905ec95d768078525283caef5f6d")
version("10.0.1", sha256="1a14f57a5f472ce8234f2964cd5184cccaa8df7e04568c64edc33b23eb285dd5")
version("8.0.0", sha256="4a18a211ed888f1ac0b0ebcb99e2d9a3e913a481120ee9b1fe33d3fedb945d4e")
version("7.0.0", sha256="da656cad3c23a2ebb6a307ab01d35fce22f7850059cffafcb90d12590f8f4f38")
@ -37,21 +43,25 @@ class PyPyarrow(PythonPackage, CudaPackage):
depends_on("cmake@3.0.0:", type="build")
depends_on("pkgconfig", type="build")
depends_on("python@3.8:", type=("build", "run"), when="@13:")
depends_on("python@3.7:", type=("build", "run"), when="@7:")
depends_on("python@3.6:", type=("build", "run"), when="@3:")
depends_on("python@3.5:", type=("build", "run"), when="@0.17:")
depends_on("python@3.6:", type=("build", "run"), when="@3.0.0:")
depends_on("python@3.7:", type=("build", "run"), when="@7.0.0:")
depends_on("py-setuptools", type="build")
depends_on("py-setuptools@38.6.0:", type="build", when="@7.0.0:")
depends_on("py-setuptools@40.1.0:", type="build", when="@10.0.1:")
depends_on("py-setuptools-scm", type="build", when="@0.15.0:")
depends_on("py-setuptools@38.6.0:", type="build", when="@7:")
depends_on("py-setuptools-scm@:7", type="build", when="@0.15:")
depends_on("py-cython", type="build")
depends_on("py-cython@0.29:", type="build", when="@0.15.0:")
depends_on("py-cython@0.29.22:", type="build", when="@8.0.0:")
depends_on("py-cython@0.29.31:", type="build", when="@14:")
depends_on("py-cython@0.29.31:2", type="build", when="@12:13")
depends_on("py-cython@0.29.22:2", type="build", when="@8:11")
depends_on("py-cython@0.29:2", type="build", when="@0.15:7")
depends_on("py-cython@:2", type="build", when="@:0.14")
# in newer pip versions --install-option does not exist
depends_on("py-pip@:23.0", type="build")
depends_on("py-numpy@1.14:", type=("build", "run"), when="@0.15.0:")
depends_on("py-numpy@1.16.6:", type=("build", "run"), when="@3.0.0:")
depends_on("py-numpy@1.16.6:", type=("build", "run"), when="@3:")
depends_on("py-numpy@1.14:", type=("build", "run"), when="@0.15:")
arrow_versions = (
"@0.9.0",
@ -64,6 +74,10 @@ class PyPyarrow(PythonPackage, CudaPackage):
"@7.0.0",
"@8.0.0",
"@10.0.1",
"@11.0.0",
"@12.0.1",
"@13.0.0",
"@14.0.2",
)
for v in arrow_versions:
depends_on("arrow+python" + v, when=v)