python3Packages.python-sat: 0.1.7.dev1 -> 0.1.8.dev17 (#408996)

This commit is contained in:
Peder Bergebakken Sundt
2025-06-23 01:33:30 +02:00
committed by GitHub
2 changed files with 18 additions and 17 deletions
+7
View File
@@ -4628,6 +4628,13 @@
githubId = 2245737;
name = "Christopher Mark Poole";
};
chrjabs = {
email = "contact@christophjabs.info";
github = "chrjabs";
githubId = 98587286;
name = "Christoph Jabs";
keys = [ { fingerprint = "47D6 1FEB CD86 F3EC D2E3 D68A 83D0 74F3 48B2 FD9D"; } ];
};
chrpinedo = {
github = "chrpinedo";
githubId = 2324630;
@@ -6,17 +6,16 @@
pypblib,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "python-sat";
version = "0.1.7.dev1";
version = "0.1.8.dev17";
format = "setuptools";
src = fetchFromGitHub {
owner = "pysathq";
repo = "pysat";
rev = version;
hash = "sha256-zGdgD+SgoMB7/zDQI/trmV70l91TB7OkDxaJ30W3dkI=";
rev = "a04763de6dafb8d3a0d7f1b231fc0d30be1de4c0"; # upstream does not tag releases
hash = "sha256-FG6oAAI8XKXumj6Ys2QjjYcRp1TpwkUZzyfpkdq5V6E=";
};
propagatedBuildInputs = [
@@ -26,23 +25,18 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
# https://github.com/pysathq/pysat/pull/102
postPatch = ''
# Fix for case-insensitive filesystem
cat >>solvers/patches/cadical.patch <<EOF
diff --git solvers/cadical/VERSION solvers/cdc/VERSION
deleted file mode 100644
--- solvers/cadical/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-1.0.3
EOF
'';
disabledTestPaths = [ "tests/test_unique_mus.py" ];
meta = with lib; {
description = "Toolkit to provide interface for various SAT (without optional dependancy py-aiger-cnf)";
homepage = "https://github.com/pysathq/pysat";
changelog = "https://pysathq.github.io/updates/";
license = licenses.mit;
maintainers = [ maintainers.marius851000 ];
maintainers = [
maintainers.marius851000
maintainers.chrjabs
];
platforms = lib.platforms.all;
badPlatforms = lib.platforms.darwin ++ [ "i686-linux" ];
};
}