internal/rosa/package: openssl 4 #42

Open
ophestra wants to merge 2 commits from wip-openssl4 into staging
3 changed files with 27 additions and 7 deletions
+2 -4
View File
@@ -5,14 +5,12 @@ package openssl {
// strange malformed tags treated as pre-releases in Anitya // strange malformed tags treated as pre-releases in Anitya
latest = anityaFallback; latest = anityaFallback;
block = "python"; version# = "4.0.1";
version# = "3.6.2";
source = remoteGitHubRelease { source = remoteGitHubRelease {
suffix = "openssl/openssl"; suffix = "openssl/openssl";
tag = "openssl-"+version; tag = "openssl-"+version;
name = "openssl-"+version+".tar.gz"; name = "openssl-"+version+".tar.gz";
checksum = "jH004dXTiE01Hp0kyShkWXwrSHEksZi4i_3v47D9H9Uz9LQ1aMwF7mrl2Tb4t_XA"; checksum = "8FLTB0bZAKyjpmgO4kU5Og-XuSb2_77fxDfEbpOMPKTnIWxQDo7n8e4UdUuc2YIc";
compress = gzip; compress = gzip;
}; };
+4 -3
View File
@@ -6,11 +6,11 @@ package python {
// too many inputs; early variant available // too many inputs; early variant available
bootstrap = false; bootstrap = false;
version# = "3.14.7"; version# = "3.15.0";
source = remoteTar { source = remoteTar {
url = "https://www.python.org/ftp/python/"+version+ url = "https://www.python.org/ftp/python/"+version+
"/Python-"+version+".tgz"; "/Python-"+version+"rc1.tgz";
checksum = "hXLV7_BGEFZvQ04DNIlk5IdoRZd9DkQt4abKhc8rWsLXHTeSboAWTewJ6l0-LxVz"; checksum = "llRZNKCqDOxnAiLU-2bSneXZcssNtdzG9bBgfyfiGchLSbT7gNvls4ekdmMklgKl";
compress = gzip; compress = gzip;
}; };
patches = [ "zipfile-no-default-strict_timestamps.patch" ]; patches = [ "zipfile-no-default-strict_timestamps.patch" ];
@@ -179,6 +179,7 @@ package python-wheel {
tag = version; tag = version;
checksum = "h-UZQHS-NwB3b9YxYpJePR5cbDGZaKxz4bdhYjilWdQXAE46SV7A1CwZKzZcuZFh"; checksum = "h-UZQHS-NwB3b9YxYpJePR5cbDGZaKxz4bdhYjilWdQXAE46SV7A1CwZKzZcuZFh";
}; };
patches = [ "wheel-test-colour.patch" ];
exec = pip { exec = pip {
install = true; install = true;
@@ -0,0 +1,21 @@
diff --git a/tests/commands/util.py b/tests/commands/util.py
index 5d139d9..d18d103 100644
--- a/tests/commands/util.py
+++ b/tests/commands/util.py
@@ -2,7 +2,7 @@ from __future__ import annotations
import sys
from io import StringIO
-from os import PathLike
+from os import PathLike, environ
from subprocess import CalledProcessError
from unittest.mock import patch
@@ -10,6 +10,7 @@ import pytest
from wheel._commands import main
+environ["NO_COLOR"] = "1"
def run_command(
command: str, *args: str | PathLike, catch_systemexit: bool = True