Commit Graph

51 Commits

Author SHA1 Message Date
Woile d1cdb2878a fix: uninstall dev now removes package from Pipfile
Doing `pipenv uninstall -d <package>` does not remove the file from the
Pipfile. There was a flag preventing from doing so in `cli.uninstall`

Closes #575
2017-09-16 20:46:23 +02:00
kennethreitz cd81824f8e fix failing tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-14 20:50:51 -04:00
kennethreitz aac8c34136 fix failing test
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-14 20:05:09 -04:00
kennethreitz 81e44ea039 oh
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-12 12:23:59 -04:00
kennethreitz d9ae40de81 remove old tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-12 12:21:43 -04:00
Erin O'Connell 61e3afc9c3 flake8 test fix 2017-09-09 21:31:45 -06:00
kennethreitz 0c725e2e27 remove that test
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-09 14:09:56 -04:00
kennethreitz af7acea65d test file installations
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-09 12:15:04 -04:00
kennethreitz 2ce5c7cd65 debug
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-08 22:07:11 -04:00
Dan Ryan d1d3e73549 Fix flake8 lint errors 2017-09-08 19:01:57 -04:00
Dan Ryan 11e5ba7dd2 Tests passing 2017-09-08 17:01:32 -04:00
Dan Ryan 0b1a278921 Use pip resolver for version resolution
- Addresses conflicts between the PyPI api and pip
- Fixes #499 
- Uses semantic versioning and PEP approved post-release naming
2017-09-08 16:46:52 -04:00
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 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
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
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 1dbb14cb43 test installing vcs dependencies 2017-02-25 09:06:05 -07: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 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 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