Pradyun Gedam
980b3ff0c1
Use canonical names
2018-01-24 18:08:46 +05:30
Pradyun Gedam
0fa2736090
Improve operations.check
...
- Move get_installed_distributions call into operations.check
- Use a named tuple, instead of a normal tuple
2018-01-24 18:08:39 +05:30
Pradyun Gedam
09f0941ed4
Rework pip check to not use Distribution objects
...
While there is no change in functionality, this change makes it
possible to reuse the pip check logic by uncoupling it from the
Distribution objects.
2018-01-24 17:45:06 +05:30
Pradyun Gedam
5ae396d188
Merge branch 'refactor/reduce-action-at-distance' into resolver/warn-after-resolution
2018-01-24 17:36:30 +05:30
Pradyun Gedam
afb3a2a074
Merge branch 'resolver/move-dependency-info-and-install-order' into resolver/warn-after-resolution
2018-01-24 17:33:20 +05:30
Pradyun Gedam
48e50f65e7
Merge branch 'fix/fork-bombing' into resolver/warn-after-resolution
2018-01-24 17:32:07 +05:30
Pradyun Gedam
0d68bc4f8d
Merge branch 'misc/move-pytoml-to-installreq' into resolver/warn-after-resolution
2018-01-24 17:31:48 +05:30
Pradyun Gedam
dcdc323b6a
Merge branch 'misc/move-build-requirement' into resolver/warn-after-resolution
2018-01-24 17:31:31 +05:30
Pradyun Gedam
8803a3186b
Move dependency data into resolver
2018-01-24 17:19:21 +05:30
Pradyun Gedam
2e5715e3bb
Move installation order computation into Resolver
2018-01-24 17:17:24 +05:30
Pradyun Gedam
01b2b856b6
Move installation order code out of RequirementSet
2018-01-24 17:17:24 +05:30
Pradyun Gedam
1ea3f89ff9
Merge pull request #4992 from pradyunsg/vendor/disable-appdirs-loading-c-library
...
Disable vendored appdirs loading C library
2018-01-24 16:35:35 +05:30
Pradyun Gedam
25afbd3f99
Remove stub for appdirs
2018-01-24 15:37:09 +05:30
Pradyun Gedam
a91e545900
Do not load win32com on Windows
2018-01-24 15:36:22 +05:30
Pradyun Gedam
beffa5d35d
Merge pull request #4982 from pradyunsg/misc/error-out-on-input
...
Handle stdin correctly when calling subprocesses
2018-01-24 10:10:42 +05:30
Paul Moore
81fb5159d0
Merge pull request #4764 from pradyunsg/cache/ephem-wheel-cache
...
Do wheel installs from VCS/directories using ephemeral caching
2018-01-23 22:08:14 +00:00
Pradyun Gedam
4c147397ea
Merge branch 'master' into cache/ephem-wheel-cache
2018-01-24 02:15:21 +05:30
Pradyun Gedam
5ea50d2d8b
Move PEP 518 info fetching into InstallRequirement
2018-01-23 22:10:07 +05:30
Pradyun Gedam
cb6aa5be26
Use a property
2018-01-23 22:08:38 +05:30
Pradyun Gedam
470d48ad6e
Move BuildEnvironment out of wheel.py
2018-01-23 22:08:21 +05:30
Pradyun Gedam
3acb90fb8e
Error out on encoding issues while loading configuration ( #4976 )
2018-01-23 21:56:20 +05:30
Pradyun Gedam
cf9e174c7e
Update PEP 518 sdist to depend on a wheel
2018-01-23 09:41:11 +05:30
Pradyun Gedam
547f92d0c2
Only allow the finder to use wheels as build reqs
2018-01-23 01:35:24 +05:30
Pradyun Gedam
ec3ee8a118
Add tests for call_subprocess
2018-01-21 16:55:41 +05:30
Pradyun Gedam
88e801ce8b
📰
2018-01-21 16:49:20 +05:30
Pradyun Gedam
1c36fbc6c1
Handle stdin correctly when calling subprocesses
2018-01-21 16:47:00 +05:30
Pradyun Gedam
146c3900d4
Update unit tests for the changes
2018-01-21 16:17:38 +05:30
Pradyun Gedam
055dcb8daf
Assign is_direct outside RequirementSet
2018-01-21 16:17:37 +05:30
Pradyun Gedam
01c985a663
Reduce classes with pycompile attribute
2018-01-21 16:16:43 +05:30
Pradyun Gedam
b1cb27d34e
Reduce classes with target_dir attribute
2018-01-21 16:16:42 +05:30
Pradyun Gedam
de7d42feb9
Reduce classes with use_user_site attribute
2018-01-21 16:16:19 +05:30
GOTO Hayato
4f8541972f
The parameter include_editables of pip.get_installed_distributions() is desribed as editables in the docstring ( #4975 )
...
Fix the mismatched parameter name in get_installed_distributions().
2018-01-20 11:18:37 +00:00
Pradyun Gedam
2e7e1a972d
Merge pull request #4926 from pradyunsg/tests/rename-basic-tests
...
Rename a few tests to add the word "basic"
2018-01-20 08:44:49 +05:30
Anuj Godase
f038fe47bd
Add a note about temporary directories to --build help text ( #4944 )
...
Document that an initial build occurs in a temporary directory, even when --build is specified.
2018-01-01 23:46:50 +05:30
Pradyun Gedam
729990c986
Round 1 of Cleanups ( #4844 )
...
* misc: fix typo
* misc: 🎨 cleanup parenthesis
* misc: 🎨 minor simplifications
* tests: fix test_console_to_str_warning
2017-12-25 15:23:27 +05:30
Mariatta
094afefe26
Quickstart doc: improve the grammar ( #4934 )
...
"got elsewhere" sounds odd. Rephrased to: "obtained from elsewhere".
* Add trivial news
2017-12-22 14:55:34 +05:30
Mariatta
6ccb5e1d77
Quickstart doc: lowercase the i in Install. ( #4933 )
...
Seems to be more grammatically correct that way.
2017-12-22 14:54:44 +05:30
Giftlin Rajaiah
7bb73f60ad
Fix local variable 'base_url' referenced before assignment ( #4914 )
...
Fixes #4908
2017-12-17 20:12:39 +05:30
Pradyun Gedam
e31d784b41
Rename a few tests to add the word "basic"
...
This essentially allows me to do an overall check general check by running the tests using pytest's `-k basic` syntax. Given that I like running tests often and that, in general, I make typos more often than changes that break core functionality, I think this will reduce cycle times for me.
2017-12-16 23:43:46 +05:30
Donald Stufft
b0a762a8f6
Merge pull request #4920 from asottile/no_need_for_distro_patch
...
Drop vendoring patch for distro
2017-12-15 06:55:19 -05:00
Donald Stufft
ad0d3f524d
Merge pull request #4923 from asottile/pyupgrade_tests
...
Upgrade syntax in ./tests
2017-12-15 06:52:17 -05:00
Donald Stufft
c945d58acb
Merge pull request #4922 from asottile/pyupgrade_pip
...
Upgrade syntax in src/pip/_internal
2017-12-15 06:50:52 -05:00
Anthony Sottile
e21e2d3f8f
Upgrade syntax in ./tests
...
Changes were automated via https://github.com/asottile/pyupgrade
See #4921
2017-12-14 21:59:41 -08:00
Anthony Sottile
9762eb02e3
Upgrade syntax in src/pip/_internal
...
Changes were automated via https://github.com/asottile/pyupgrade
See #4921
2017-12-14 21:59:22 -08:00
Anthony Sottile
6bf55db7c0
Drop vendoring patch for distro
...
- python2.6 is no longer supported by pip
```bash
git apply --reverse tasks/vendoring/patches/distro.patch
git rm tasks/vendoring/patches/distro.patch
```
2017-12-14 20:46:06 -08:00
Cooper Ry Lees
5d951b2a94
Fix git+file example
...
= When to use this option and was surprised when there was not an example
- Put in a POSIX path in the example with git+file://
2017-12-09 00:39:24 +01:00
Gabriel Curio
ce674d2ca1
Fix unassigned variable.
...
In the event of an error, 'req' will be unassigned. This will cause another error in the exception.
Replace 'req' with 'name.'
2017-12-02 15:50:03 +01:00
Pradyun Gedam
9b6f1d7870
Merge branch 'master' into cache/ephem-wheel-cache
2017-12-01 19:18:17 +05:30
Pradyun Gedam
cd14240529
Merge branch 'master' into cache/ephem-wheel-cache
2017-12-01 19:16:27 +05:30
Benoit Pierre
fc6b2c1920
Fix Python 3.3 jobs on AppVeyor/Travis ( #4897 )
2017-12-01 13:59:11 +05:30