Skip to content

Commit

Permalink
treewide: clean up pythonRelaxDepsHook references
Browse files Browse the repository at this point in the history
Referencing it is not necessary any more, since using pythonRelaxDeps
or pythonRemoveDeps will automatically make sure the hook is provided.
  • Loading branch information
mweinelt committed Jul 7, 2024
1 parent 5290adb commit 6b8de6b
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 30 deletions.
1 change: 0 additions & 1 deletion pkgs/by-name/ma/mackup/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ python3Packages.buildPythonApplication rec {

nativeBuildInputs = with python3Packages; [
poetry-core
pythonRelaxDepsHook
nose
];

Expand Down
4 changes: 0 additions & 4 deletions pkgs/by-name/mo/mov-cli/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ python3.pkgs.buildPythonPackage {
(callPackage ./mov-cli-test.nix {})
];

nativeBuildInputs = [
python3.pkgs.pythonRelaxDepsHook
];

pythonRelaxDeps = [
"httpx"
"tldextract"
Expand Down
2 changes: 0 additions & 2 deletions pkgs/by-name/sp/sploitscan/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ python3.pkgs.buildPythonApplication rec {
setuptools
];

nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ];

dependencies = with python3.pkgs; [
jinja2
openai
Expand Down
4 changes: 0 additions & 4 deletions pkgs/by-name/tg/tg-archive/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ in python3.pkgs.buildPythonApplication {
pyproject = true;
pythonRelaxDeps = true;

nativeBuildInputs = with python3.pkgs; [
pythonRelaxDepsHook
];

propagatedBuildInputs = with python3.pkgs; [
setuptools
telethon
Expand Down
3 changes: 0 additions & 3 deletions pkgs/development/python-modules/bentoml/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
pythonRelaxDepsHook,
hatchling,
hatch-vcs,
aiohttp,
Expand Down Expand Up @@ -130,8 +129,6 @@ buildPythonPackage {
hash = "sha256-giZteSikwS9YEcVMPCC9h2khbBgvUPRW1biAyixO13Y=";
};

nativeBuildInputs = [ pythonRelaxDepsHook ];

pythonRelaxDeps = [
"cattrs"
"nvidia-ml-py"
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/python-modules/hdate/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
buildPythonPackage,
fetchFromGitHub,
pdm-backend,
pythonRelaxDepsHook,
pytestCheckHook,
pythonOlder,
pytz,
Expand Down
5 changes: 0 additions & 5 deletions pkgs/development/python-modules/llama-index/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
lib,
buildPythonPackage,
poetry-core,
pythonRelaxDepsHook,
llama-index-agent-openai,
llama-index-cli,
llama-index-core,
Expand All @@ -26,10 +25,6 @@ buildPythonPackage {

build-system = [ poetry-core ];

nativeBuildInputs = [
pythonRelaxDepsHook
];

pythonRelaxDeps = [
"llama-index-core"
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

fetchzip,
substitute,
pythonRelaxDepsHook,
pytestCheckHook,

setuptools,
Expand Down Expand Up @@ -73,8 +72,6 @@ buildPythonPackage {
echo "from .rapidocr_onnxruntime.main import RapidOCR, VisRes" > __init__.py
'';

nativeBuildInputs = [ pythonRelaxDepsHook ];

# Upstream expects the source files to be under rapidocr_onnxruntime/rapidocr_onnxruntime
# instead of rapidocr_onnxruntime for the wheel to build correctly.
preBuild = ''
Expand Down
3 changes: 0 additions & 3 deletions pkgs/development/python-modules/vcard/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
python-dateutil,
pythonAtLeast,
pythonOlder,
pythonRelaxDepsHook,
setuptools,
}:

Expand All @@ -28,8 +27,6 @@ buildPythonPackage rec {

build-system = [ setuptools ];

nativeBuildInputs = [ pythonRelaxDepsHook ];

dependencies = [ python-dateutil ];

nativeCheckInputs = [ pytestCheckHook ];
Expand Down
4 changes: 0 additions & 4 deletions pkgs/development/tools/aws-sam-cli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ python3.pkgs.buildPythonApplication rec {
setuptools
];

nativeBuildInputs = with python3.pkgs; [
pythonRelaxDepsHook
];

pythonRelaxDeps = [
"aws-lambda-builders"
"aws-sam-translator"
Expand Down

0 comments on commit 6b8de6b

Please sign in to comment.