diff options
Diffstat (limited to 'dev-python/pipenv/files/pipenv-2023.4.29-append-always-install.patch')
-rw-r--r-- | dev-python/pipenv/files/pipenv-2023.4.29-append-always-install.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-python/pipenv/files/pipenv-2023.4.29-append-always-install.patch b/dev-python/pipenv/files/pipenv-2023.4.29-append-always-install.patch new file mode 100644 index 000000000000..25a9c604e5b4 --- /dev/null +++ b/dev-python/pipenv/files/pipenv-2023.4.29-append-always-install.patch @@ -0,0 +1,19 @@ +diff --git a/pipenv/routines/install.py b/pipenv/routines/install.py +index 4b8b2bf8c..a3e1fbcf7 100644 +--- a/pipenv/routines/install.py ++++ b/pipenv/routines/install.py +@@ -580,6 +580,14 @@ def batch_install_iteration( + strip_extras_markers_from_requirement, + ) + ++ # Gentoo patch: ++ # Install dependencies into the venv even if they exist ++ # in the system. ++ # This is needed because pipenv imports the system packages to run. ++ # It does not change your system's packages. ++ if (extra_pip_args is not None) and ("-I" not in extra_pip_args): ++ extra_pip_args.append("-I") ++ + is_artifact = False + for dep in deps_to_install: + if dep.req.req: |