summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wolf <m+git@sushinara.net>2023-01-25 18:33:04 +0100
committerGitHub <noreply@github.com>2023-01-25 11:33:04 -0600
commitd4d200952e8df8c6b84f5cf65cdc71280a03884a (patch)
tree9862dcf5110a10df5d9c763a114ce0b730ffad66
parent902a40bf722e584bf70981c93b0c2814693a5100 (diff)
downloadspack-d4d200952e8df8c6b84f5cf65cdc71280a03884a.tar.gz
spack-d4d200952e8df8c6b84f5cf65cdc71280a03884a.tar.bz2
spack-d4d200952e8df8c6b84f5cf65cdc71280a03884a.tar.xz
spack-d4d200952e8df8c6b84f5cf65cdc71280a03884a.zip
py-flatten-dict: require poetry to build. (#35122)
* py-flatten-dict: require poetry to build. The sources seem to contain a bundled, auto-generated `setup.py`. Building with `pip` insist on using Poetry as mentioned in `pyproject.toml`, so require it as a build dependency. * Update var/spack/repos/builtin/packages/py-flatten-dict/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-flatten-dict/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-flatten-dict/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-flatten-dict/package.py b/var/spack/repos/builtin/packages/py-flatten-dict/package.py
index 4628115cba..89324fdff9 100644
--- a/var/spack/repos/builtin/packages/py-flatten-dict/package.py
+++ b/var/spack/repos/builtin/packages/py-flatten-dict/package.py
@@ -16,7 +16,7 @@ class PyFlattenDict(PythonPackage):
version("0.3.0", sha256="0ccc43f15c7c84c5ef387ad19254f6769a32d170313a1bcbf4ce582089313d7e")
- depends_on("python@2.7:2.8,3.5:", type=("build", "run"))
- depends_on("py-setuptools", type="build")
+ depends_on("python@2.7,3.5:3", type=("build", "run"))
+ depends_on("py-poetry@1:", type="build")
depends_on("py-six@1.12:1", type=("build", "run"))
depends_on("py-pathlib2@2.3:2", type=("build", "run"))