Package Details: python-azure-identity 1.25.0-1

Git Clone URL: https://aur.archlinux.org/python-azure-identity.git (read-only, click to copy)
Package Base: python-azure-identity
Description: Microsoft Azure Identity Client Library for Python
Upstream URL: https://github.com/Azure/azure-sdk-for-python
Keywords: authentication azure client credential identity library microsoft python sdk token
Licenses: MIT
Submitter: ribugent
Maintainer: dpeukert
Last Packager: dpeukert
Votes: 1
Popularity: 0.006968
First Submitted: 2022-08-05 13:04 (UTC)
Last Updated: 2025-09-21 16:40 (UTC)

Pinned Comments

dpeukert commented on 2025-01-05 20:26 (UTC)

The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/python-azure-identity

Latest Comments

sashank commented on 2025-10-04 00:40 (UTC) (edited on 2025-10-04 00:40 (UTC) by sashank)

Hey Daniel, I updated the script to install without using setup.py. I replaced the lines with setup.py in the build and package scripts. In the build script, I replaced that line with python -m build --wheel. In the package script, I replaced the setup.py line with python -m installer --destdir="$pkgdir" dist/*.whl. For the package script, I took a hint from https://gitlab.archlinux.org/archlinux/packaging/packages/python-setuptools/-/blob/main/PKGBUILD

# Maintainer: Daniel Peukert <daniel@peukert.cc>
# Contributor: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: Gerard Ribugent <ribugent <at> gmail <dot> com>
_projectname='azure-identity'
pkgname="python-$_projectname"
pkgver='1.25.0'
pkgrel='1'
pkgdesc='Microsoft Azure Identity Client Library for Python'
arch=('any')
url='https://github.com/Azure/azure-sdk-for-python'
license=('MIT')
depends=('python>=3.9.0' 'python-azure-core>=1.31.0' 'python-cryptography>=2.5.0' 'python-msal>=1.30.0' 'python-msal-extensions>=1.2.0' 'python-typing_extensions>=4.0.0')
makedepends=('python-setuptools')
# $pkgrel added to make sure our cached source file doesn't get used, as the previous pkgrels were invalid
source=("$pkgname-$pkgver-$pkgrel.tar.gz::$url/archive/refs/tags/${_projectname}_$pkgver.tar.gz")
b2sums=('766982b4c15870767d4c1b583dff83e58a309a876262c097124d0b19e165eb089cb9631236d320db3098f57dcbe67cd2e9456c55a4eb6596e1a497d33fc357a5')

_sourcedirectory="azure-sdk-for-python-${_projectname}_$pkgver/sdk/identity/$_projectname"

build() {
    cd "$srcdir/$_sourcedirectory/"
    python -m build --wheel
}

# Tests ignored, as the devtools_testutils package is not supposed to be released/published (see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261305)

package() {
    cd "$srcdir/$_sourcedirectory/"
    python -m installer --destdir="$pkgdir" dist/*.whl
    install -Dm644 'LICENSE' "$pkgdir/usr/share/licenses/$pkgname/MIT"
}

dpeukert commented on 2025-09-22 05:23 (UTC)

@mistersmee: Oops, missed that when updating last night, will fix.

mistersmee commented on 2025-09-22 05:17 (UTC)

@dpeukert, The package fails to build because upstream moved to pyproject.toml based building, and setup.py no longer exists.

dpeukert commented on 2025-07-24 18:59 (UTC)

@mistersmee: Should be fixed now, there was a conflict caused by a branch and a tag having the same name:

$ curl 'https://github.com/Azure/azure-sdk-for-python/archive/azure-identity_1.23.1.tar.gz'
the given path has multiple possibilities: #<Git::Ref:0x00007f66e7321cc0>, #<Git::Ref:0x00007f66e78d4258>

dpeukert commented on 2025-07-24 18:49 (UTC)

@mistersmee: Hmm, there's something weird going on, the checksum check still doesn't go through on my side, I'll look into this further.

dpeukert commented on 2025-07-24 18:34 (UTC)

@mistersmee: Looks like upstream retagged a release for some reason, I've pushed a pkgrel bump.

mistersmee commented on 2025-07-24 11:20 (UTC)

@dpeukert, the b2sums in the latest pkgrel update are wrong, I'm getting this error:

==> Validating source files with b2sums...
    python-azure-identity-1.23.1.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'python-azure-identity-1.23.1-1'

dpeukert commented on 2025-01-05 20:26 (UTC)

The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/python-azure-identity

ribugent commented on 2024-01-10 07:51 (UTC)

Maintainers wanted

Currently, I'm not using the python-azure-* packages that I'm the maintainer in AUR, so if somebody wants to maintain all or some of them, ping me I transfer the ownership.

Thanks