pdm: 2.26.6 -> 2.27.0, unbreak (#531813)

This commit is contained in:
Fabian Affolter
2026-06-15 06:27:45 +00:00
committed by GitHub
2 changed files with 13 additions and 9 deletions
+2 -9
View File
@@ -12,13 +12,6 @@ let
python = python3.override {
self = python;
packageOverrides = _: super: {
resolvelib = super.resolvelib.overridePythonAttrs (old: rec {
version = "1.1.0";
src = old.src.override {
tag = version;
hash = "sha256-UBdgFN+fvbjz+rp8+rog8FW2jwO/jCfUPV7UehJKiV8=";
};
});
# pdm requires ...... -> ghostscript-with-X which is AGPL only
matplotlib = super.matplotlib.override { enableTk = false; };
# pdm requires ...... -> jbig2dec which is AGPL only
@@ -30,14 +23,14 @@ let
in
python.pkgs.buildPythonApplication rec {
pname = "pdm";
version = "2.26.6";
version = "2.27.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pdm-project";
repo = "pdm";
tag = version;
hash = "sha256-khgaI9ivwF6i2zlW57vQtBwQpk5mzYVCV4lMOio7ibw=";
hash = "sha256-Ju1UoyThWoPnU9HJzdgA9ry+G1pXOhXmPIoydTg7VXo=";
};
pythonRelaxDeps = [ "hishel" ];
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchPypi,
fetchpatch,
packaging,
pdm-backend,
httpx,
@@ -23,6 +24,16 @@ buildPythonPackage rec {
hash = "sha256-HlPX9S9G3V+HXnf/HFWxJHfiFaCS5LZsl2SnffSptSA=";
};
patches = [
# https://github.com/frostming/unearth/pull/176
(fetchpatch {
name = "fix-packaging-26.0-changes.patch";
url = "https://github.com/frostming/unearth/commit/69ece0800edeefb1daf035bb0ee348e17a4393fd.patch";
hash = "sha256-t/Ubv9qC1Fvh4JsnfVgOZO/O7ZpCGHugBUt9qAjnH8c=";
excludes = [ "pdm.lock" ];
})
];
build-system = [ pdm-backend ];
dependencies = [