Skip to content

Commit

Permalink
py-twine: add v6.0.1 (spack#47899)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart authored Dec 10, 2024
1 parent fe0f4c1 commit 24fc720
Showing 1 changed file with 24 additions and 18 deletions.
42 changes: 24 additions & 18 deletions var/spack/repos/builtin/packages/py-twine/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,31 @@ class PyTwine(PythonPackage):
pypi = "twine/twine-2.0.0.tar.gz"
git = "https://github.com/pypa/twine.git"

version("6.0.1", sha256="36158b09df5406e1c9c1fb8edb24fc2be387709443e7376689b938531582ee27")
version("4.0.2", sha256="9e102ef5fdd5a20661eb88fad46338806c3bd32cf1db729603fe3697b1bc83c8")
version("4.0.1", sha256="96b1cf12f7ae611a4a40b6ae8e9570215daff0611828f5fe1f37a16255ab24a0")
version("2.0.0", sha256="9fe7091715c7576df166df8ef6654e61bada39571783f2fd415bdcba867c6993")

depends_on("py-setuptools@45:", when="@3.4.1:", type="build")
depends_on("py-setuptools@0.7.0:", type="build")
depends_on("py-setuptools-scm+toml@6:", when="@3.4.2:", type="build")

depends_on("py-pkginfo@1.8.1:", when="@3.7:", type=("build", "run"))
depends_on("py-pkginfo@1.4.2:", type=("build", "run"))
depends_on("py-readme-renderer@35:", when="@4.0.1:", type=("build", "run"))
depends_on("py-readme-renderer@21.0:", type=("build", "run"))
depends_on("py-requests@2.20:", type=("build", "run"))
depends_on("py-requests-toolbelt@0.8.0:0.8,0.9.1:", type=("build", "run"))
depends_on("py-urllib3@1.26:", when="@3.8:", type=("build", "run"))
depends_on("py-importlib-metadata@3.6:", when="@3.4:", type=("build", "run"))
depends_on("py-keyring@15.1:", when="@3:", type=("build", "run"))
depends_on("py-rfc3986@1.4:", when="@3.2:", type=("build", "run"))
depends_on("py-rich@12:", when="@4:", type=("build", "run"))

# Historical Dependencies
depends_on("py-tqdm@4.14:", when="@:3", type=("build", "run"))
with default_args(type="build"):
depends_on("py-setuptools@61.2:", when="@6:")
depends_on("py-setuptools@45:", when="@3.4.1:")
depends_on("py-setuptools@0.7.0:")
depends_on("py-setuptools-scm+toml@6:", when="@3.4.2:")

with default_args(type=("build", "run")):
depends_on("py-pkginfo@1.8.1:", when="@3.7:")
depends_on("py-pkginfo@1.4.2:")
depends_on("py-readme-renderer@35:", when="@4.0.1:")
depends_on("py-readme-renderer@21.0:")
depends_on("py-requests@2.20:")
depends_on("py-requests-toolbelt@0.8,0.9.1:")
depends_on("py-urllib3@1.26:", when="@3.8:")
depends_on("py-importlib-metadata@3.6:", when="@6:^python@:3.9")
depends_on("py-importlib-metadata@3.6:", when="@3.4:4")
depends_on("py-keyring@15.1:", when="@3:")
depends_on("py-rfc3986@1.4:", when="@3.2:")
depends_on("py-rich@12:", when="@4:")
depends_on("py-packaging", when="@6:")

# Historical Dependencies
depends_on("py-tqdm@4.14:", when="@:3")

0 comments on commit 24fc720

Please sign in to comment.