Commit Graph

5491 Commits

Author SHA1 Message Date
Dan Ryan c42cf75f4a Performance improvements
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-03 00:36:02 -04:00
Dan Ryan 4a49dfa663 Merge pull request #2835 from ulrikjohansson/check_api_override
Add ability to override the pyup.io API key for the check command
2018-11-03 00:26:12 -04:00
Dan Ryan dad39f228e Merge branch 'master' into check_api_override 2018-11-03 00:24:39 -04:00
Dan Ryan 8799431eb6 Merge pull request #2883 from Jamim/fix/get-virtualenv-hash
Fix _get_virtualenv_hash function
2018-11-03 00:24:20 -04:00
Dan Ryan 87e3e543e2 Merge branch 'master' into check_api_override 2018-11-02 20:06:52 -04:00
Dan Ryan 780e879aab Merge branch 'master' into fix/get-virtualenv-hash 2018-11-02 20:06:20 -04:00
Dan Ryan 785f2be79c Merge pull request #3147 from pypa/bugfix/3106
Don't write build artifacts to cwd
2018-11-02 20:03:32 -04:00
Dan Ryan 2632d0bd11 Fix url to path comparison
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-02 18:23:55 -04:00
Dan Ryan 02b0de9f7b Revert "Fix hash function"
This reverts commit d5680fb617.
2018-11-02 18:23:26 -04:00
Dan Ryan d5680fb617 Fix hash function
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-02 17:57:50 -04:00
Aliaksei Urbanski 545a23662c Fix _get_virtualenv_hash function
Case-sensitive filesystems were handled
like case-insensitive and vice versa.

Close #3151

This changes also:

 - Add PyCharm's config directory to .gitignore
2018-11-02 20:40:04 +03:00
Dan Ryan 77b3edd302 Update requirementslib version
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-02 11:35:20 -04:00
Dan Ryan b1d3aec5d2 Don't write build artifacts to cwd
- Fixes #3106

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-02 11:17:33 -04:00
Dan Ryan 740c589ef4 Also prioritize remote non-pypi hashes if given
- Fixes #3145

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-02 10:44:18 -04:00
Dan Ryan afc344258e Include hashes from local artifacts
- Fixes #2394

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-02 10:34:18 -04:00
Dan Ryan 18ceaa19dd Merge branch 'master' into check_api_override 2018-11-01 21:35:28 -04:00
Dan Ryan d985784dee Merge pull request #3134 from pypa/venv-location-rewrite
Rewrite venv discovery logic
2018-11-01 21:32:57 -04:00
Dan Ryan a7572734d3 Merge branch 'master' into venv-location-rewrite 2018-11-01 21:32:41 -04:00
Dan Ryan 7c89a46dd4 Merge pull request #3105 from frostming/proper-case-windows
Proper case windows
2018-11-01 21:32:26 -04:00
Dan Ryan 978497183f Merge branch 'master' into proper-case-windows 2018-11-01 19:29:44 -04:00
Dan Ryan 8c65f79ba9 Merge branch 'master' into venv-location-rewrite 2018-11-01 19:29:26 -04:00
Dan Ryan 91362c2329 Merge pull request #3133 from pypa/bugfix/clean-and-install
Fix virtualenv path derivations
2018-11-01 19:29:10 -04:00
Dan Ryan 41e637e810 Fix uninstallation passthrough
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-01 18:54:14 -04:00
Dan Ryan 83af37a2d1 Fix uninstallation if comments are present
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-01 16:20:45 -04:00
Dan Ryan 1034022e96 Add improved exception handling and formatter
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-01 00:51:34 -04:00
Dan Ryan 2625e8d2f5 More exception cleanup
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-31 18:27:25 -04:00
Dan Ryan 55cd7bfb46 Fix exception
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-31 02:05:16 -04:00
Dan Ryan e3ee806bb0 Merge pull request #3132 from pypa/bugfix/3131-better-output-encoding
Fix unicode encoding to replace non-ascii chars
2018-10-31 02:00:59 -04:00
Dan Ryan f07e0550bb Merge branch 'master' into bugfix/clean-and-install 2018-10-31 02:00:21 -04:00
Dan Ryan 7882912c30 Fix circular import
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-31 02:00:02 -04:00
Dan Ryan 7173c9e6d1 Merge branch 'bugfix/clean-and-install' of github.com:pypa/pipenv into bugfix/clean-and-install 2018-10-31 01:52:07 -04:00
Dan Ryan b57240dd45 Add messaging for skipped updates
- Fix removal of incorrect packages for pipfiles with comments
  on preceding lines
- Improved error handling and added a framework for exception handling
- Fixes #2411
- Fixes #3099
- Fixes #2885
- Fixes #1977

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-31 01:51:24 -04:00
Tzu-ping Chung 0847017697 Rewrite venv discovery logic 2018-10-31 10:10:57 +09:00
Dan Ryan b7835b92ee Merge branch 'master' into bugfix/clean-and-install 2018-10-30 19:33:17 -04:00
Dan Ryan 2835ff5d46 Fix virtualenv path derivations
- Fix inadvertent occasional global installation of files
- Fix inadvertent occcasional global removal of files
- Fix empty output from `pipenv update --outdated`
- Fixes #2828
- Fixes #3113
- Fixes #3047
- Fixes #3055

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 19:32:11 -04:00
Dan Ryan 8c659f1bb5 Merge branch 'master' into bugfix/3131-better-output-encoding 2018-10-30 12:11:11 -04:00
Dan Ryan 8bda09e1b0 Merge pull request #3127 from pypa/merge-prs
Merge multiple open prs
2018-10-30 12:10:38 -04:00
Dan Ryan 3381790ed1 Fix unicode encoding to replace non-ascii chars
- Drops any unmapped non-ascii characters on non-utf8 systems
- Fixes #3131

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 11:44:17 -04:00
Dan Ryan 150ec74f39 Fix requirementslib bug
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 11:32:05 -04:00
Dan Ryan 3140ee6f0b Exclude setup_path from pipfile
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 10:54:12 -04:00
Michael Wolf 77f97aa058 Set PIPENV_ACTIVE when running pipenv run 2018-10-30 10:54:04 -04:00
jxltom 9ff61c777b Add tests for locking editable packages with ref 2018-10-30 10:54:04 -04:00
jacrotts e7d6f4b901 Edit a word in news fragment 2018-10-30 10:54:04 -04:00
jacrotts ed6e328da0 Change news fragment to better reflect changes to sync 2018-10-30 10:54:04 -04:00
jacrotts 64f4b4b042 Add news fragment for 3041.feature 2018-10-30 10:54:04 -04:00
jacrotts 1ad684a5ab Implement some behavior for --bare in sync and clean, and add bare as an option to do_clean in cli.py 2018-10-30 10:54:01 -04:00
Dražen Lučanin 3381f178a9 pipenv open custom command help 2018-10-30 10:52:48 -04:00
Dan Ryan ceebf21b9c Add news entry for #3074
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 10:52:48 -04:00
Jeremy Carroll 735119e63b Added run-tests.bat as alternative to run-tests.sh 2018-10-30 10:52:48 -04:00
Jeremy Carroll d923a58ca7 Correction from PR comment 2018-10-30 10:52:48 -04:00