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 1999-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 pypi distutils-r1
DESCRIPTION="Microsoft Authentication Library (MSAL) for Python"
HOMEPAGE="https://github.com/AzureAD/microsoft-authentication-library-for-python"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RESTRICT="test" # No module named 'tests'
RDEPEND="
>=dev-python/cryptography-2.5[${PYTHON_USEDEP}]
<dev-python/cryptography-51[${PYTHON_USEDEP}]
>=dev-python/pyjwt-1.0.0[${PYTHON_USEDEP}]
<dev-python/pyjwt-3[${PYTHON_USEDEP}]
>=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
<dev-python/requests-3[${PYTHON_USEDEP}]
dev-python/python-dotenv[${PYTHON_USEDEP}]
"
BDEPEND="
>=dev-python/setuptools-68.0[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
>=dev-python/cryptography-2.5[]
<dev-python/cryptography-51[]
>=dev-python/pyjwt-1.0.0[]
<dev-python/pyjwt-3[]
>=dev-python/requests-2.0.0[]
<dev-python/requests-3[]
dev-python/python-dotenv[]
>=dev-python/setuptools-68.0[]