py-neptune-client and missing deps: new package (#43059)

Co-authored-by: Cecilia Lau <chlits@rit.edu>
Co-authored-by: Jen Herting <jen@herting.cc>
This commit is contained in:
Alex Leute 2024-03-21 20:51:13 -04:00 committed by GitHub
parent 4ac51b2127
commit 50562e6a0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 132 additions and 0 deletions

View File

@ -0,0 +1,34 @@
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class PyBravadoCore(PythonPackage):
"""
bravado-core is a Python library that adds client-side and server-side
support for the OpenAPI Specification v2.0.
"""
homepage = "https://github.com/Yelp/bravado-core"
pypi = "bravado-core/bravado-core-5.17.1.tar.gz"
version("5.17.1", sha256="0da9c6f3814734622a55db3f62d08db6e188b25f3ebd087de370c91afb66a7f4")
depends_on("python@:2,3.5.1:", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-jsonref", type=("build", "run"))
depends_on("py-jsonschema@2.5.1:", type=("build", "run"))
depends_on("py-python-dateutil", type=("build", "run"))
depends_on("py-pyyaml", type=("build", "run"))
depends_on("py-requests", type=("build", "run"))
depends_on("py-simplejson", type=("build", "run"))
depends_on("py-six", type=("build", "run"))
depends_on("py-swagger-spec-validator@2.0.1:", type=("build", "run"))
depends_on("py-pytz", type=("build", "run"))
depends_on("py-msgpack@0.5.2:", type=("build", "run"))
depends_on("py-pyrsistent@0.17:", when="^python@:3.4", type="build")

View File

@ -0,0 +1,31 @@
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class PyBravado(PythonPackage):
"""
Bravado is a Yelp maintained fork of digium/swagger-py for use with
OpenAPI Specification version 2.0 (previously known as Swagger).
"""
homepage = "https://github.com/Yelp/bravado"
pypi = "bravado/bravado-11.0.3.tar.gz"
version("11.0.3", sha256="1bb6ef75d84140c851fffe6420baaee5037d840070cfe11d60913be6ab8e0530")
depends_on("python@:2,3.5.1:", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-bravado-core@5.16.1:", type=("build", "run"))
depends_on("py-msgpack", type=("build", "run"))
depends_on("py-python-dateutil", type=("build", "run"))
depends_on("py-pyyaml", type=("build", "run"))
depends_on("py-requests@2.17:", type=("build", "run"))
depends_on("py-six", type=("build", "run"))
depends_on("py-simplejson", type=("build", "run"))
depends_on("py-monotonic", type=("build", "run"))
depends_on("py-typing-extensions", type=("build", "run"))

View File

@ -0,0 +1,43 @@
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class PyNeptuneClient(PythonPackage):
"""
Flexible metadata store for MLOps, built for research and
production teams that run a lot of experiments.
"""
homepage = "https://neptune.ai/"
pypi = "neptune-client/neptune-client-0.16.7.tar.gz"
version("0.16.7", sha256="9b8bf2f59cb6b7ed6d96ea221b68ea20d9d481a1a4672d8173648ef998134454")
version("0.16.1", sha256="821238f510486feacd87c745f4646916259a416545ab678b47195729c071f249")
depends_on("python@3.7.0:", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-versioneer", type="build")
depends_on("py-bravado", type=("build", "run"))
depends_on("py-click@7.0:", type=("build", "run"))
depends_on("py-future@0.17.1:", type=("build", "run"))
depends_on("py-oauthlib@2.1.0:", type=("build", "run"))
depends_on("py-pandas", type=("build", "run"))
depends_on("pil@1.1.6:", type=("build", "run"))
depends_on("py-pyjwt", type=("build", "run"))
depends_on("py-requests@2.20.0:", type=("build", "run"))
depends_on("py-requests-oauthlib@1.0.0:", type=("build", "run"))
depends_on("py-six@1.12.0:", type=("build", "run"))
depends_on("py-websocket-client@0.35:0,1.0.1:", type=("build", "run"))
depends_on("py-gitpython@2.0.8:", type=("build", "run"))
depends_on("py-boto3@1.16.0:", type=("build", "run"))
depends_on("py-packaging", type=("build", "run"))
depends_on("py-urllib3", type=("build", "run"))
depends_on("py-dataclasses@0.6:", when="^python@:3.6", type=("build", "run"))
depends_on("py-swagger-spec-validator@2.7.4:", type=("build", "run"))
depends_on("py-psutil", type=("build", "run"))
depends_on("py-jsonschema@:3", type=("build", "run"))

View File

@ -0,0 +1,24 @@
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class PySwaggerSpecValidator(PythonPackage):
"""
A Python library that validates Swagger Specs against
the Swagger 1.2 or Swagger 2.0 specification.
"""
homepage = "https://github.com/Yelp/swagger_spec_validator"
pypi = "swagger-spec-validator/swagger-spec-validator-2.7.6.tar.gz"
version("2.7.6", sha256="73f33e631a58f407265f2f813d194f2762a2b86f9aa905e7eee3df9b7f9428d3")
depends_on("py-setuptools", type="build")
depends_on("py-jsonschema", type=("build", "run"))
depends_on("py-pyyaml", type=("build", "run"))
depends_on("py-six", type=("build", "run"))
depends_on("py-pyrsistent@:0.16", when="^python@:3.0", type="build")