-
Notifications
You must be signed in to change notification settings - Fork 639
py-plaid: add package #4925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
py-plaid: add package #4925
Changes from 4 commits
7741734
2741f04
e3f9069
3cb9e0a
c3add05
6618546
d47e06c
ef08888
5d1f78a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| # Copyright Spack Project Developers. See COPYRIGHT file for details. | ||
| # | ||
| # SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||
|
|
||
| from spack_repo.builtin.build_systems.python import PythonPackage | ||
|
|
||
| from spack.package import * | ||
|
|
||
|
|
||
| class PyPlaid(PythonPackage): | ||
| """A package that implements a data model tailored for AI and ML | ||
| in the context of physics problems | ||
| """ | ||
|
|
||
| homepage = "https://github.com/PLAID-lib/plaid" | ||
| pypi = "pyplaid/pyplaid-0.1.15.tar.gz" | ||
|
|
||
| maintainers("williampiat3", "casenave", "bstaber") | ||
|
|
||
| license("MIT", checked_by="casenave") | ||
|
|
||
| version("0.1.15", sha256="e596ee155804da31793af0ee8f0e93c5fe629e246cbdca87dcae741a1e1f1205") | ||
|
|
||
| # Build deps | ||
| with default_args(type="build"): | ||
| depends_on("py-setuptools@60:76.1.0") | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is there an upper bounds restriction?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the current pyproject.toml is not compatible with setuptools >=77, I have a PR for the next plaid release to fix this
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See here: PLAID-lib/plaid#394 |
||
| depends_on("py-setuptools-scm@8:") | ||
|
|
||
| # Build and run deps | ||
| with default_args(type=("build", "run")): | ||
| depends_on("python@:3.13") | ||
|
williampiat3 marked this conversation as resolved.
Outdated
|
||
|
|
||
| # Run deps | ||
| with default_args(type=("run")): | ||
|
williampiat3 marked this conversation as resolved.
|
||
| depends_on("py-pyyaml@6:") | ||
| depends_on("py-pycgns@6:") # only 6.3 is available on spack | ||
| depends_on("[email protected]:") | ||
| depends_on("[email protected]:") | ||
|
williampiat3 marked this conversation as resolved.
Outdated
|
||
| depends_on("[email protected]:4") | ||
| depends_on("[email protected]:2") | ||
| depends_on("[email protected]:") | ||
| depends_on("[email protected]:") | ||
|
williampiat3 marked this conversation as resolved.
Outdated
|
||
Uh oh!
There was an error while loading. Please reload this page.