Commit Graph

63 Commits

Author SHA1 Message Date
kennethreitz 77fc1cb115 this is no longer true
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-02 12:55:24 -04:00
kennethreitz 110f88f09e cleanup
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-02 12:55:01 -04:00
kennethreitz c25a2f5fd8 for travis™
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-01 21:17:33 -04:00
kennethreitz 502efe7068 debug for travis
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-01 20:53:08 -04:00
kennethreitz 7297fdf084 PASSED!
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-01 20:17:41 -04:00
kennethreitz d5d2f38d8b phew
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-01 20:04:39 -04:00
kennethreitz 9c599fab9f simplify
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-01 14:11:13 -04:00
kennethreitz 22569ed719 oops
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-01 14:10:06 -04:00
kennethreitz 58b37a99c7 swap maya out for requests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-01 14:00:13 -04:00
Erin O'Connell ec5ced7b11 disabled flake8 testing for now, and changed a dep in the cli test 2017-09-01 11:40:07 -06:00
Nate Prewitt a0a51240f7 fixing bad indentation on test 2017-07-05 10:15:37 -06:00
Nate Prewitt ed6c467437 verify BAD_PACKAGES aren't copied from requirements.txt into Pipfile 2017-06-25 09:38:07 -06:00
Erin O'Connell c8c251b143 added PIPENV_MAX_DEPTH for test to work without a pipfile 2017-06-25 02:04:24 -06:00
Erin O'Connell f7424308dd added a test for requirments to pipfile conversion 2017-06-16 01:35:07 -06:00
Erin O'Connell f85c63e95c removed debug print statement 2017-06-10 17:08:12 -06:00
Erin O'Connell e79c0a1df1 Merge branch 'timeouts-test' into custom-timeouts 2017-06-10 16:30:28 -06:00
Erin O'Connell 6e7fee8ce9 added timeout tests for short and long timeouts 2017-06-10 04:21:22 -06:00
nonylene 98b4f2b10a Add test for pipenv run 2017-06-08 03:49:33 +09:00
kennethreitz 5ef5bb0f79 switch to disable virtualenvs 2017-06-03 19:07:05 -04:00
Nate Prewitt d124e382a1 fix requirements output and add test 2017-06-01 10:51:34 -06:00
Nate Prewitt 17edfbc214 remove unused hash variable and name checking from tests 2017-05-30 13:45:20 -06:00
kennethreitz 6c8b068f51 Merge pull request #382 from kennethreitz/requirements.txt
requirements
2017-05-29 15:09:02 -04:00
kennethreitz 1a77b5c778 this doesn't work on ci 2017-05-29 15:02:30 -04:00
Ed Morley c5e7ac933d Whitespace cleanup for flake8
pipenv/cli.py:264:1: W293 blank line contains whitespace
pipenv/cli.py:546:1: E302 expected 2 blank lines, found 1
pipenv/environments.py:31:25: W292 no newline at end of file
pipenv/progress.py:171:23: W292 no newline at end of file
pipenv/utils.py:20:1: E302 expected 2 blank lines, found 1
pipenv/utils.py:206:6: E114 indentation is not a multiple of four (comment)
tests/test_project.py:8:1: E302 expected 2 blank lines, found 1
tests/test_utils.py:7:1: E302 expected 2 blank lines, found 1
tests/test_utils.py:75:5: E303 too many blank lines (2)
tests/test_utils.py:113:5: E303 too many blank lines (2)
tests/test_utils.py:124:5: E303 too many blank lines (2)
tests/test_utils.py:135:5: E303 too many blank lines (2)
2017-05-25 20:24:52 +01:00
Ed Morley 0d7694819b Remove unused variables and imports
pipenv/cli.py:24:1: F401 '.utils.recase_file' imported but unused
pipenv/cli.py:466:5: F841 local variable 'p' is assigned to but never used
pipenv/utils.py:13:5: F401 'html.parser.HTMLParser' imported but unused
pipenv/utils.py:246:25: F841 local variable 'e' is assigned to but never used
tests/test_pipenv.py:9:1: F401 'pipenv.cli.which_pip' imported but unused
2017-05-25 20:24:03 +01:00
Nate Prewitt 5b47579bb4 test normalized output in Pipfile.lock 2017-05-25 09:50:45 -06:00
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