aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/python
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/package/python')
-rw-r--r--internal/rosa/package/python/package.az107
-rw-r--r--internal/rosa/package/python/wheel-test-colour.patch21
2 files changed, 58 insertions, 70 deletions
diff --git a/internal/rosa/package/python/package.az b/internal/rosa/package/python/package.az
index 525cb8c2..ca7d6c16 100644
--- a/internal/rosa/package/python/package.az
+++ b/internal/rosa/package/python/package.az
@@ -6,11 +6,11 @@ package python {
// too many inputs; early variant available
bootstrap = false;
- version# = "3.14.7";
+ version# = "3.15.0";
source = remoteTar {
url = "https://www.python.org/ftp/python/"+version+
"/Python-"+version+".tgz";
- checksum = "hXLV7_BGEFZvQ04DNIlk5IdoRZd9DkQt4abKhc8rWsLXHTeSboAWTewJ6l0-LxVz";
+ checksum = "SHy8bsXI1zLONLJHIK6gEJUiPjdUcRLzI9PjQnUfXOdL6Jcy0RQFEOyhMkp9vonP";
compress = gzip;
};
patches = [ "zipfile-no-default-strict_timestamps.patch" ];
@@ -41,6 +41,9 @@ package python {
// breaks on llvm
"test_dbm_gnu",
+
+ // broken on almost everything other than amd64
+ "test_c_stack_unwind",
];
sep = " -x ";
},
@@ -56,24 +59,18 @@ package python {
postInstall = "ln -s python3 /work/system/bin/python";
};
+ tools = [ pkg-config ];
+
inputs = [
zlib,
bzip2,
libffi,
openssl,
- pkg-config,
xz,
kernel-headers,
];
-
- runtime = [
- zlib,
- bzip2,
- libffi,
- openssl,
- ];
}
package python-early {
@@ -138,12 +135,6 @@ package python-early {
kernel-headers,
];
-
- runtime = [
- zlib,
- bzip2,
- libffi,
- ];
}
package python-setuptools {
@@ -165,7 +156,7 @@ package python-setuptools {
check = nil;
};
- runtime = [ python ];
+ unlikely = true;
}
package python-wheel {
@@ -179,6 +170,7 @@ package python-wheel {
tag = version;
checksum = "h-UZQHS-NwB3b9YxYpJePR5cbDGZaKxz4bdhYjilWdQXAE46SV7A1CwZKzZcuZFh";
};
+ patches = [ "wheel-test-colour.patch" ];
exec = pip {
install = true;
@@ -188,20 +180,19 @@ package python-wheel {
python-flit-core,
python-setuptools,
];
-
- runtime = [ python ];
}
package python-vcs-versioning {
description = "core VCS versioning functionality extracted as a standalone library";
website = "https://setuptools-scm.readthedocs.io/en/latest";
anitya = 389421;
+ block = "frequent ineffectual updates; questionable maintainer decisions";
- version# = "2.3.1";
+ version# = "2.4.0";
source = remoteGitHub {
suffix = "pypa/setuptools-scm";
tag = "vcs-versioning-v"+version;
- checksum = "rcbu8LlWlY6jmhC95pfnEKgGQuRxHY8_Pvo2jjmlJWSlyHSs1tFIRQ_FoMfi8YXo";
+ checksum = "Ziau4BBAwjQVEVe-MlKpA-27nqOm30LlGfHG5SqIrqKbCABWBndCwzpXLxdnZuGn";
};
env = [
@@ -219,23 +210,19 @@ package python-vcs-versioning {
python-setuptools,
python-packaging,
];
-
- runtime = [
- python-setuptools,
- python-packaging,
- ];
}
package python-setuptools-scm {
description = "extracts Python package versions from Git or Mercurial metadata";
website = "https://setuptools-scm.readthedocs.io/en/latest";
anitya = 7874;
+ block = "see package python-vcs-versioning";
- version# = "10.2.1";
+ version# = "10.3.2";
source = remoteGitHub {
suffix = "pypa/setuptools-scm";
tag = "setuptools-scm-v"+version;
- checksum = "XnfdKDHzgtY3imPPz1lA1H0QHnjXlN5ZI-er0I-kfUq4w_a6RzUq8FCOJNBOkpK1";
+ checksum = "wnOU9_VeAiNp881loQiJD3KuWgbufNXhQKqHOGBdt9oEjIMXosHjUseE67fW4ips";
};
env = [
@@ -258,6 +245,8 @@ package python-setuptools-scm {
python-setuptools,
python-vcs-versioning,
];
+
+ unlikely = true;
}
package python-flit-core {
@@ -265,11 +254,11 @@ package python-flit-core {
website = "https://flit.pypa.io";
anitya = 44841;
- version# = "4.0.2";
+ version# = "4.1.0";
source = remoteGitHub {
suffix = "pypa/flit";
tag = version;
- checksum = "LAYWMeQ2wf2fUavUctRHlEVCUUfsVu0so4d0DZh-DAkAvd8kf9ZHQd-o7dXr3tq6";
+ checksum = "c-iUN-XyUB-1jF4CYaQaMNa5W0G4c3UcpjQcwSI9KOZFQ_my3ebpPjBvfVchjywC";
};
exec = pip {
@@ -279,7 +268,7 @@ package python-flit-core {
check = nil;
};
- runtime = [ python ];
+ unlikely = true;
}
package python-packaging {
@@ -300,7 +289,6 @@ package python-packaging {
};
inputs = [ python-flit-core ];
- runtime = [ python ];
}
package python-pathspec {
@@ -321,7 +309,6 @@ package python-pathspec {
};
inputs = [ python-flit-core ];
- runtime = [ python ];
}
package python-trove-classifiers {
@@ -329,11 +316,11 @@ package python-trove-classifiers {
website = "https://pypi.org/p/trove-classifiers";
anitya = 88298;
- version# = "2026.6.1.19";
+ version# = "2026.9.21.13";
source = remoteGitHub {
suffix = "pypa/trove-classifiers";
tag = version;
- checksum = "zdDI6XTfzuFnlhdhilnhplItbLhZ9f2_vSHZP8u5Zvhu5_rhTB73SFEzxT5gb1bO";
+ checksum = "SUj49aPO71eUQFxBE-G_BuJezwEUfeYCv9RbWFFsyTGmfbLGsZelEvqXGHErX-sZ";
};
exec = pip {
@@ -342,7 +329,6 @@ package python-trove-classifiers {
};
inputs = [ python-setuptools ];
- runtime = [ python ];
}
package python-pluggy {
@@ -367,7 +353,6 @@ package python-pluggy {
};
inputs = [ python-setuptools-scm ];
- runtime = [ python ];
}
package python-poetry-core {
@@ -375,17 +360,19 @@ package python-poetry-core {
website = "https://github.com/python-poetry/poetry-core";
anitya = 71155;
- version# = "2.4.1";
+ version# = "2.5.0";
source = remoteGitHub {
suffix = "python-poetry/poetry-core";
tag = version;
- checksum = "tf9OeSUv9TJwKd48fQIU2uGtZ36GN-PDmPDZzjClozzLjv-rQ5nIbOg9gOXpegiH";
+ checksum = "FZCJeScQLZBm2W1JiqgPozV2QKxkU0Dr0tQDsFf-H3PNswQwxSLPEGgEl94va7r3";
};
exec = pip {
// pytest circular dependency
check = nil;
};
+
+ unlikely = true;
}
package python-tomlkit {
@@ -413,11 +400,11 @@ package python-hatchling {
website = "https://hatch.pypa.io";
anitya = 16137;
- version# = "1.18.0";
+ version# = "1.18.1";
source = remoteGitHub {
suffix = "pypa/hatch";
tag = "hatch-v"+version;
- checksum = "a_ntndxBlMdqSVW3PkiAY42m-NDgyWJcKLWFIVTB_5PciVeJdYYdbcdF6jsd0U96";
+ checksum = "MQHbzLg0Vo9Wp8oNwFqzyr6Z8xIqI8uxp1r_sue5r_QMI6Ryfx4wXJWpQQgdmUdJ";
};
exec = pip {
@@ -435,13 +422,7 @@ package python-hatchling {
python-tomlkit,
];
- runtime = [
- python-packaging,
- python-pathspec,
- python-trove-classifiers,
- python-pluggy,
- python-tomlkit,
- ];
+ unlikely = true;
}
package python-pygments {
@@ -462,7 +443,6 @@ package python-pygments {
};
inputs = [ python-hatchling ];
- runtime = [ python ];
}
package python-iniconfig {
@@ -470,11 +450,11 @@ package python-iniconfig {
website = "https://github.com/pytest-dev/iniconfig";
anitya = 114778;
- version# = "2.3.0";
+ version# = "2.3.1";
source = remoteGitHub {
suffix = "pytest-dev/iniconfig";
tag = "v"+version;
- checksum = "mH7VBZaXcYatBPE3RQQZvSzz_Ay8IPPek60NpPHZulPq4ReAFUUsA4EPWfiyMknZ";
+ checksum = "_kAzeTxeje5L7WYtFwMGOx-Qv2pfErrBvoajcz1JovWaeIQ72w94yD5oidld2OxN";
};
env = [
@@ -487,7 +467,6 @@ package python-iniconfig {
};
inputs = [ python-setuptools-scm ];
- runtime = [ python ];
}
package python-pytest {
@@ -519,13 +498,6 @@ package python-pytest {
python-setuptools-scm,
];
-
- runtime = [
- python-iniconfig,
- python-packaging,
- python-pluggy,
- python-pygments,
- ];
}
package python-markupsafe {
@@ -533,11 +505,11 @@ package python-markupsafe {
website = "https://markupsafe.palletsprojects.com";
anitya = 3918;
- version# = "3.0.3";
+ version# = "3.0.4";
source = remoteGitHub {
suffix = "pallets/markupsafe";
tag = version;
- checksum = "txRGYdWE3his1lHHRI-lZADw0-ILvUg2l5OGdFHtFXIb_QowGxwdxHCUSJIgmjQs";
+ checksum = "V0lPnpENthlPMRq08uHN03BAeqHeZfi_tKgn9oUGGKrz9yMfcgeoUmhP3JT1uhlB";
};
exec = pip {
@@ -546,7 +518,6 @@ package python-markupsafe {
};
inputs = [ python-setuptools ];
- runtime = [ python ];
}
package python-mako {
@@ -554,7 +525,7 @@ package python-mako {
website = "https://www.makotemplates.org";
anitya = 3915;
- version# = "1.4.1";
+ version# = "1.4.3";
source = remoteGitHub {
suffix = "sqlalchemy/mako";
tag = "rel_"+join {
@@ -565,7 +536,7 @@ package python-mako {
};
sep = "_";
};
- checksum = "OYVVx9PxvZLSvA1C-lX-xElq5TvThYRElzDDKUHYU1tZMM7XlCtHSMGmdgqlbYxd";
+ checksum = "-7wYBvuaMaRtWEPlPbIyfrrVSJWsuNnVr1rCwaXnwNNvyap3R9kL282cLYidO_LX";
};
early = "rm test/test_exceptions.py";
@@ -576,8 +547,6 @@ package python-mako {
python-setuptools,
];
-
- runtime = [ python-markupsafe ];
}
package python-pyyaml {
@@ -598,7 +567,6 @@ package python-pyyaml {
};
inputs = [ python-setuptools ];
- runtime = [ python ];
}
package python-pycparser {
@@ -606,11 +574,11 @@ package python-pycparser {
website = "https://github.com/eliben/pycparser";
anitya = 8175;
- version# = "3.00";
+ version# = "3.11";
source = remoteGitHub {
suffix = "eliben/pycparser";
tag = "release_v"+version;
- checksum = "4qfCMFKp0fLsRsloOAF780tXX_Ce_68RwinCmjNGObAX32WpF_iBafIKW1S1bYlA";
+ checksum = "MjkTN3iAR3UglDqTHUjGozSowe7i0QJWBmaRYygYCH1TYlfFYyCaLx1LKG-Zf5_l";
};
// test case hard codes gcc
@@ -621,5 +589,4 @@ ln -s clang /system/bin/gcc
exec = pip {};
inputs = [ python-setuptools ];
- runtime = [ python ];
}
diff --git a/internal/rosa/package/python/wheel-test-colour.patch b/internal/rosa/package/python/wheel-test-colour.patch
new file mode 100644
index 00000000..db399fdc
--- /dev/null
+++ b/internal/rosa/package/python/wheel-test-colour.patch
@@ -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