Christian Sauer
d60b42d147
handle package[extra]==version properly
...
Previously doing `pipenv install "django-rest-auth[with_social]==0.8.2` would
lose the extra information and if you edited the Pipfile by hand to
```
[[source]]
url = "https://pypi.python.org/simple "
verify_ssl = true
[packages.django-rest-auth]
version = "==0.8.2"
extras = [ "with_social",]
```
`pipenv update` would break with a malformed pip command.
2017-05-17 15:29:27 -04:00
Nate Prewitt
6da9f8520c
test uninstall functionality
2017-05-12 15:15:09 -06:00
Nate Prewitt
5418e980d2
pick a 2.6 compatible dependency for test
2017-04-27 11:04:26 -06:00
Nate Prewitt
a27cc9db3f
fix appveyor tests failing on emoji printing
2017-04-27 10:22:18 -06:00
Nate Prewitt
7f7464f858
test uninstall functionality
2017-04-27 07:31:49 -06:00
Nate Prewitt
6971ca57fe
strip implicit post releases from version numbers in Pipfile.lock
2017-04-13 09:33:14 -06:00
Nate Prewitt
0441eb8573
correct expected test output
2017-03-14 09:52:57 -06:00
Nate Prewitt
d124103ab0
use six.string_types instead of str to handle unicode in Python2
2017-03-14 09:45:56 -06:00
Nate Prewitt
c37a0143f3
test internal pipfile/lock representations and new utils
2017-02-28 11:16:14 -07:00
Nate Prewitt
7dae3bd013
add error message for vcs dependency without #egg fragment
2017-02-27 09:08:13 -07:00
Nate Prewitt
1dbb14cb43
test installing vcs dependencies
2017-02-25 09:06:05 -07:00
Nate Prewitt
653110c836
test case normalization on add/remove from Pipfile
2017-02-25 09:06:04 -07:00
Hyeon Kim
a81197d6bf
Change the naming scheme of virtualenv
...
New property has been added as discussed as
https://github.com/kennethreitz/pipenv/pull/238#discussion_r102049269
project.virtualenv_name
It'll be '<sanitized-name>-<hash>' where <sanitized-name> is a project
name without whitespaces, and hash is base64-encoded sha256 of pipfile
location.
For example, if the pipfile was located at '/home/user/MY_PROJECT/Pipfile',
the 'virtualenv_name' will be 'my-project-wyUfYPqE'.
Closes #228
References:
https://github.com/kennethreitz/pipenv/issues/228
https://github.com/kennethreitz/pipenv/pull/238
2017-02-21 14:03:44 +09:00
Nate Prewitt
b4d16d0077
Merge pull request #233 from arruda/pip_download_respect_sources
...
Make pip_download respect project.sources
2017-02-19 13:17:36 -07:00
Nate Prewitt
67b081cfad
adding test for multi-dashed package names
2017-02-17 08:38:22 -07:00
Felipe Arruda Pontes
c0dcf130f2
some tests to check if pip_download is using all sources
2017-02-17 10:30:21 -02:00
Felipe Arruda Pontes
97426bf145
rm mock for project.virtualenv_location in tests, fixing some url in tests and other typos as well
2017-02-13 21:19:36 -02:00
Felipe Arruda Pontes
a79843107e
adding tests for pip_install
2017-02-11 23:06:28 -02:00
Nate Prewitt
4f9d27aba6
removing unneeded pew test
2017-02-11 15:34:40 -07:00
Nate Prewitt
547a084d3b
test adding and removing packages from Pipfile
2017-02-10 11:54:07 -07:00
Nate Prewitt
faeb5f1329
caching pipfile_location and testing
2017-02-10 09:22:25 -07:00
Nate Prewitt
69a89ec8df
tests for utils (hashes, revisions, and versions)
2017-02-10 07:52:15 -07:00
Nate Prewitt
8ebcd1ae75
only use pypi.org for proper casing
2017-02-10 07:51:57 -07:00
Nate Prewitt
1126d79311
more tests
2017-02-09 09:05:18 -07:00
Nate Prewitt
8a7223bac8
properly handle percent-encodings in parse_install_output
2017-02-08 15:12:31 -07:00
Nate Prewitt
5d45e6e734
updating parse_download_fname and tests
2017-02-08 14:13:41 -07:00
Nate Prewitt
31fb7d1f2e
remove unnecessary test_files
2017-02-07 18:40:55 -07:00
Nate Prewitt
05e24936fd
use parametrize for test_parse_download_fname
2017-02-07 17:10:15 -07:00
Nate Prewitt
2200fca987
updating tests
2017-02-07 17:09:49 -07:00
Nate Prewitt
a2987a05fe
test ensure_proper_casing
2017-02-06 13:26:52 -07:00
Nate Prewitt
e5f1b61f8c
initial testing work
2017-02-02 16:57:14 -07:00
kennethreitz
bfae4960d5
Revert "Revert "Merge branch 'master' into fix_link_parsing""
...
This reverts commit 94eb22a8ce .
2017-01-27 22:24:30 -05:00
kennethreitz
94eb22a8ce
Revert "Merge branch 'master' into fix_link_parsing"
...
This reverts commit 505c2b3427 , reversing
changes made to 62731f091e .
2017-01-27 22:22:24 -05:00
mattkohl
4f44584146
Updated requests version required to >=2.4.0
2017-01-27 15:40:55 +00:00
kennethreitz
9cd43ac922
better support for comments in requirements files
...
#45
2017-01-23 15:42:43 -05:00
kennethreitz
fccc309b74
test for comments in reqs files
...
#35
2017-01-23 15:27:56 -05:00
Alex Chan
1cd2cef72b
Don't throw a TypeError for requirements.txt in Python 3
...
Opening the file as `r` instead or `rb` ensures that we don't have
any implicit encoding/decoding of strings (so Python 3 is happy).
Includes a test that passes on both Python 2 and Python 3 which
checks this works correctly.
2017-01-23 09:14:22 +00:00