nixpkgs/pkgs/top-level
Frederik Rietdijk 34d1d336ad onnnxruntime, python3Packages.onnxruntime: improve packaging
The Python bindings to onnxruntime were added by me in #193188.

Adding Python support this way is not a good way. Here a wheel was
created (which is fine) and installed in a python output. The
propagated-build-inputs file is put in the dev output. That's fine,
except that stdenv.mkDerivation does not automatically add dev when
python is included, because other outputs are only added when no
output is explicitly selected. This means that when you want to use
these bindings in another Python package, pip will complain it cannot
find the dependencies of the bindings.

In this PR, the onnxruntime derivation outputs a wheel in the dist output.
Then, in python-packages.nix we have a separate onnxruntime package
which installs the bindings.

The Python bindings have quite some dependencies which, depending on
your use case, are not required. Thus the dependency relax hook is
used to remove some of these dependencies.

Note there is also an issue with protobuf versions. The onnxruntime
bindings require an older protobuf and Python protobuf which we
cannot offer. Thus protobuf is also removed as Python dependency.
2022-10-04 10:33:48 +02:00
..
agda-packages.nix
aliases.nix Merge pull request #183349 from Luflosi/rename-ipfs-to-kubo 2022-10-03 21:34:14 +02:00
all-packages.nix Merge pull request #193968 from fabaff/clairvoyance 2022-10-04 09:11:11 +02:00
beam-packages.nix Merge branch 'master' into staging-next 2022-09-11 08:43:51 +02:00
config.nix pkgs/top-level: convert to MD option docs 2022-10-03 14:00:32 +02:00
coq-packages.nix Split coqPackages.mathcomp-analysis 2022-09-26 09:46:37 +02:00
cubocore-packages.nix
cuda-packages.nix
darwin-packages.nix
default.nix
dhall-packages.nix
dotnet-packages.nix
emacs-packages.nix
emscripten-packages.nix
gnuradio-packages.nix
haskell-packages.nix haskell.compiler: upgrade to 9.2.4 for 9.2.* binary compiler 2022-09-26 18:02:02 +02:00
haxe-packages.nix
impure.nix
java-packages.nix Merge remote-tracking branch 'origin/master' into staging-next 2022-09-20 12:25:19 +02:00
kodi-packages.nix kodiPlugins.waveform-visualization: init at 19.0.2 2022-09-16 18:31:35 +02:00
linux-kernels.nix linux/6.0: init 2022-10-03 11:04:50 +00:00
lua-packages.nix
make-tarball.nix
metrics.nix
nim-packages.nix
nixpkgs-basic-release-checks.nix
ocaml-packages.nix ocamlPackages.mimic: 0.0.4 -> 0.0.5 2022-09-21 22:22:26 +02:00
octave-packages.nix top-level/octave-packages.nix: remove unused bindings 2022-09-26 22:18:48 -04:00
packages-config.nix
perl-packages.nix apacheHttpdPackages.mod_perl: 2.0.11 -> 2.0.12 2022-10-02 12:06:39 +02:00
php-packages.nix php: enable imap extension by default 2022-10-03 10:06:48 +02:00
python2-packages.nix
python-aliases.nix Merge remote-tracking branch 'origin/master' into staging-next 2022-09-25 21:36:31 +02:00
python-packages.nix onnnxruntime, python3Packages.onnxruntime: improve packaging 2022-10-04 10:33:48 +02:00
qt5-packages.nix
qt6-packages.nix qt6Packages.kcoreaddons: init 2022-09-17 20:51:50 +08:00
release-alternatives.nix
release-cross.nix
release-cuda.nix
release-haskell.nix haskell.compiler: Don‘t filter redundant major version jobs 2022-09-21 17:20:16 +02:00
release-lib.nix
release-python.nix
release-r.nix
release-small.nix
release.nix
ruby-packages.nix
splice.nix
stage.nix stage.nix: revert deletion of gcc.abi="elfv2" from 82ff1f5 2022-09-27 22:48:52 +02:00
unixtools.nix
wine-packages.nix