Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 72b47e7

Browse files
authoredJul 15, 2024··
py-functionalizer: new package to replace spykfunc (#2480)
1 parent 9d28816 commit 72b47e7

File tree

3 files changed

+50
-3
lines changed

3 files changed

+50
-3
lines changed
 

‎bluebrain/deployment/environments/applications_hpc.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ spack:
1313
- py-archive-advisor
1414
- py-basalt
1515
- py-brain-indexer
16+
- py-functionalizer
1617
- py-mvdtool
1718
- py-neurodamus
1819
- py-pytouchreader
@@ -47,9 +48,10 @@ spack:
4748
- parquet-converters
4849
- py-archive-advisor
4950
- py-brain-indexer
51+
- py-functionalizer
5052
- py-neurodamus
5153
- py-pytouchreader
52-
- spykfunc
54+
- spykfunc@0.19.0
5355
- spykfunc@0.18.7
5456
- steps
5557
- synapsetool
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
##############################################################################
2+
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
3+
# Spack Project Developers. See the top-level COPYRIGHT file for details.
4+
#
5+
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
6+
from spack.package import *
7+
8+
9+
class PyFunctionalizer(PythonPackage):
10+
"""Functionalizer - Spark functionalizer developed by Blue Brain Project, EPFL"""
11+
12+
homepage = "https://github.com/BlueBrain/functionalizer"
13+
pypi = "functionalizer/functionalizer-1.0.0.tar.gz"
14+
15+
version("1.0.0", sha256="c62754fcf41e29729386c23cefb0dd57b449ac27c0b47ba5e2e4b2776c517494")
16+
17+
depends_on("py-cmake", type="build")
18+
depends_on("py-ninja", type="build")
19+
depends_on("py-scikit-build-core+pyproject", type="build")
20+
depends_on("py-setuptools-scm", type="build")
21+
22+
depends_on("spark+hadoop@3.0.0:", type="run")
23+
depends_on("hadoop@3:", type="run")
24+
25+
depends_on("py-docopt", type=("build", "run"))
26+
depends_on("py-future", type=("build", "run"))
27+
depends_on("py-fz-td-recipe@0.2:", type=("build", "run"))
28+
# h5py needed for morphologies before, and to supplement libSONATA due
29+
# to missing API functionality
30+
depends_on("py-h5py", type=("build", "run"))
31+
depends_on("py-hdfs", type=("build", "run"))
32+
depends_on("py-jprops", type=("build", "run"))
33+
depends_on("py-libsonata@0.1.17:", type=("build", "run"))
34+
depends_on("py-lxml", type=("build", "run"))
35+
depends_on("py-morphio", type=("build", "run"))
36+
depends_on("py-mpi4py", type=("build", "run"))
37+
depends_on("py-numpy", type=("build", "run"))
38+
depends_on("py-packaging", type=("build", "run"))
39+
depends_on("py-pandas", type=("build", "run"))
40+
depends_on("py-pyarrow+dataset+parquet@3.0.0:", type=("build", "run"))
41+
depends_on("py-pyspark@3.0.0:", type=("build", "run"))
42+
43+
def setup_run_environment(self, env):
44+
env.set("SPARK_HOME", self.spec["spark"].prefix)
45+
env.set("HADOOP_HOME", self.spec["hadoop"].prefix)

‎bluebrain/repo-bluebrain/packages/spykfunc/package.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ class Spykfunc(PythonPackage):
1515

1616
submodules = True
1717

18-
version("develop", branch="main")
18+
version("develop", branch="main", deprecated=True)
1919
version("0.19.0", tag="v0.19.0")
2020
version("0.18.7", tag="v0.18.7")
21-
version("0.18.6", tag="v0.18.6")
21+
version("0.18.6", tag="v0.18.6", deprecated=True)
2222

2323
depends_on("cmake", type="build")
2424
depends_on("ninja", type="build")

0 commit comments

Comments
 (0)
This repository has been archived.