nixpkgs/pkgs/development/interpreters/python
Thiago Kenji Okada e19019fe32 pythonRelaxDepsHook: init
We have a common pattern here in nixpkgs for Python applications: when a
Python package ships with either a requirements.txt or setup.py file, we
generally end up having to modify its version restriction, otherwise we have
build failures since we package only one specific version of each package
normally.

However, this end up being done in a completely ad-hoc way: some people
use substituteInPlace, some others use sed, others uses patches, etc.
In many cases, the code ends up being buggy, so it may work in one
version and breaks on the next one. We can instead implement one
standard way of doing this, and trying to be a correct as possible.

So this is what this commit does: it implements a new build hook, that
when called will automatically patch the wheel file. This is one of the
most generic ways to patch Python dependencies, and should work in
multiple cases.
2022-04-30 13:19:30 +01:00
..
catch_conflicts
conda Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
cpython python3: Whitelist config options when overriding interpreter 2022-04-21 14:50:28 +02:00
hooks pythonRelaxDepsHook: init 2022-04-30 13:19:30 +01:00
manylinux
pypy pypy27_prebuilt: remove unneeded openssl_1_0_2 dependency 2022-02-22 03:55:37 +01:00
rustpython rustpython: init at unstable-2021-12-09 2021-12-14 18:53:25 +01:00
tests python3.tests: add cpython-gdb test 2021-08-19 19:37:09 +01:00
update-python-libraries update-python-libraries.py: Always use ref/tags/ for specifying rev 2022-03-14 00:29:09 +01:00
default.nix pythonInterpreters.graalpython37: remove 2022-04-25 17:53:06 +01:00
fetchpypi.nix python3Packages.fetchPypi: support wheels where dist & python differ 2021-06-22 13:42:45 +02:00
mk-python-derivation.nix pythonPackages: set mainProgram to pname by default 2021-06-12 23:23:35 +02:00
run_setup.py
setup-hook.nix
setup-hook.sh
sitecustomize.py
tests.nix python2.tests.nixenv-virtualenv: fix test 2021-12-18 14:43:50 +01:00
with-packages.nix
wrap-python.nix
wrap.sh
wrapper.nix python-wrapper: use makeBinaryWrapper 2022-04-20 21:59:47 +02:00