treewide: drop explicitly added pythonRelaxDepsHook (#341842)

This commit is contained in:
Peder Bergebakken Sundt 2024-09-27 01:13:09 +02:00 committed by GitHub
commit f469b91544
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 1 additions and 22 deletions

View File

@ -19,7 +19,6 @@ python3.pkgs.buildPythonApplication rec {
nativeBuildInputs = with python3.pkgs; [ nativeBuildInputs = with python3.pkgs; [
setuptools setuptools
wheel wheel
pythonRelaxDepsHook
]; ];
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [

View File

@ -64,7 +64,6 @@ python3.pkgs.buildPythonApplication rec {
jsonschema jsonschema
openpyxl openpyxl
stem stem
pythonRelaxDepsHook
]; ];
pythonRelaxDeps = [ "stem" ]; pythonRelaxDeps = [ "stem" ];

View File

@ -20,8 +20,6 @@ python3Packages.buildPythonApplication rec {
build-system = [ python3Packages.setuptools ]; build-system = [ python3Packages.setuptools ];
nativeBuildInputs = [ python3Packages.pythonRelaxDepsHook ];
pythonRelaxDeps = [ "protobuf" ]; pythonRelaxDeps = [ "protobuf" ];
dependencies = with python3Packages; [ dependencies = with python3Packages; [

View File

@ -3,7 +3,6 @@
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchPypi,
pythonOlder, pythonOlder,
pythonRelaxDepsHook,
poetry-core, poetry-core,
dacite, dacite,
diskcache, diskcache,
@ -26,8 +25,6 @@ buildPythonPackage rec {
build-system = [ poetry-core ]; build-system = [ poetry-core ];
nativeBuildInputs = [ pythonRelaxDepsHook ];
pythonRelaxDeps = [ "pyarrow" ]; pythonRelaxDeps = [ "pyarrow" ];
dependencies = [ dependencies = [

View File

@ -3,7 +3,6 @@
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchPypi,
setuptools, setuptools,
pythonRelaxDepsHook,
brotli, brotli,
colorama, colorama,
filetype, filetype,
@ -28,8 +27,6 @@ buildPythonPackage rec {
build-system = [ setuptools ]; build-system = [ setuptools ];
nativeBuildInputs = [ pythonRelaxDepsHook ];
dependencies = [ dependencies = [
brotli brotli
colorama colorama

View File

@ -7,7 +7,6 @@
setuptools, setuptools,
numpy, numpy,
hdf5, hdf5,
pythonRelaxDepsHook,
cython_0, cython_0,
pkgconfig, pkgconfig,
mpi4py ? null, mpi4py ? null,
@ -15,7 +14,6 @@
pytestCheckHook, pytestCheckHook,
pytest-mpi, pytest-mpi,
cached-property, cached-property,
stdenv,
}: }:
assert hdf5.mpiSupport -> mpi4py != null && hdf5.mpi == mpi4py.mpi; assert hdf5.mpiSupport -> mpi4py != null && hdf5.mpi == mpi4py.mpi;
@ -67,7 +65,6 @@ buildPythonPackage rec {
preBuild = lib.optionalString mpiSupport "export CC=${lib.getDev mpi}/bin/mpicc"; preBuild = lib.optionalString mpiSupport "export CC=${lib.getDev mpi}/bin/mpicc";
nativeBuildInputs = [ nativeBuildInputs = [
pythonRelaxDepsHook
cython_0 cython_0
pkgconfig pkgconfig
setuptools setuptools

View File

@ -7,7 +7,6 @@
python-dateutil, python-dateutil,
pythonAtLeast, pythonAtLeast,
pythonOlder, pythonOlder,
pythonRelaxDepsHook,
requests, requests,
responses, responses,
setuptools, setuptools,
@ -29,8 +28,6 @@ buildPythonPackage rec {
build-system = [ setuptools ]; build-system = [ setuptools ];
nativeBuildInputs = [ pythonRelaxDepsHook ];
dependencies = [ dependencies = [
pyjwt pyjwt
python-dateutil python-dateutil

View File

@ -5,7 +5,6 @@
poetry-core, poetry-core,
crossandra, crossandra,
dahlia, dahlia,
pythonRelaxDepsHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -20,11 +19,9 @@ buildPythonPackage rec {
hash = "sha256-sOkJ67B8LaIA2cwCHaFnc16lMG8uaegBJCzF6Li77vk="; hash = "sha256-sOkJ67B8LaIA2cwCHaFnc16lMG8uaegBJCzF6Li77vk=";
}; };
build-system = [ poetry-core pythonRelaxDepsHook ]; build-system = [ poetry-core ];
dependencies = [ crossandra dahlia ]; dependencies = [ crossandra dahlia ];
pythonRelaxDeps = [ "crossandra" ];
meta = with lib; { meta = with lib; {
changelog = "https://github.com/samarium-lang/samarium/blob/${src.rev}/CHANGELOG.md"; changelog = "https://github.com/samarium-lang/samarium/blob/${src.rev}/CHANGELOG.md";
description = "The Samarium Programming Language"; description = "The Samarium Programming Language";

View File

@ -17,7 +17,6 @@
pytest-xvfb, pytest-xvfb,
sympy, sympy,
pytestCheckHook, pytestCheckHook,
pythonRelaxDepsHook,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -36,7 +35,6 @@ buildPythonPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
oldest-supported-numpy oldest-supported-numpy
setuptools setuptools
pythonRelaxDepsHook
]; ];
pythonRemoveDeps = [ "pre-commit" ]; pythonRemoveDeps = [ "pre-commit" ];