scalene: 1.5.44.1 -> 1.5.45 (#345729)
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
From 777be9c46c4caed5f3fcde65b70ada4d773f4298 Mon Sep 17 00:00:00 2001
|
||||
From: Sarah Clark <seclark@nextquestion.net>
|
||||
Date: Sat, 24 Aug 2024 11:26:30 -0700
|
||||
Subject: [PATCH] Unpin setuptools
|
||||
|
||||
---
|
||||
pyproject.toml | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index d17d12dc8..6bf1c7a38 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -54,7 +54,7 @@ scalene = "scalene.__main__:main"
|
||||
[build-system]
|
||||
build-backend = "setuptools.build_meta"
|
||||
requires = [
|
||||
- "setuptools>=65.5.1,<71.0", # Pin to setuptools<71.0 to avoid this bug: https://github.com/pypa/setuptools/issues/4496
|
||||
+ "setuptools>=65.5.1",
|
||||
"setuptools_scm>=8",
|
||||
"wheel",
|
||||
"cython",
|
||||
--
|
||||
@@ -10,6 +10,7 @@
|
||||
numpy,
|
||||
nvidia-ml-py,
|
||||
psutil,
|
||||
pydantic,
|
||||
pynvml,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
@@ -38,7 +39,7 @@ in
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scalene";
|
||||
version = "1.5.44.1";
|
||||
version = "1.5.45";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
@@ -46,12 +47,11 @@ buildPythonPackage rec {
|
||||
owner = "plasma-umass";
|
||||
repo = "scalene";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-XMz+gwiNaKiKplD4kOE1yhcg+dkzjEdDYjW0JsDEMQE=";
|
||||
hash = "sha256-0DhoLsXv2tUEkynMkoA14pNxF6GGLe30bfUOii7+PYE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./01-manifest-no-git.patch
|
||||
./02-pyproject-unpin-setuptools.patch
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
@@ -74,6 +74,7 @@ buildPythonPackage rec {
|
||||
jinja2
|
||||
numpy
|
||||
psutil
|
||||
pydantic
|
||||
pynvml
|
||||
rich
|
||||
] ++ lib.optionals stdenv.hostPlatform.isLinux [ nvidia-ml-py ];
|
||||
|
||||
Reference in New Issue
Block a user