Compare commits

...
Sign in to create a new pull request.

22 commits

Author SHA1 Message Date
Python Maint
24724605d2 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:50:54 +02:00
Python Maint
254fdf52d5 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 13:17:45 +02:00
Fedora Release Engineering
780f974b58 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 06:48:55 +00:00
Python Maint
f3a2b850e3 Rebuilt for Python 3.14 2025-06-18 18:00:36 +02:00
Fedora Release Engineering
8ac20b6b5d Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 12:10:00 +00:00
Benjamin A. Beasley
ef943f3b87 Update to 1.17.1 (close RHBZ#2298150) 2024-07-22 18:46:31 +00:00
Fedora Release Engineering
687c734b96 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 09:43:30 +00:00
Python Maint
764091b027 Rebuilt for Python 3.13 2024-06-08 00:05:08 +02:00
Jeremy Cline
ce4d66f9b3 Bump to v1.15
This release contains no backwards-incompatible changes.
2024-03-07 13:57:00 -05:00
Fedora Release Engineering
49c00801a2 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 01:36:11 +00:00
Fedora Release Engineering
5929cbf3c5 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 23:32:47 +00:00
Major Hayden
487745e29f
Update to 1.14.0 rhbz#2244515
Signed-off-by: Major Hayden <major@redhat.com>
2023-10-25 11:07:05 -05:00
Fedora Release Engineering
06c521eeff Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 07:35:12 +00:00
Karolina Surma
444a9f2d0b Skip test failing with Python 3.12 2023-07-04 15:48:54 +02:00
Python Maint
3b4dc0ab6b Rebuilt for Python 3.12 2023-07-02 08:53:03 +02:00
Major Hayden
862c7fb5a0
Migrated to SPDX license
Signed-off-by: Major Hayden <major@redhat.com>
2023-05-17 07:27:33 -05:00
Major Hayden
bd0db35233
-S
Migrated to SPDX license

Signed-off-by: Major Hayden <major@redhat.com>
2023-05-08 14:22:36 -05:00
Fedora Release Engineering
27ddfe8c03 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 11:27:22 +00:00
Fedora Release Engineering
fc863e1a9b Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 16:34:52 +00:00
Major Hayden
5cd54e3549
Enable tests w/GitHub source code 2022-06-27 15:30:41 -05:00
Major Hayden
9ca0b26cee
Update to 1.10.0 2022-06-14 13:07:22 -05:00
Python Maint
ed96c9ff63 Rebuilt for Python 3.11 2022-06-14 10:36:08 +02:00
4 changed files with 40 additions and 14 deletions

5
.gitignore vendored
View file

@ -2,3 +2,8 @@
/azure-identity-1.5.0.zip
/azure-identity-1.6.1.zip
/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

21
generate-source.sh Executable file
View file

@ -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

View file

@ -1,16 +1,15 @@
# The majority of the tests included require some type of network access, so they are
# disabled for now until upstream can improve them.
# Upstream's tests now require docker to be running.
%bcond_with tests
%global srcname azure-identity
Name: python-%{srcname}
Version: 1.9.0
Version: 1.17.1
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
@ -20,10 +19,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)
@ -38,20 +37,16 @@ Microsoft Azure Identity Library for Python}
%package -n python3-%{srcname}
Summary: %{summary}
Obsoletes: python3-azure-sdk < 5.0.1
%description -n python3-%{srcname} %{_description}
%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
%pyproject_buildrequires
%build
@ -63,9 +58,14 @@ sed -i 's/msal-extensions~=0.3.0/msal-extensions~=1.0.0/' setup.py
%pyproject_save_files azure
%if %{with tests}
%check
%pytest
%pyproject_check_import
%if %{with tests}
# 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

View file

@ -1 +1 @@
SHA512 (azure-identity-1.9.0.zip) = 43677d43fc2c3d4311efc7246d627e8ddb45120bae87e0906ac26e3de83eb56e6e4cb2d6661db5503db590c80c0a146a9159f1263a85d0286ec6393112318ddf
SHA512 (azure-identity-1.17.1.tar.gz) = fd922f49b69dcbdef52452effc406a1ac43234ccfc0123614570ed7040e71e97d0e94eda29caec27832c5dbc95528f244de214b2d55f65c16b65abaa7a81e36b