diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-11-30 16:32:54 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-04 21:49:57 +0000 |
| commit | 6656a7896c3e3c8ed954cffda7aca10f00080e53 (patch) | |
| tree | 985694e31201521affedccb78592b0dff90189cd /gnu/packages/patches/python-msal-requests.patch | |
| parent | c8c9421c647378a285d9dda876e8774cbb283540 (diff) | |
gnu: python-msal: Update to 1.34.0.
* gnu/packages/python-web.scm (python-msal): Update to 1.34.0.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Run them.
<#:test-flags>: Ignoring failing tests.
<#:phases>: Add phases 'set-cryptography-version and 'configure-tests.
[native-inputs]: Add nss-certs-for-test, python-pytest,
python-setuptools.
Change-Id: I73e6ea369df191bdd0a0df670867acd527382319
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/patches/python-msal-requests.patch')
| -rw-r--r-- | gnu/packages/patches/python-msal-requests.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/patches/python-msal-requests.patch b/gnu/packages/patches/python-msal-requests.patch new file mode 100644 index 00000000000..cc12984c775 --- /dev/null +++ b/gnu/packages/patches/python-msal-requests.patch @@ -0,0 +1,36 @@ +From 74cda7c7ce34b34b1a378b5e3be02f44bbea09d6 Mon Sep 17 00:00:00 2001 +Message-ID: <74cda7c7ce34b34b1a378b5e3be02f44bbea09d6.1764515163.git.ngraves@ngraves.fr> +From: Nicolas Graves <ngraves@ngraves.fr> +Date: Sun, 30 Nov 2025 16:05:39 +0100 +Subject: [PATCH] Replace requests.get by a placeholder + +--- + tests/test_cryptography.py | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +diff --git a/tests/test_cryptography.py b/tests/test_cryptography.py +index b119e59..8948ab0 100644 +--- a/tests/test_cryptography.py ++++ b/tests/test_cryptography.py +@@ -3,7 +3,6 @@ import os + import re + from unittest import TestCase + import warnings +-import xml.etree.ElementTree as ET + + import requests + +@@ -11,9 +10,7 @@ from msal.application import ( + _str2bytes, _load_private_key_from_pem_str, _parse_pfx) + + +-latest_cryptography_version = ET.fromstring( +- requests.get("https://pypi.org/rss/project/cryptography/releases.xml").text +- ).findall("./channel/item/title")[0].text ++latest_cryptography_version = @version@ + + + def get_current_ceiling(): +-- +2.51.2 + |
