diff --git a/.gitignore b/.gitignore index efee2b5..ded933c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,6 @@ /azure-identity-1.9.0.zip /azure-identity-1.10.0.zip /azure-identity-1.10.0.tgz +/azure-identity-1.14.0.zip +/azure-identity-1.15.0.tar.gz +/azure-identity-1.17.1.tar.gz diff --git a/python-azure-identity.spec b/python-azure-identity.spec index 2177f1b..044ff55 100644 --- a/python-azure-identity.spec +++ b/python-azure-identity.spec @@ -1,16 +1,15 @@ -%bcond_without tests +# Upstream's tests now require docker to be running. +%bcond_with tests %global srcname azure-identity Name: python-%{srcname} -Version: 1.10.0 +Version: 1.17.1 Release: %autorelease Summary: Microsoft Azure Identity Library for Python License: MIT URL: https://pypi.org/project/%{srcname}/ -# This source comes from making a git archive of the main azure-sdk-for-python -# repository. To reproduce the source code, run the generate-source.sh script. -Source0: %{srcname}-%{version}.tgz +Source0: %{pypi_source %{srcname} %{version}} Epoch: 1 @@ -63,7 +62,10 @@ Summary: %{summary} %pyproject_check_import %if %{with tests} -%pytest -k "not test_timeout" +# test_persistent_cache_linux fails with Python 3.12 +# we skip it as it's likely problem between mocked objects +# reported upstream: https://github.com/Azure/azure-sdk-for-python/issues/30994 +%pytest -k "not test_timeout and not test_persistent_cache_linux" %endif diff --git a/sources b/sources index 91b818f..b8a1680 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (azure-identity-1.10.0.tgz) = b5de7bc7cc1c2d5aeb65a21a54eb9a28d353cf488c5934444d62339d2d52496dd7d064b0f55f638ca6e56279977231dfee5a872ad27b755d31993479e150a04f +SHA512 (azure-identity-1.17.1.tar.gz) = fd922f49b69dcbdef52452effc406a1ac43234ccfc0123614570ed7040e71e97d0e94eda29caec27832c5dbc95528f244de214b2d55f65c16b65abaa7a81e36b