projects/guix·blob javascript-team · refs

36 lines · 1.0 KiB

1From 74cda7c7ce34b34b1a378b5e3be02f44bbea09d6 Mon Sep 17 00:00:00 2001
2Message-ID: <74cda7c7ce34b34b1a378b5e3be02f44bbea09d6.1764515163.git.ngraves@ngraves.fr>
3From: Nicolas Graves <[email protected]>
4Date: Sun, 30 Nov 2025 16:05:39 +0100
5Subject: [PATCH] Replace requests.get by a placeholder
6
7---
8 tests/test_cryptography.py | 5 +----
9 1 file changed, 1 insertion(+), 4 deletions(-)
10
11diff --git a/tests/test_cryptography.py b/tests/test_cryptography.py
12index b119e59..8948ab0 100644
13--- a/tests/test_cryptography.py
14+++ b/tests/test_cryptography.py
15@@ -3,7 +3,6 @@ import os
16 import re
17 from unittest import TestCase
18 import warnings
19-import xml.etree.ElementTree as ET
20
21 import requests
22
23@@ -11,9 +10,7 @@ from msal.application import (
24 _str2bytes, _load_private_key_from_pem_str, _parse_pfx)
25
26
27-latest_cryptography_version = ET.fromstring(
28- requests.get("https://pypi.org/rss/project/cryptography/releases.xml").text
29- ).findall("./channel/item/title")[0].text
30+latest_cryptography_version = @version@
31
32
33 def get_current_ceiling():
34--
352.51.2
36