Skip to content

Commit

Permalink
python312Packages.islpy: 2024.2 -> 2025.1
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Feb 13, 2025
1 parent feeedbf commit 87ef431
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions pkgs/development/python-modules/islpy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,16 @@

buildPythonPackage rec {
pname = "islpy";
version = "2024.2";
version = "2025.1";
pyproject = true;

src = fetchFromGitHub {
owner = "inducer";
repo = "islpy";
tag = "v${version}";
hash = "sha256-ixw9U4WqcXBW6KGBOsUImjsxmvG5XKCv4jCbTjJ4pjg=";
hash = "sha256-njwNijl7kAbU7v6Bd6p0J9KnYzXZi9gVdqSf8qD0FXE=";
};

postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools>=42,<64;python_version<'3.12'" "setuptools>=42"
'';

build-system = [
cmake
nanobind
Expand All @@ -56,7 +51,7 @@ buildPythonPackage rec {

# Force resolving the package from $out to make generated ext files usable by tests
preCheck = ''
mv islpy islpy.hidden
rm -rf islpy
'';

nativeCheckInputs = [ pytestCheckHook ];
Expand All @@ -66,6 +61,7 @@ buildPythonPackage rec {
meta = {
description = "Python wrapper around isl, an integer set library";
homepage = "https://github.com/inducer/islpy";
changelog = "https://github.com/inducer/islpy/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ tomasajt ];
};
Expand Down

0 comments on commit 87ef431

Please sign in to comment.