diff --git a/bluebrain/repo-bluebrain/packages/py-connectome-manipulator/dependencies.patch b/bluebrain/repo-bluebrain/packages/py-connectome-manipulator/dependencies.patch new file mode 100644 index 00000000000000..1120d074f9d93d --- /dev/null +++ b/bluebrain/repo-bluebrain/packages/py-connectome-manipulator/dependencies.patch @@ -0,0 +1,44 @@ +diff --git a/setup.py b/setup.py +index b01db74160e3a30fe28fda59c435bd8d78b2685f..9229b74e1429419c1c4dd8badf3bcec7105dd604 100644 +--- a/setup.py ++++ b/setup.py +@@ -32,19 +32,19 @@ + license="Apache-2", + install_requires=[ + "bluepysnap==3.0.1", +- "numpy==1.24.3", +- "pandas==2.0.2", +- "progressbar==2.5", +- "pyarrow==14.0.1", +- "scipy==1.10.1", +- "scikit-learn==1.5.0", +- "voxcell==3.1.5", +- "tables==3.8.0", # Optional dependency of pandas.DataFrame.to_hdf() +- "distributed==2023.6.0", # Dask +- "dask-mpi==2022.4.0", ++ "numpy>=1.24.3", ++ "pandas>=1.5.3", ++ "progressbar>=2.5", ++ "pyarrow>=10.0.1", ++ "scipy>=1.10.1", ++ "scikit-learn>=1.3.2", ++ "voxcell>=3.1.5", ++ "tables>=3.8.0", # Optional dependency of pandas.DataFrame.to_hdf() ++ "distributed>=2023.4.1", # Dask ++ "dask-mpi>=2022.4.0", + ], + packages=find_packages(), +- python_requires="==3.10.*", ++ python_requires=">=3.10", + extras_require={"docs": ["sphinx", "sphinx-bluebrain-theme"]}, + entry_points={ + "console_scripts": [ +@@ -59,6 +59,8 @@ + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", ++ "Programming Language :: Python :: 3.11", ++ "Programming Language :: Python :: 3.12", + "Topic :: Scientific/Engineering", + "Topic :: Scientific/Engineering :: Bio-Informatics", + ], diff --git a/bluebrain/repo-bluebrain/packages/py-connectome-manipulator/package.py b/bluebrain/repo-bluebrain/packages/py-connectome-manipulator/package.py index af6a02f1569bc4..6bb8a666e6a522 100644 --- a/bluebrain/repo-bluebrain/packages/py-connectome-manipulator/package.py +++ b/bluebrain/repo-bluebrain/packages/py-connectome-manipulator/package.py @@ -11,9 +11,9 @@ class PyConnectomeManipulator(PythonPackage): """Connectome generator tool.""" homepage = "https://github.com/BlueBrain/connectome-manipulator" - git = "https://github.com/BlueBrain/connectome-manipulator.git" + pypi = "connectome-manipulator/connectome_manipulator-1.0.0.tar.gz" - version("0.0.10", tag="connectome-manipulator-v0.0.10") + version("1.0.1", sha256="6908e8a19681da9beda577d4f9e6f0fa518060f2a66b76a1ca0027b30478ac40") # FIXME variant( "convert", @@ -24,13 +24,13 @@ class PyConnectomeManipulator(PythonPackage): depends_on("parquet-converters@0.8.0:", type="run", when="+convert") depends_on("py-bluepysnap@3.0.1:", type=("build", "run")) - depends_on("py-numpy", type=("build", "run")) - depends_on("py-pandas", type=("build", "run")) - depends_on("py-progressbar", type=("build", "run")) - depends_on("py-scipy", type=("build", "run")) - depends_on("py-scikit-learn", type=("build", "run")) - depends_on("py-voxcell", type=("build", "run")) - depends_on("py-pyarrow+parquet+dataset", type=("build", "run")) - depends_on("py-distributed", type=("build", "run")) - depends_on("py-dask-mpi", type=("build", "run")) - depends_on("py-tables", type=("build", "run")) + depends_on("py-numpy@1.24.3:", type=("build", "run")) + depends_on("py-pandas@1.5.3:", type=("build", "run")) + depends_on("py-progressbar@2.5:", type=("build", "run")) + depends_on("py-scipy@1.10.1:", type=("build", "run")) + depends_on("py-scikit-learn@1.3.2:", type=("build", "run")) + depends_on("py-voxcell@3.1.5:", type=("build", "run")) + depends_on("py-pyarrow+parquet+dataset@10.0.1:", type=("build", "run")) + depends_on("py-distributed@2023.4.1:", type=("build", "run")) + depends_on("py-dask-mpi@2022.4.0:", type=("build", "run")) + depends_on("py-tables@3.8.0:", type=("build", "run"))