Commit graph

21 commits

Author SHA1 Message Date
Nejc Zupan 1c406512eb Use wheel instead of pyjokes
We need an egg to install to test that pipenv works. Instead of
downloading & installing pyjokes, let's use wheel since we already
have it.

Refs https://github.com/NixOS/nixpkgs/pull/73349#discussion_r345830233
2019-11-13 22:28:57 +01:00
Nejc Zupan 5cbdff56ee make sure not to pollute the build directory 2019-11-13 22:28:57 +01:00
Nejc Zupan ad078d83a4 Add checkPhase for pipenv
This is to prevent regressions such as https://github.com/NixOS/nixpkgs/issues/73254
by using pipenv to install a simple Python package, thus testing
that pipenv was built correctly.

Many thanks to @Infinisil and @domenkozar for hand-holding!
2019-11-13 22:28:57 +01:00
Frederik Rietdijk 1d7e21905c pipenv: patch pipenv to point to python that has virtualenv 2019-10-25 17:31:51 +02:00
Frederik Rietdijk 7f63ecfff9 pipenv: fix dependencies
- setup_requires belong in nativeBuildInputs
- requests is only for Python 2. We offer only a Python 3 version of
pipenv
- setting PYTHONPATH is not needed because the magical sed expression
injects the dependencies in the executables. Otherwise, we would use
NIX_PYTHONPATH.
- PIP_IGNORE_INSTALLED was needed because of PYTHONPATH, but since we do
not set that anymore we can remove.
2019-10-22 07:59:15 -07:00
adisbladis baf17a4042
pipenv: Add missing build input virtualenv-clone 2019-05-07 06:10:28 +01:00
Lana Black 4f80ddcef5 pipenv: fix missing dependency issue (#61027) 2019-05-06 10:48:50 +00:00
Daniel Garzon a08252919a pipenv: fix package (#60045)
* pipenv: add virualenv to propagatedBuildInputs.

* pipenv: add current directory to PYTHONPATH.

* pipenv: remove pew from propagatedBuildInputs.
2019-04-26 12:05:25 +02:00
Väinö Järvelä 11d491dce5 pipenv: Ignore Python site-packages
pipenv nix wrapper contains a PYTHONPATH which has some dependencies
for pipenv installed. pipenv by default uses site-packages when
resolving packages, which means that any package that is included in
the nix wrapper is satisfied when running `pipenv install`.

But when the actual virtualenv created by pipenv is activated, it
doesn't contain those packages anymore and fails to import them.

pipenv has a flag PIP_IGNORE_INSTALLED which can be used to ignore
site-packages. Which fixes the problem of having different resolved
packages when running pipenv and when running the virtualenv.
2019-04-11 07:59:36 +02:00
zimbatm b1f767ef90
pipenv: fix python loading issue (#56495) 2019-03-06 17:56:44 +00:00
R. RyanTM 28fdb4eb11 pipenv: 2018.11.14 -> 2018.11.26
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pipenv/versions
2018-12-19 09:26:28 +01:00
R. RyanTM a27e3b2acb pipenv: 2018.10.13 -> 2018.11.14
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pipenv/versions
2018-11-18 16:35:21 -08:00
R. RyanTM 7e825f5a74 pipenv: 2018.10.9 -> 2018.10.13
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pipenv/versions
2018-10-26 14:22:48 -07:00
R. RyanTM 9af40cfa17 pipenv: 2018.7.1 -> 2018.10.9
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pipenv/versions
2018-10-14 08:59:16 +02:00
Domen Kožar 40887a6dc6 pipenv: 2018.5.18 -> 2018.7.1
Signed-off-by: Domen Kožar <domen@dev.si>
2018-07-22 16:52:33 +02:00
Domen Kožar 7a7463d0a3
pipenv: 11.9.0 -> 2018.5.18 2018-06-20 17:31:37 +01:00
Frederik Rietdijk 5ecc7b55ca python: pipenv: 10.1.2 -> 11.9.0 2018-04-08 11:34:57 +02:00
Frederik Rietdijk d9cb2f3955 python: pipenv: 10.1.0 -> 10.1.2 2018-03-03 12:00:45 +01:00
Frederik Rietdijk dc7f2ee78b pipenv: 9.0.1 -> 10.0.1 2018-02-27 14:23:08 +01:00
zimbatm 82e4f38ca0 pipenv: 8.2.7 -> 9.0.1 2018-01-01 03:43:38 +00:00
Dario Bertini e55b99e840 pipenv: init at 8.2.7
fixes #30442
2017-10-16 08:59:14 +01:00