Commit Graph

2771 Commits

Author SHA1 Message Date
Jeff Tratner 40c7ce7dc1 install as editable with init 2018-02-17 09:19:28 -08:00
Derek Schaller 0676c65e06 add documentation to makefile 2018-02-17 08:47:10 -08:00
kennethreitz fc83723a37 fix bug
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-17 11:34:56 -05:00
kennethreitz b223c0b9e1 fix version number for check warning
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-17 10:16:42 -05:00
kennethreitz bf13ba0bd1 history
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-17 09:12:45 -05:00
kennethreitz 52ea1d43da abort if --system is used with package name
#1428

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-17 09:12:07 -05:00
kennethreitz 9f41427a67 pip hash mode compatibility for pipenv lock -r
#1417

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-17 08:20:18 -05:00
kennethreitz f3fdabad65 v9.1.0
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-17 08:05:07 -05:00
kennethreitz 192306cb24 --style deprecation
#1395

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-17 08:00:26 -05:00
kennethreitz ab04d4a07c 9.1.0
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-17 07:55:51 -05:00
kennethreitz 8b4a79d895 Merge pull request #1433 from pypa/scripts
scripts
2018-02-17 06:54:04 -06:00
kennethreitz 8c8a1aeb1d updated history
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-17 07:53:33 -05:00
kennethreitz 7c72c3ce86 Merge pull request #1426 from danielhones/issue_1418_fix_dotenv_single_quoted_space
Altered regex in dotenv.main.parse_dotenv to handle single quotes lik…
2018-02-17 06:53:11 -06:00
Nate Prewitt 0abf2e954f Merge pull request #1372 from pypa/hotfix/post_901_requirements_resolvers
Requirements generation and resolver related post-9.0.1 PRs
2018-02-16 17:11:25 -08:00
kennethreitz 983342778a Merge pull request #1422 from bradsbrown/Fix.shellquote_src_path
Fix: shellquote src path
2018-02-16 18:51:28 -06:00
kennethreitz 8a1b764168 history
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-16 19:43:38 -05:00
kennethreitz a42d85b151 scripts
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-16 19:42:03 -05:00
kennethreitz 9bf7bd2b6b history update
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-16 19:15:30 -05:00
Daniel Hones d70e910107 Altered regex in dotenv.main.parse_dotenv to handle single quotes like double quotes 2018-02-14 13:47:36 -05:00
kennethreitz 0756d32fd8 Merge pull request #1423 from pypa/remove-suggestions
remove package suggestions
2018-02-13 14:01:46 -06:00
kennethreitz a6a6e0e883 check
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-13 14:11:16 -05:00
kennethreitz 1fd21857e1 make check work with --system more
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-13 14:10:38 -05:00
kennethreitz 94b20eb3f5 add --system support to pipenv check
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-13 12:16:15 -05:00
Nate Prewitt bc48169b7f remove fuzzywuzzy import 2018-02-13 08:51:43 -08:00
kennethreitz 097069b20c remove package suggestions
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-13 08:55:09 -05:00
Nate Prewitt 040285654f Merge pull request #1421 from drpoggi/patch-2
fix .travis.yml example in docs
2018-02-13 01:13:11 -08:00
Brad Brown d2f331e08e Fix: shellquote src path 2018-02-12 16:26:16 -06:00
David Poggi 52a712fb70 fix .travis.yml example in docs 2018-02-12 16:56:54 -05:00
Dan Ryan 30f65859d0 Minor restructuring of is_installable_file
- Improve flow & readability
- Use native `os.path.exists` to check for presence to avoid handling
`errno.EINVAL` exceptions from pathlib
2018-02-11 12:45:37 -05:00
kennethreitz d6d02351cb Merge pull request #1388 from sobolevn/patch-2
Updates `activate_virtualenv`, closes #1371
2018-02-11 05:30:30 -06:00
Nikita Sobolev 9b7799b5a6 Updates activate_virtualenv, closes #1371
`.` is actually a `source` alias. But it works better, since `source` is not supported in raw `sh`.
As it was discussed in https://github.com/pypa/pipenv/issues/1371 some systems do not have `bash` installed.
Prove link: https://askubuntu.com/questions/25488/what-is-the-difference-between-source-and
2018-02-11 14:29:00 +03:00
kennethreitz c0301adfcb Merge pull request #1414 from Li9htmare/core.do_create_virtualenv
Fix `do_create_virtualenv` cmd generation.
2018-02-11 05:19:11 -06:00
Dan Ryan 187e8f70d3 Cleanup of get_requirements
- Remove legacy and unnecessary code
- Redundant checks for is_file and matches_uri
- Always assign req.editable
2018-02-11 04:38:30 -05:00
Dan Ryan 7fb93b699b Comment and divide out tests for requirements 2018-02-11 04:05:32 -05:00
Li9htmare 04185e9739 Fix core.core.do_create_virtualenv cmd generation. 2018-02-10 16:15:37 +00:00
Dan Ryan 92e58fe97e Allow tests with PermissionErrors to pass 2018-02-04 22:27:18 -05:00
Dan Ryan 427959f8fc Slight cleanup to parsing of local files 2018-02-04 22:27:18 -05:00
Dan Ryan eea5d57b9f Fix VCS requirement generation
- Fixes issues when turning vcs lines into requirements
- At some point there was a regression around this which treats them as
normal paths
- This now follows pip practices as well
- Big todo: clean up duplicate functionality / break out logic for
requirements parsing
- Adds regression test for this case
2018-02-04 22:27:10 -05:00
Daniel Watkins 3ff0b6f549 Explicitly cause dependency resolution failure in the test
This also moves to using projects that are more closely related to this
one as the examples.
2018-02-04 22:25:45 -05:00
Daniel Watkins 88e72d56d1 Make test assertions match the test name more closely
This updates
test_editable_vcs_install_in_pipfile_with_dependency_resolution_doesnt_traceback
to check (a) that dependency resolution was triggered, and (b) that
there was no traceback (rather than just the specific traceback we are
currently seeing).
2018-02-04 22:25:45 -05:00
Daniel Watkins 39b2f52605 Don't shellquote executable names
Quoting the executable results in a traceback on Linux systems (because
the quotes added by shellquote are considered part of the executable
name), and is unnecessary on Windows systems.

This fixes #1240.
2018-02-04 22:25:45 -05:00
Daniel Watkins 6e811dc7a2 Add test that reproduces #1240 2018-02-04 22:25:44 -05:00
Dan Ryan ce403a5a07 Fix parsing of paths for testing installable files 2018-02-04 22:25:44 -05:00
Dan Ryan bc5bb39020 More thorough checks before resolving files
- Fixes #1225
- Add checks for Wheel files and archive files specifically
- Adopts egg-fragment parsing for local file paths to allow naming of
filesystem paths as well
- Adds these checks both to the get_requirement() function and the
is_installable_file() function
2018-02-04 22:25:44 -05:00
Dan Ryan be6ffb554f Differentiate urls and paths when generating reqs 2018-02-04 22:25:44 -05:00
Dan Ryan b9feb06f59 Properly parse urls as Link objects
- Fixes #1121
- Adds a bunch of tests for pipenv.utils.get_requirement()
2018-02-04 22:25:42 -05:00
kennethreitz 8378a1b104 Merge pull request #1397 from pypa/speed
lazy load pip; refactor cli
2018-02-04 16:06:47 -05:00
kennethreitz 3cf44caf4d improvements
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-04 14:53:34 -05:00
kennethreitz 35629babb0 fix legacy tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-04 14:23:05 -05:00
kennethreitz 9c4482649b fix tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-04 14:19:07 -05:00