treewide: unbreak with pythonRelaxDeps (#402181)
This commit is contained in:
@@ -16,6 +16,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||
hash = "sha256-CVXa2HvX7M0cwqnTeZVETg07j324ATQuMNreEgAC2QA=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "rich" ];
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
@@ -17,6 +17,8 @@ python3Packages.buildPythonApplication {
|
||||
hash = "sha256-Ifp8hwkuyBw57fGer3GbDiJaRjL4TD3hzj+ecGXWqI0=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "rich" ];
|
||||
|
||||
nativeBuildInputs = with python3Packages; [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
@@ -87,6 +87,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||
"ubi-reader"
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "rich" ];
|
||||
|
||||
pythonImportsCheck = [ "unblob" ];
|
||||
|
||||
makeWrapperArgs = [
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
pythonOlder,
|
||||
redshift-connector,
|
||||
requests-aws4auth,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -37,7 +38,10 @@ buildPythonPackage rec {
|
||||
hash = "sha256-dIdNrfhBrfrzXmspw25yd/y6MbXRrLfDveCQk+AERV0=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "packaging" ];
|
||||
pythonRelaxDeps = [
|
||||
"packaging"
|
||||
"pyarrow"
|
||||
];
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
@@ -54,6 +58,7 @@ buildPythonPackage rec {
|
||||
pymysql
|
||||
redshift-connector
|
||||
requests-aws4auth
|
||||
setuptools
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
|
||||
@@ -37,6 +37,7 @@ buildPythonPackage rec {
|
||||
pythonRelaxDeps = [
|
||||
"beautifulsoup4"
|
||||
"lxml"
|
||||
"pillow"
|
||||
];
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -28,6 +28,8 @@ buildPythonPackage rec {
|
||||
hash = "sha256-XqCP2GfS8hxlFU4Mndeh+7Ll2kXJ3Dei+AGp/oy0PUg=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "cryptography" ];
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
|
||||
@@ -35,7 +35,10 @@ buildPythonPackage rec {
|
||||
hash = "sha256-CYNEpQFIWR7i7I7YJ5q/34KNhtQ7cjya97Z0fyeO5g8=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "inflect" ];
|
||||
pythonRelaxDeps = [
|
||||
"inflect"
|
||||
"isort"
|
||||
];
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
|
||||
@@ -31,7 +31,10 @@ buildPythonPackage rec {
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonRelaxDeps = [ "importlib-metadata" ];
|
||||
pythonRelaxDeps = [
|
||||
"importlib-metadata"
|
||||
"numpy"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
importlib-metadata
|
||||
|
||||
@@ -25,12 +25,10 @@ buildPythonPackage rec {
|
||||
hash = "sha256-CvQSSrCdFAl2HpHsYWgUdogtRvlBjuqJCNOcASIuD2s=";
|
||||
};
|
||||
|
||||
# relax dependencies
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail 'pillow = "^10.3.0"' 'pillow = ">=10.3.0"' \
|
||||
--replace-fail 'tiktoken = "^0.7.0"' 'tiktoken = ">=0.7.0"' \
|
||||
'';
|
||||
pythonRelaxDeps = [
|
||||
"pillow"
|
||||
"tiktoken"
|
||||
];
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
|
||||
@@ -31,6 +31,8 @@ buildPythonPackage rec {
|
||||
hash = "sha256-eE807M8qFDlSMAcE+GFJyve1YfmlWmB3ML9VJhMUeIE=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "typing-extensions" ];
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -23,6 +23,8 @@ buildPythonPackage rec {
|
||||
hash = "sha256-JUvxxVCiQtywAWU5AYnPm4SueIWIXkzLxPYveVXpc2E=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "httpx" ];
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [ httpx ];
|
||||
|
||||
@@ -22,6 +22,8 @@ buildPythonPackage rec {
|
||||
hash = "sha256-PFqcSnJoGL4bXFy3hu3Iurbb8QK1NqCDs8aJmMxP4Hc=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "rich" ];
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -46,6 +46,7 @@ buildPythonPackage rec {
|
||||
"boto3"
|
||||
"importlib-metadata"
|
||||
"mock"
|
||||
"rich"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
|
||||
Reference in New Issue
Block a user