From 4b2d908691d33a966c0f8d183534c9ba842db50b Mon Sep 17 00:00:00 2001 From: "Jason C. Nucciarone" Date: Mon, 5 Feb 2024 18:09:22 -0500 Subject: [PATCH] bugfix: Pass PYPI token to publish environment Passing the PYPI token through the environment enables tox to publish new releases to the `slurmutils` listing on pypi. If this token is not passed, poetry will fail to upload the package. Signed-off-by: Jason C. Nucciarone --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 0141112..37b1aac 100644 --- a/tox.ini +++ b/tox.ini @@ -61,6 +61,8 @@ commands = [testenv:publish] description = Publish slurmutils to PyPI using poetry. +passenv = + POETRY_PYPI_TOKEN_PYPI allowlist_externals = /usr/bin/rm deps =