From b287d69402d0f574f0df0e6b29c1a1c663cd1500 Mon Sep 17 00:00:00 2001 From: Tushar Goel Date: Tue, 1 Dec 2026 10:56:39 +0530 Subject: [PATCH] Prepare for release v0.15.4 Signed-off-by: Tushar Goel --- setup.cfg | 2 +- tests/test_utils_pypi.py | 11 ++--------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/setup.cfg b/setup.cfg index 5c7948e8..83159761 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,7 @@ [metadata] name = python-inspector license = Apache-2.0 -version = 0.15.3 +version = 0.15.4 # description must be on ONE line https://github.com/pypa/setuptools/issues/1390 description = python-inspector is is a collection of utilities to collect PyPI package metadata and resolve packages dependencies. diff --git a/tests/test_utils_pypi.py b/tests/test_utils_pypi.py index b5704107..0b7ba213 100644 --- a/tests/test_utils_pypi.py +++ b/tests/test_utils_pypi.py @@ -189,17 +189,10 @@ def test_credentials_stay_on_the_index_origin(): is None ) assert ( - utils_pypi.credentials_for_linked_download( - INDEX_CREDENTIALS, index_url, default_https_port - ) - is None - ) - assert ( - utils_pypi.credentials_for_linked_download( - None, index_url, same_origin - ) + utils_pypi.credentials_for_linked_download(INDEX_CREDENTIALS, index_url, default_https_port) is None ) + assert utils_pypi.credentials_for_linked_download(None, index_url, same_origin) is None @pytest.mark.asyncio