From ed96c9ff63d28b05818d18c19b88d52e1baaa170 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 14 Jun 2022 10:36:08 +0200 Subject: [PATCH 01/22] Rebuilt for Python 3.11 From 9ca0b26cee6cdfec1dd30846fbb01803c7a6c9bd Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Tue, 14 Jun 2022 13:07:22 -0500 Subject: [PATCH 02/22] Update to 1.10.0 --- .gitignore | 1 + python-azure-identity.spec | 8 ++------ sources | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index f352154..8dc9cc8 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /azure-identity-1.5.0.zip /azure-identity-1.6.1.zip /azure-identity-1.9.0.zip +/azure-identity-1.10.0.zip diff --git a/python-azure-identity.spec b/python-azure-identity.spec index 6217548..0e1184b 100644 --- a/python-azure-identity.spec +++ b/python-azure-identity.spec @@ -5,7 +5,7 @@ %global srcname azure-identity Name: python-%{srcname} -Version: 1.9.0 +Version: 1.10.0 Release: %autorelease Summary: Microsoft Azure Identity Library for Python License: MIT @@ -20,10 +20,10 @@ BuildArch: noarch BuildRequires: python3-devel %if %{with tests} -BuildRequires: python3-azure-sdk-tools BuildRequires: python3dist(azure-devtools) BuildRequires: python3dist(azure-mgmt-keyvault) BuildRequires: python3dist(azure-mgmt-resource) +BuildRequires: python3dist(azure-sdk-tools) BuildRequires: python3dist(pytest) BuildRequires: python3dist(aiohttp) BuildRequires: python3dist(pytest-asyncio) @@ -45,10 +45,6 @@ Obsoletes: python3-azure-sdk < 5.0.1 %prep %autosetup -n %{srcname}-%{version} -# azure-identity requires msal-extensions~=0.3.0, but azure-cli needs 1.0.0. -# This conflict will be fixed in the next azure-identity release after 1.9.0. -sed -i 's/msal-extensions~=0.3.0/msal-extensions~=1.0.0/' setup.py - %generate_buildrequires %pyproject_buildrequires -r diff --git a/sources b/sources index aab1c3a..bc0ffda 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (azure-identity-1.9.0.zip) = 43677d43fc2c3d4311efc7246d627e8ddb45120bae87e0906ac26e3de83eb56e6e4cb2d6661db5503db590c80c0a146a9159f1263a85d0286ec6393112318ddf +SHA512 (azure-identity-1.10.0.zip) = 66551765ac0a4d43dc95cb755be3bfc31e2e7afa7eebf72c061c6c7d1dd0cf88988d88a39c2c1463fe27caced7ccd72da6520a9e977bfed0ee5f495fe00fab6a From 5cd54e3549a4e3a4b830c25558a7d862a107421f Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Mon, 27 Jun 2022 15:30:41 -0500 Subject: [PATCH 03/22] Enable tests w/GitHub source code --- .gitignore | 1 + generate-source.sh | 21 +++++++++++++++++++++ python-azure-identity.spec | 18 ++++++++++-------- sources | 2 +- 4 files changed, 33 insertions(+), 9 deletions(-) create mode 100755 generate-source.sh diff --git a/.gitignore b/.gitignore index 8dc9cc8..efee2b5 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /azure-identity-1.6.1.zip /azure-identity-1.9.0.zip /azure-identity-1.10.0.zip +/azure-identity-1.10.0.tgz diff --git a/generate-source.sh b/generate-source.sh new file mode 100755 index 0000000..a8fa272 --- /dev/null +++ b/generate-source.sh @@ -0,0 +1,21 @@ +#!/bin/bash +set -euxo pipefail + +export VERSION=1.10.0 +export PACKAGE_NAME=azure-identity +WORKING_DIR=$(pwd) + +# Download the release and unpack it. +curl -LO https://github.com/Azure/azure-sdk-for-python/archive/refs/tags/${PACKAGE_NAME}_${VERSION}.tar.gz +tar xzf ${PACKAGE_NAME}_${VERSION}.tar.gz + +# Find the package directory in the SDK release and the parent directory. +PACKAGE_DIR=$(find azure-sdk-for-python-${PACKAGE_NAME}_${VERSION} -type d -name $PACKAGE_NAME) +PARENT_DIR=$(dirname $PACKAGE_DIR) + +# Build a tarball with a prefix directory that contains the package name and +# version. Store that in the directory where the script is running. +pushd $PARENT_DIR + tar --transform "s/^${PACKAGE_NAME}/${PACKAGE_NAME}-${VERSION}/" -cz \ + -f ${WORKING_DIR}/${PACKAGE_NAME}-${VERSION}.tgz $PACKAGE_NAME +popd \ No newline at end of file diff --git a/python-azure-identity.spec b/python-azure-identity.spec index 0e1184b..2177f1b 100644 --- a/python-azure-identity.spec +++ b/python-azure-identity.spec @@ -1,6 +1,4 @@ -# The majority of the tests included require some type of network access, so they are -# disabled for now until upstream can improve them. -%bcond_with tests +%bcond_without tests %global srcname azure-identity @@ -10,7 +8,9 @@ Release: %autorelease Summary: Microsoft Azure Identity Library for Python License: MIT URL: https://pypi.org/project/%{srcname}/ -Source0: %{pypi_source %{srcname} %{version} zip} +# 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 Epoch: 1 @@ -38,7 +38,7 @@ Microsoft Azure Identity Library for Python} %package -n python3-%{srcname} Summary: %{summary} -Obsoletes: python3-azure-sdk < 5.0.1 + %description -n python3-%{srcname} %{_description} @@ -47,7 +47,7 @@ Obsoletes: python3-azure-sdk < 5.0.1 %generate_buildrequires -%pyproject_buildrequires -r +%pyproject_buildrequires %build @@ -59,9 +59,11 @@ Obsoletes: python3-azure-sdk < 5.0.1 %pyproject_save_files azure -%if %{with tests} %check -%pytest +%pyproject_check_import + +%if %{with tests} +%pytest -k "not test_timeout" %endif diff --git a/sources b/sources index bc0ffda..91b818f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (azure-identity-1.10.0.zip) = 66551765ac0a4d43dc95cb755be3bfc31e2e7afa7eebf72c061c6c7d1dd0cf88988d88a39c2c1463fe27caced7ccd72da6520a9e977bfed0ee5f495fe00fab6a +SHA512 (azure-identity-1.10.0.tgz) = b5de7bc7cc1c2d5aeb65a21a54eb9a28d353cf488c5934444d62339d2d52496dd7d064b0f55f638ca6e56279977231dfee5a872ad27b755d31993479e150a04f From fc863e1a9b0a9f7b83801e94242cba8f79da1ab1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 16:34:52 +0000 Subject: [PATCH 04/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 27ddfe8c03a692000195c77bf2669f8194e3b8ef Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 11:27:22 +0000 Subject: [PATCH 05/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering From bd0db35233fa19ea165d29dbc6b6d1d941e3e835 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Mon, 8 May 2023 14:22:36 -0500 Subject: [PATCH 06/22] -S Migrated to SPDX license Signed-off-by: Major Hayden From 862c7fb5a021715310e61d21b774a8a19828bf15 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Wed, 17 May 2023 07:27:33 -0500 Subject: [PATCH 07/22] Migrated to SPDX license Signed-off-by: Major Hayden From 3b4dc0ab6b9f91803723c4c2e1f0a3f252b79fc6 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Sun, 2 Jul 2023 08:53:03 +0200 Subject: [PATCH 08/22] Rebuilt for Python 3.12 From 444a9f2d0b8a845797589cdd2663085bc9154deb Mon Sep 17 00:00:00 2001 From: Karolina Surma Date: Tue, 4 Jul 2023 15:48:54 +0200 Subject: [PATCH 09/22] Skip test failing with Python 3.12 --- python-azure-identity.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-azure-identity.spec b/python-azure-identity.spec index 2177f1b..8bd94cb 100644 --- a/python-azure-identity.spec +++ b/python-azure-identity.spec @@ -63,7 +63,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 From 06c521eeff899397d25f7ae6bb36c24c12f2ea6a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 07:35:12 +0000 Subject: [PATCH 10/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 487745e29f4f8ebde7520eec4c1a1ab5eb8d191e Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Wed, 25 Oct 2023 11:07:02 -0500 Subject: [PATCH 11/22] Update to 1.14.0 rhbz#2244515 Signed-off-by: Major Hayden --- .gitignore | 1 + python-azure-identity.spec | 9 ++++----- sources | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index efee2b5..046428d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /azure-identity-1.9.0.zip /azure-identity-1.10.0.zip /azure-identity-1.10.0.tgz +/azure-identity-1.14.0.zip diff --git a/python-azure-identity.spec b/python-azure-identity.spec index 8bd94cb..67c1724 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.14.0 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} zip} Epoch: 1 diff --git a/sources b/sources index 91b818f..0cf0d06 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (azure-identity-1.10.0.tgz) = b5de7bc7cc1c2d5aeb65a21a54eb9a28d353cf488c5934444d62339d2d52496dd7d064b0f55f638ca6e56279977231dfee5a872ad27b755d31993479e150a04f +SHA512 (azure-identity-1.14.0.zip) = a6e184258845fc21dc58546d9c01bd7bd3114c8a036a6690e6790d44b9416b5272ce2b8b929d9dcba526aaf7d13f88dfec12ed53040f899e5f585b07b76f22f1 From 5929cbf3c52a3159a52693f8ce23e5ac9cf44f68 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 23:32:47 +0000 Subject: [PATCH 12/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 49c00801a2d2c9980dde05575b79fad6dc0ced1d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jan 2024 01:36:11 +0000 Subject: [PATCH 13/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From ce4d66f9b3c094165d534959292ba0e8af6a9193 Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Thu, 7 Mar 2024 13:57:00 -0500 Subject: [PATCH 14/22] Bump to v1.15 This release contains no backwards-incompatible changes. --- .gitignore | 1 + python-azure-identity.spec | 4 ++-- sources | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 046428d..6941a78 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /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 diff --git a/python-azure-identity.spec b/python-azure-identity.spec index 67c1724..5b4bbda 100644 --- a/python-azure-identity.spec +++ b/python-azure-identity.spec @@ -4,12 +4,12 @@ %global srcname azure-identity Name: python-%{srcname} -Version: 1.14.0 +Version: 1.15.0 Release: %autorelease Summary: Microsoft Azure Identity Library for Python License: MIT URL: https://pypi.org/project/%{srcname}/ -Source0: %{pypi_source %{srcname} %{version} zip} +Source0: %{pypi_source %{srcname} %{version}} Epoch: 1 diff --git a/sources b/sources index 0cf0d06..cf9a0c9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (azure-identity-1.14.0.zip) = a6e184258845fc21dc58546d9c01bd7bd3114c8a036a6690e6790d44b9416b5272ce2b8b929d9dcba526aaf7d13f88dfec12ed53040f899e5f585b07b76f22f1 +SHA512 (azure-identity-1.15.0.tar.gz) = 718c394d287d055cf4642f444152e1736d8000c585be1a1fc8c406b3feeb33e169d230b253a459e1b5efe580aa3f5212c3d79f9770426f66e633f570de47fb92 From 764091b027fb4707652af6bd702afd4339a52c7c Mon Sep 17 00:00:00 2001 From: Python Maint Date: Sat, 8 Jun 2024 00:05:08 +0200 Subject: [PATCH 15/22] Rebuilt for Python 3.13 From 687c734b965d5e961464f26a82a8bfa1e843afd2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 09:43:30 +0000 Subject: [PATCH 16/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From ef943f3b87a0b3073ab97be9c0b045ca6722b5d0 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 16 Jul 2024 09:32:52 -0400 Subject: [PATCH 17/22] Update to 1.17.1 (close RHBZ#2298150) --- .gitignore | 1 + python-azure-identity.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 6941a78..ded933c 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /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 5b4bbda..044ff55 100644 --- a/python-azure-identity.spec +++ b/python-azure-identity.spec @@ -4,7 +4,7 @@ %global srcname azure-identity Name: python-%{srcname} -Version: 1.15.0 +Version: 1.17.1 Release: %autorelease Summary: Microsoft Azure Identity Library for Python License: MIT diff --git a/sources b/sources index cf9a0c9..b8a1680 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (azure-identity-1.15.0.tar.gz) = 718c394d287d055cf4642f444152e1736d8000c585be1a1fc8c406b3feeb33e169d230b253a459e1b5efe580aa3f5212c3d79f9770426f66e633f570de47fb92 +SHA512 (azure-identity-1.17.1.tar.gz) = fd922f49b69dcbdef52452effc406a1ac43234ccfc0123614570ed7040e71e97d0e94eda29caec27832c5dbc95528f244de214b2d55f65c16b65abaa7a81e36b From 8ac20b6b5d5320fa836845b0b2cd328497bb908a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 12:10:00 +0000 Subject: [PATCH 18/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From f3a2b850e352db56ba60adae54cf5c34647e2f04 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 18 Jun 2025 18:00:36 +0200 Subject: [PATCH 19/22] Rebuilt for Python 3.14 From 780f974b58c557f334807920cc318800db06f115 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 06:48:55 +0000 Subject: [PATCH 20/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 254fdf52d548149e09088977350e9d2eedd2198a Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 13:17:45 +0200 Subject: [PATCH 21/22] Rebuilt for Python 3.14.0rc2 bytecode From 24724605d20ecc531d20c03444029e0964dde755 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 12:50:54 +0200 Subject: [PATCH 22/22] Rebuilt for Python 3.14.0rc3 bytecode