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
Eli Boyarski
33e99572d3
Added a test for utils.python_version
2017-09-16 11:21:58 +03:00
kennethreitz
068b7ab1b7
stole @jacebrowning's tests (modified)
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2017-09-15 11:15:20 -04:00
kennethreitz
200e73a321
try this
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2017-09-14 20:56:39 -04: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
Nicolas Delaby
9dc5eb8398
Add support for extras_require in Pipfile for vcs urls
2017-09-13 20:10:47 +02: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
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