Commit Graph

7428 Commits

Author SHA1 Message Date
Pradyun Gedam a9f8a76a98
Simplify InstallRequirement.get_dist() (#6632) 2019-06-22 22:32:10 +05:30
Chris Jerdonek abe36d58da Simplify InstallRequirement.get_dist(). 2019-06-21 17:58:46 -07:00
Chris Jerdonek a38a0eacd4
Merge pull request #6631 from cjerdonek/finder-search-scope
Change PackageFinder.create() to accept a SearchScope
2019-06-21 17:05:36 -07:00
Chris Jerdonek cab7316e2b Change PackageFinder.create() to accept a SearchScope object. 2019-06-21 14:41:49 -07:00
Chris Jerdonek 761b2064f4 Remove models/search_scope.py's dependency on download.py. 2019-06-21 14:41:45 -07:00
Chris Jerdonek c3c61b5c51
Merge pull request #6624 from cjerdonek/add-search-scope
Add SearchScope class for --find-links and --index-url related options
2019-06-21 07:30:55 -07:00
Chris Jerdonek 7d08bb37a5 Add SearchScope class. 2019-06-18 00:47:10 -07:00
Christopher Hunt 26cdedd618 Add milliseconds to --log entry timestamps. (#6621)
Resolves #6587.
2019-06-17 14:50:41 -07:00
Pradyun Gedam 2e67cd17fb
Merge pull request #6620 from pradyunsg/slightly-improve-load_pyproject_toml
Slightly improve load_pyproject_toml()
2019-06-17 09:19:18 +05:30
Chris Jerdonek 6ac468e4fd
Merge pull request #6613 from cjerdonek/requirements-file-error
Improve the error message for invalid requirements files in certain situations
2019-06-16 20:09:24 -07:00
Pradyun Gedam d5891784d1
Reduce indentation 2019-06-16 22:57:32 +05:30
Pradyun Gedam b1b097a307
pep517_data -> pyproject_toml_data 2019-06-16 22:57:07 +05:30
Pradyun Gedam 9c5eafc1c9
Simplify assignment of InstallRequirement.use_pep517 2019-06-16 22:56:40 +05:30
Pradyun Gedam 82284073e7
Simplify was_installed_by_pip() (#6616)
This uses `get_installer()` to reduce code duplication.
2019-06-16 21:25:53 +05:30
Pradyun Gedam bc731c7219
Improve clarification on installation order (#6619) 2019-06-16 21:19:29 +05:30
Pradyun Gedam f196814b71
Soften language in note for Installation Order 2019-06-16 19:34:19 +05:30
Pradyun Gedam 3c17e280f5
Add another colon to make it ReST directive 2019-06-16 18:27:00 +05:30
Pradyun Gedam 61c4b6159c
Add a disclaimer to the "Installation Order" section (#6604) 2019-06-16 17:43:28 +05:30
Pradyun Gedam 12bfa93f0f
Merge pull request #6618 from pradyunsg/refactor/rename-distribution-methods
Refactor/Rename distribution methods
2019-06-16 13:19:30 +05:30
Pradyun Gedam 021851d088
Merge pull request #6617 from pradyunsg/bump-version-for-development
Bump version for development
2019-06-16 13:06:30 +05:30
Pradyun Gedam a0670a9c98
Rename AbstractDistribution.prep_for_dist()
Use a better name prepare_distribution_metadata()
2019-06-16 05:29:00 +05:30
Pradyun Gedam 7908973c07
Rename AbstractDistribution.dist()
Use a more descriptive name get_pkg_resources_distribution()
2019-06-16 05:28:55 +05:30
Pradyun Gedam 534a102564
Rename make_abstract_dist
Use a more descriptive name make_distribution_for_install_requirement()
2019-06-16 05:23:16 +05:30
johnthagen d25e7410d0 Fix Subversion class method definition order (#6614)
* Fix Subversion class method definition order

* Move switch and update method to group with other instance methods.
Remove `svn info` from list of commands that need get_remote_call_args in docstring
2019-06-15 15:18:48 -07:00
DiegoCaraballo 2ffbf88bbc sorted imports 2019-06-15 19:06:34 -03:00
Pradyun Gedam e6361bc00d
Bump version for development 2019-06-16 00:38:37 +05:30
DiegoCaraballo 3fbbcb8b6f The was_installed_by_pip function is modified 2019-06-15 15:36:21 -03:00
Chris Jerdonek e5a730a89f Improve the error message when reading a bad requirements file. 2019-06-15 10:47:24 -07:00
Chris Jerdonek 4b6bb5da37
Merge pull request #6615 from johnthagen/svn-unit-test-reorg
Move Subversion arg unit tests from functional to unit test
2019-06-15 10:29:18 -07:00
Pradyun Gedam dada009254
Merge pull request #6601 from pradyunsg/refactor/distributions
Introduce a "distributions" abstraction to hold the build logic
2019-06-15 22:31:51 +05:30
johnthagen 3407ccdeb6 Move Subversion arg unit tests from functional folder to unit test folder 2019-06-15 08:04:03 -04:00
Diego Caraballo c0bdc8aad5 Add link to Development Documentation in CONTRIBUTING.md (#6610) 2019-06-15 14:42:16 +05:30
Chris Jerdonek 3f8df24875
Merge pull request #6600 from lkollar/consolidate-path-opt-parsing
Consolidate `--path` parsing into `cmdoptions.py`
2019-06-14 14:56:53 -07:00
Chris Jerdonek 28592c3cb7
Merge pull request #6603 from cjerdonek/issue-3799-trusted-host-requirements-txt
Fully support --trusted-host inside requirements files
2019-06-14 14:48:22 -07:00
Pradyun Gedam ad68a85e45
Add TODOs to improve the names for Distribution's methods 2019-06-14 23:28:22 +05:30
Pradyun Gedam 6f1e2ce5bc
Add docstrings to Distribution classes 2019-06-14 23:28:21 +05:30
Pradyun Gedam d43e31802b
Add distributions sub-package for holding build logic
This moves the DistAbstraction logic into a dedicated 'distributions'
sub-package, with separated modules for the concrete implementations of
various distribution handling logic.
2019-06-14 23:27:42 +05:30
Pradyun Gedam d3987fe114
Sort imports 2019-06-14 23:27:42 +05:30
Chris Jerdonek c0bda1b906 Log when adding a trusted host from a file. 2019-06-14 01:14:36 -07:00
Pradyun Gedam cbb2a5e6ad
Add a disclaimer to the "Installation Order" section
This section has caused a lot of user confusion since PEP 517/518. It seems that users are referring to this section for advice about how to deal with build time issues, which contains statements that do not hold true for build requirements.
2019-06-13 16:57:07 +05:30
Laszlo Kiss-Kollar 246130c48f Consolidate `--path` parsing into `cmdoptions.py`
This option is used both in the `freeze` and `list` commands. The code
to parse the option and validate that it's not used with incompatible
arguments should be done in one place.
2019-06-13 09:37:16 +01:00
Chris Jerdonek d72758394d Fully support --trusted-host inside requirements files. 2019-06-13 01:21:05 -07:00
Laszlo Kiss-Kollar a240a98701 Add `--path` option to `pip list`
This makes `pip list` consistent with `pip freeze` which also supports
listing packages in arbitrary file paths.
2019-06-12 16:10:06 +02:00
Chris Jerdonek 564c5dfbda
Merge pull request #6597 from cjerdonek/simplify-finder-secure-origins
Store PackageFinder.trusted_hosts instead of secure_origins
2019-06-12 04:42:03 -07:00
Chris Jerdonek 4c1ccaec73 Store PackageFinder.trusted_hosts instead of secure_origins. 2019-06-12 02:18:23 -07:00
Chris Jerdonek efaabe3bdd
Merge pull request #6562 from cjerdonek/make-test-package-finder
Add make_test_finder() helper function
2019-06-12 02:10:49 -07:00
Chris Jerdonek 210dab7470 Add make_test_finder() helper function. 2019-06-11 19:18:56 -07:00
Chris Jerdonek 93769d0a9c
Merge pull request #6591 from cjerdonek/target-python-class
Add a TargetPython class.
2019-06-11 19:03:13 -07:00
Chris Jerdonek b8d693c71e Add a TargetPython class. 2019-06-11 18:19:20 -07:00
Pradyun Gedam 9ced7ef803
Better surface release details in README (#6595)
* pip is spelt with a lower-case 'p'
* Merge release related items into a single list
  * New list, immediately after "install-and-use" section of the README
* Fix the syntax of the link (this is rst, not md)
* Update link to the hosted, built sphinx documentation instead of sources
2019-06-12 05:45:05 +05:30