Commit Graph

366 Commits

Author SHA1 Message Date
Pradyun Gedam aa84f6b360
Bump version for release 2018-07-22 11:11:57 +05:30
Pradyun Gedam b8107a39f7
Fix message generation which caused a test failure 2018-07-21 16:27:15 +05:30
Pradyun Gedam 2dd3a28bac
Fix message nit pointed out by @pfmoore 2018-07-21 16:26:15 +05:30
Pradyun Gedam 4d772e6cf6
Start rejecting pyproject.toml files with an empty build-system table 2018-07-21 16:24:04 +05:30
Pradyun Gedam 7fe759bdb1
Cleanup existing PEP 518 logic 2018-07-21 16:24:04 +05:30
Pradyun Gedam c18f19a6a4
Don't warn if pyproject.toml does not contain build-system.requires 2018-07-21 12:58:27 +05:30
Pradyun Gedam 6acdceaf39
🎨 2018-07-20 10:07:46 +05:30
Pradyun Gedam d6472d4c61
Merge pull request #5603 from pradyunsg/vendoring/update-readme
Update vendoring README file
2018-07-20 09:40:29 +05:30
Pradyun Gedam 0bd01d9462
Merge pull request #5336 from benoit-pierre/src_build_reqs_in_pep518
PEP 518: enable source installs for build dependencies
2018-07-20 09:36:52 +05:30
Pradyun Gedam 169ca95666
Merge pull request #5542 from pradyunsg/dev-ops/deprecation-utilities
Introduce a helper function for deprecation
2018-07-20 00:37:53 +05:30
Pradyun Gedam 459415697e
Merge pull request #5609 from cjerdonek/vcs-add-is-repository-dir
Break out VersionControl.is_repository_directory().
2018-07-18 16:21:53 +05:30
Chris Jerdonek c6a18767dd Make is_repository_directory() a class method.
This addresses a review suggestion of @xavfernandez.
2018-07-17 20:53:42 -07:00
Chris Jerdonek f62440950b Use is_repository_directory() inside VersionControl.controls_location(). 2018-07-17 13:05:26 -07:00
Chris Jerdonek 22acd1fed1 Break out VersionControl.is_repository_directory(). 2018-07-17 08:20:45 -07:00
Pradyun Gedam 901578419d
Fix a merging artifact that broke the linter 2018-07-17 12:46:37 +05:30
Pradyun Gedam cff2367bf5
Merge pull request #5604 from nehaljwani/generic_was_installed
Make pip_installed_by_pip() more generic
2018-07-16 12:12:42 +05:30
Pradyun Gedam f77a63faa9
Merge pull request #5541 from pradyunsg/refactor/logging
Refactor the logging setup into a separate function and cleanup
2018-07-16 12:07:40 +05:30
Nehal J Wani 96f9fcc4a0
Make pip_installed_by_pip() more generic 2018-07-15 21:32:31 +05:30
Pradyun Gedam 490b6fd062
Document new debundling suggestions 2018-07-15 18:38:44 +05:30
Pradyun Gedam 5a608324fb
Styling changes 2018-07-15 18:37:45 +05:30
Pradyun Gedam 6813caadab
Be factually correct 2018-07-15 18:37:24 +05:30
Pradyun Gedam 28f183e1a2
Document parameters of the deprecated helper 2018-07-15 17:15:35 +05:30
Pradyun Gedam 3e0e45ba61
Nicer language in line with parameter name 2018-07-15 17:15:35 +05:30
Pradyun Gedam e027cd8449
Update deprecation utilities to specify versions
Also:
- Remove conditional warning/error level logging
- Remove now-obsolete class
- Update call sites as per new signature
2018-07-15 17:15:31 +05:30
Pradyun Gedam 4c2b268d52
Add "DEPRECATION" to start of message when composing it 2018-07-15 17:02:12 +05:30
Pradyun Gedam a1912454b8
Rename variable for clarity
It doesn't represent warnings.showwarning's current state so,
the name shouldn't suggest that.
2018-07-15 17:02:12 +05:30
Pradyun Gedam a8eaf1e0ff
Add a helper function for deprecation (and use it) 2018-07-15 17:02:03 +05:30
Pradyun Gedam 7769ddd52c
Rename deprecation warnings to not be versioned 2018-07-15 16:59:37 +05:30
Pradyun Gedam e6e0a14b68
Merge pull request #5523 from pradyunsg/deprecations
Remove items slated for removal in pip 11.0
2018-07-15 16:57:57 +05:30
Chris Jerdonek 1f6e1e51ec Make get_url_rev() accept an url argument. 2018-07-11 00:51:38 -07:00
Pradyun Gedam 397e835f39
Merge pull request #5587 from cjerdonek/vcs-move-obtain-to-base-class
Implement VersionControl.obtain() in the base class.
2018-07-11 02:02:34 +05:30
Pradyun Gedam da4d616eb0
Merge pull request #5585 from pradyunsg/pep-518/isolate-when-missing-requires
Isolate when pyproject.toml does not have build-system.requires
2018-07-10 01:01:36 +05:30
Chris Jerdonek 701d010c02 Implement VersionControl.obtain() in the base class. 2018-07-08 22:46:25 -07:00
Pradyun Gedam 26014c5502
Merge pull request #5521 from pradyunsg/vendoring/update-jun-2018
Vendoring Updates for June 2018
2018-07-09 09:25:59 +05:30
Pradyun Gedam e3b06f9e51
Isolate when pyproject.toml does not have build-system.requires 2018-07-09 07:48:36 +05:30
Pradyun Gedam 3e7e7d349a
Merge pull request #5559 from SpoonMeiser/path-fix
Fix error trying to generate scripts warning when PATH not set
2018-07-08 18:43:41 +05:30
Chris Jerdonek 64d205e896 Refactor out a new VersionControl.fetch_new() method. 2018-07-07 21:55:55 -07:00
Pradyun Gedam ca3b5bd470
Merge pull request #5563 from cjerdonek/vcs-check-destination-remove-checkout-var
Remove the checkout variable from VersionControl.check_destination().
2018-07-08 07:54:40 +05:30
Oliver Jeeves ca5cca3426
Fix error trying to generate scripts warning when PATH not set
fixes #5558
2018-07-07 02:59:55 +05:30
Pradyun Gedam 4ba6769a68
Merge pull request #5530 from pradyunsg/misc/simplify-linter-use
Simplify linter use and make configuration consistent
2018-07-04 14:27:33 +05:30
Pradyun Gedam fb9eb189cb
Merge pull request #5543 from pradyunsg/lint/upgrade-and-improve
Upgrade linting tools to current latest and fix new errors
2018-07-04 14:25:48 +05:30
Chris Jerdonek 4555cd3563 Remove the checkout variable from VersionControl.check_destination(). 2018-07-03 01:33:23 -07:00
Pradyun Gedam 73fbf3ce7e
Merge pull request #5418 from eli-schwartz/master
fix un-vendored support; add missing entry for urllib3
2018-07-02 23:15:46 +05:30
Chris Jerdonek 33481c6625 Return early in VersionControl.check_destination() if no prompt. 2018-06-30 19:13:53 -07:00
Pradyun Gedam 3273ba6dfa
Merge pull request #5529 from cjerdonek/vcs-check-destination-guard-clause
Use guard clause in VersionControl.check_destination().
2018-06-30 15:31:17 +05:30
Pradyun Gedam 8d65024c49
Catch *everything* in basecommand 2018-06-27 13:37:18 +05:30
Pradyun Gedam 8a565aac75
Sort imports as per newer isort 2018-06-27 12:53:31 +05:30
Pradyun Gedam c92d13e9d3
Fix new lint errors from newer flake8 2018-06-27 12:53:31 +05:30
Pradyun Gedam e8caa31736
Disable logging only for vendored dependencies
The current list is already not up-to-date. This should be handled by
downstream packagers if they unvendor pip's dependencies.
2018-06-27 12:09:46 +05:30
Pradyun Gedam f19d1fc345
Cleanup logic surrounding user_log handler 2018-06-26 16:07:58 +05:30