Install this version:
emerge -a =dev-python/msal-1.37.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/msal-1.37.0
Or alternatively:
emerge --autounmask-write -a =dev-python/msal-1.37.0
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517="setuptools"
inherit distutils-r1
DESCRIPTION="Microsoft Authentication Library for Python allows integration with Microsoft"
HOMEPAGE="https://github.com/AzureAD/microsoft-authentication-library-for-python"
#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SRC_URI="https://github.com/AzureAD/microsoft-authentication-library-for-python/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
MYPN="microsoft-authentication-library-for-python"
S="${WORKDIR}/${MYPN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
#RESTRICT="mirror" #mirror restricted only because overlay
PROPERTIES="test_network"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
RDEPEND="
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/pyjwt[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
"
BDEPEND=" test? (
dev-python/python-dotenv[${PYTHON_USEDEP}]
)
"
python_test() {
local EPYTEST_IGNORE=(
#needs unpackaged perf-baseline module
tests/test_benchmark.py
#needs unpackaged azure module(s)
tests/test_agentic_e2e.py
tests/test_e2e.py
tests/test_e2e_manual.py
tests/test_fmi_e2e.py
)
local EPYTEST_DESELECT=(
#version test is routinely out of date
tests/test_cryptography.py::CryptographyTestCase::test_ceiling_should_be_latest_cryptography_version_plus_three
)
epytest
}
dev-python/cryptography[] dev-python/pyjwt[] dev-python/requests[]
test? ( dev-python/python-dotenv[] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | msal-1.37.0.gh.tar.gz | 308904 bytes | https://github.com/AzureAD/microsoft-authentication-library-for-python/archive/refs/tags/1.37.0.tar.gz |