Skip to content

Commit

Permalink
Merge pull request #250193 from K900/more-fixes
Browse files Browse the repository at this point in the history
[staging-next] More misc fixes
  • Loading branch information
K900 authored Aug 19, 2023
2 parents d3b2560 + ce17978 commit 604294d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pkgs/development/python-modules/coffea/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ buildPythonPackage rec {

postPatch = ''
substituteInPlace pyproject.toml \
--replace "numba>=0.57.0" "numba"
--replace "numba>=0.57.0" "numba" \
--replace "numpy>=1.22.0,<1.25" "numpy"
'';

nativeBuildInputs = [
Expand Down
6 changes: 6 additions & 0 deletions pkgs/development/python-modules/scikit-build-core/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ buildPythonPackage rec {
"tests/test_setuptools_pep518.py"
];

# Tries to access ninja.__version__ which our stub doesn't have.
# FIXME: remove for next cycle
disabledTests = [
"test_get_ninja_programs_cmake_module"
];

pythonImportsCheck = [
"scikit_build_core"
];
Expand Down
4 changes: 3 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24697,7 +24697,9 @@ with pkgs;

qm-dsp = callPackage ../development/libraries/audio/qm-dsp { };

qradiolink = callPackage ../applications/radio/qradiolink { };
qradiolink = callPackage ../applications/radio/qradiolink {
protobuf = protobuf3_21;
};

qrupdate = callPackage ../development/libraries/qrupdate { };

Expand Down
8 changes: 6 additions & 2 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7371,7 +7371,9 @@ self: super: with self; {
protobuf = protobuf3;
};

onnxconverter-common = callPackage ../development/python-modules/onnxconverter-common { };
onnxconverter-common = callPackage ../development/python-modules/onnxconverter-common {
protobuf = protobuf3;
};

onnxmltools = callPackage ../development/python-modules/onnxmltools { };

Expand Down Expand Up @@ -11708,7 +11710,9 @@ self: super: with self; {

skidl = callPackage ../development/python-modules/skidl { };

skl2onnx = callPackage ../development/python-modules/skl2onnx { };
skl2onnx = callPackage ../development/python-modules/skl2onnx {
protobuf = protobuf3;
};

sklearn-deap = callPackage ../development/python-modules/sklearn-deap { };

Expand Down

0 comments on commit 604294d

Please sign in to comment.