Commit Graph

940 Commits

Author SHA1 Message Date
Erin O'Connell 6e7fee8ce9 added timeout tests for short and long timeouts 2017-06-10 04:21:22 -06:00
Nate Prewitt d124e382a1 fix requirements output and add test 2017-06-01 10:51:34 -06:00
Nate Prewitt eda7635350 v4.1.3 v4.1.3 2017-05-31 21:53:27 -06:00
Nate Prewitt a7f76770f1 fix bad syntax and install string formatting for -e installs 2017-05-31 21:51:33 -06:00
Nate Prewitt b8738347ea normalize package name before adding to Pipfile 2017-05-31 08:58:05 -06:00
Nate Prewitt 38185baa1c v4.1.2 v4.1.2 2017-05-30 13:57:21 -06:00
Nate Prewitt 257914af66 updating HISTORY.txt 2017-05-30 13:56:09 -06:00
Nate Prewitt 73a630be0c Merge pull request #385 from nateprewitt/deps_simplification
Simply Dependency Installation
2017-05-30 13:53:25 -06:00
Nate Prewitt 17edfbc214 remove unused hash variable and name checking from tests 2017-05-30 13:45:20 -06:00
Nate Prewitt f57d175386 simplify installation separation for regular vs vcs dependencies
We previously divided our dependencies into two separate lists.
This was to allow us to require hashes for pypi packages, but
ignore them for VCS dependencies since they won't exist. Now
that we're installing one package at a time, we can bundle dependencies
back together earlier and reduce the code duplication.
2017-05-30 13:45:13 -06:00
Nate Prewitt 984b7d3fd7 report both stdout and stderr on install error 2017-05-30 07:58:30 -06:00
kennethreitz 066073b23d restore environments settings 2017-05-29 18:39:21 -04:00
kennethreitz 586b7ff174 5 pipenv max depth 2017-05-29 15:27:12 -04:00
kennethreitz 909ffe7e59 try making it 5 2017-05-29 15:27:01 -04:00
kennethreitz 7dce6d6d1f Update README.rst 2017-05-29 15:10:28 -04:00
kennethreitz 6c8b068f51 Merge pull request #382 from kennethreitz/requirements.txt
requirements
2017-05-29 15:09:02 -04:00
kennethreitz 6aebf16041 empty commit 2017-05-29 15:08:13 -04:00
kennethreitz 1a77b5c778 this doesn't work on ci 2017-05-29 15:02:30 -04:00
kennethreitz c327bff413 pipfile 2017-05-29 15:00:20 -04:00
kennethreitz acca6c2a47 -e . 2017-05-29 14:56:59 -04:00
kennethreitz 2e92096717 remove mock twice 2017-05-29 14:50:03 -04:00
kennethreitz 89c3353ecc mock 2017-05-29 14:48:16 -04:00
kennethreitz b13c300a22 requirements 2017-05-29 14:45:10 -04:00
kennethreitz 620ef58cc6 Merge pull request #373 from nonylene/lazy-load-requirements
Import slow modules lazily
2017-05-25 14:26:57 -07:00
nonylene 21eb573231 import slow modules lazily
`parse_requirements` and `requirements` modules are used rarely but consume
much time for initialize.
2017-05-26 05:47:19 +09:00
Nate Prewitt 67e6e44c10 remove unneeded load of Pipfile 2017-05-25 13:54:34 -06:00
kennethreitz 3a7d81aefa Merge pull request #372 from edmorley/flake8
Add flake8 to the Travis run
2017-05-25 12:43:21 -07:00
Ed Morley 58a10908ab Add flake8 to the Travis run
flake8 would have caught the regression in #371 and output:
`pipenv/cli.py:257:19: F821 undefined name 'hashed_deps_path'`

Whilst in an ideal world there would be 100% test coverage, linters help
fill in the gaps, plus spot potential unused variable/imports cleanup.

I'm happy to disable more of the style/whitespace pep8 rules if
needed - the priority is having the pyflakes subset run in CI.
2017-05-25 20:40:33 +01: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 8a0ac58250 v4.1.1 v4.1.1 2017-05-25 11:34:53 -06:00
Nate Prewitt 452764d972 remove references to hashed_deps_path 2017-05-25 11:33:02 -06:00
Nate Prewitt 1386facdf7 v4.1.0 v4.1.0 2017-05-25 10:27:10 -06:00
kennethreitz 9a35cfe900 Merge pull request #370 from kennethreitz/fixing_editing
Fixing editing
2017-05-25 09:16:13 -07:00
kennethreitz 1e8967e4d4 Merge branch 'master' into fixing_editing 2017-05-25 12:10:11 -04:00
Nate Prewitt 5b47579bb4 test normalized output in Pipfile.lock 2017-05-25 09:50:45 -06:00
Nate Prewitt ec02cca602 speed up proper_case using pypi warehouse JSON api 2017-05-21 23:40:17 -07:00
Nate Prewitt 71c24367b1 remove appdirs 2017-05-21 23:36:57 -07:00
kennethreitz 4bdf4394ff progress 2017-05-21 20:07:00 -07:00
Nate Prewitt ea22a84bd3 add capture for editable 2017-05-21 18:29:19 -07:00
Nate Prewitt e77f23a958 Merge pull request #367 from nonylene/insert-vendor-path
Use sys.path.insert(1, v_path) instead of sys.path.append(v_path)
2017-05-19 06:58:43 -07:00
nonylene 8d98a751a4 use sys.path.insert(1, v_path) instead of sys.path.append(v_path)
packages under vendor/ should be used than that installed by pip.
2017-05-19 14:21:02 +09:00
Nate Prewitt 41178eeec0 updating HISTORY 2017-05-17 14:35:45 -07:00
Nate Prewitt df9160c173 Merge pull request #364 from c17r/fix-extra-pinned-version
handle package[extra]==version properly
2017-05-17 14:34:21 -07: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
kennethreitz 31b4133253 Merge branch 'master' of github.com:kennethreitz/pipenv 2017-05-17 09:56:11 -04:00
kennethreitz fd7725830c skip virtualenv instructions when --system is being used 2017-05-17 09:56:00 -04:00
Nate Prewitt fa02aa1724 v4.0.1 v4.0.1 2017-05-16 19:02:13 -06:00
Nate Prewitt b72f2e56b0 We no longer need to lock for every build 2017-05-16 18:38:36 -06:00
Nate Prewitt e04a7766a3 pin Sphinx to a 2.6 compatible version for now 2017-05-16 18:36:36 -06:00