From 9f134a682975c2f0641e4089c465fcd22fcc53ee Mon Sep 17 00:00:00 2001 From: Jan Ittner Date: Wed, 21 Jul 2021 23:47:06 +0200 Subject: [PATCH 1/2] BUILD: correct package name to gamma-pytools --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a3be075b9..9af8d705c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -35,7 +35,7 @@ variables: is_scheduled: $[ eq(variables['Build.Reason'], 'Schedule') ] project_name: pytools project_root: $(project_name) - package_name: pytools + package_name: gamma-pytools sshPublicKey: $(sshPublicKey_pytools) stages: From d62ad65d7397c3ecd100ace901c49061361e33a7 Mon Sep 17 00:00:00 2001 From: Jan Ittner Date: Thu, 22 Jul 2021 10:28:49 +0200 Subject: [PATCH 2/2] TEST: only issue a warning if current version is already on PyPi --- test/test/pytools/test_package_version.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/test/pytools/test_package_version.py b/test/test/pytools/test_package_version.py index c5d8dd485..707e1dceb 100644 --- a/test/test/pytools/test_package_version.py +++ b/test/test/pytools/test_package_version.py @@ -37,9 +37,8 @@ def test_package_version() -> None: log.info(f"Releases found on PyPi: {', '.join(releases)}") - assert ( - dev_version not in releases - ), f"Current package version {dev_version} already on PyPi" + if dev_version not in releases: + log.warning(f"Current package version {dev_version} is already on PyPi") is_minor_or_major_release = dev_version.endswith(".0")