python312Packages.{type-infer,dataprep-ml,diffenator2,ibis-framework}: relax dependencies (#378636)

This commit is contained in:
Nick Cao
2025-02-01 17:52:19 -05:00
committed by GitHub
6 changed files with 29 additions and 6 deletions
@@ -39,7 +39,10 @@ buildPythonPackage rec {
hash = "sha256-pZhHlNcQJLBww7ur2Z6Yb2IdbRsBtjzQAzfa4UzGKt4=";
};
pythonRelaxDeps = [ "pydantic" ];
pythonRelaxDeps = [
"pydantic"
"numpy"
];
nativeBuildInputs = [
poetry-core
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonRelaxDepsHook,
pytestCheckHook,
poetry-core,
poetry-dynamic-versioning,
@@ -43,6 +42,7 @@ buildPythonPackage rec {
"protobuf"
"python-bidi"
"youseedee"
"unicodedata2"
];
build-system = [
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
pytestCheckHook,
fontmath,
fonttools,
@@ -16,16 +17,26 @@
buildPythonPackage rec {
pname = "fontmake";
version = "3.9.0";
version = "3.10.0";
pyproject = true;
src = fetchFromGitHub {
owner = "googlefonts";
repo = "fontmake";
rev = "v${version}";
hash = "sha256-q6ul9MYbq85RpZE0ozHOCBNAR4r9InIjumadT1GyJ6k=";
hash = "sha256-ZlK8QyZ5cIEphFiZXMV/Z5pL9H62X2UwLBtpwLGpUMQ=";
};
patches = [
# Update to FontTools 4.55 and glyphsLib 6.9.5
# https://github.com/googlefonts/fontmake/pull/1133
(fetchpatch2 {
url = "https://github.com/googlefonts/fontmake/commit/ca96d25faa67638930ddc7f9bd1ab218a76caf22.patch";
includes = [ "tests/test_main.py" ];
hash = "sha256-vz+KeWiGCpUdX5HaXDdyyUCbuMkIylB364j6cD7xR1E=";
})
];
build-system = [
setuptools
setuptools-scm
@@ -112,6 +112,10 @@ buildPythonPackage rec {
dontBypassPoetryDynamicVersioning = true;
env.POETRY_DYNAMIC_VERSIONING_BYPASS = lib.head (lib.strings.splitString "-" version);
pythonRelaxDeps = [
"toolz"
];
dependencies = [
atpublic
parsy
@@ -25,9 +25,13 @@ buildPythonPackage rec {
hash = "sha256-/3xRPrKzYAdSlY+sQxwCUzKhf3NJBSyWG2Q0ZKb6v3U=";
};
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
propagatedBuildInputs = [
pythonRelaxDeps = [
"numpy"
];
dependencies = [
dataprep-ml
numpy
pandas
@@ -48,6 +48,7 @@ buildPythonPackage rec {
pythonRelaxDeps = [
"psutil"
"py3langid"
"numpy"
];
build-system = [ poetry-core ];