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
Chris Jerdonek
701d010c02
Implement VersionControl.obtain() in the base class.
2018-07-08 22:46:25 -07:00
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
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
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
Pradyun Gedam
ba5315956e
Make it clearer when user_log is used
2018-06-26 15:31:20 +05:30
Pradyun Gedam
621ff77c94
Improve readability of logging setup
2018-06-26 15:29:11 +05:30
Pradyun Gedam
fbce3e2a4e
Improve readability of version checking caller
2018-06-26 15:24:44 +05:30
Pradyun Gedam
036e5c8eec
Simply shutdown logging instead of cleaning up
2018-06-26 15:23:19 +05:30
Pradyun Gedam
e7b7239be3
Move all logging setup into a separate function
2018-06-26 15:15:40 +05:30
Benoit Pierre
43b8ed4945
detect fork-bombs during build dependencies installs
2018-06-26 10:40:23 +02:00
Benoit Pierre
3ae521974f
enable source installs for build dependencies
2018-06-26 10:40:23 +02:00
Chris Jerdonek
9a7564e5c5
Use guard clause in VersionControl.check_destination().
2018-06-25 03:44:31 -07:00
Pradyun Gedam
f5c6e1adec
Move import to top
2018-06-24 14:03:14 +05:30
Pradyun Gedam
89223dd47c
Sort imports
2018-06-24 02:41:57 +05:30
Pradyun Gedam
06314455e9
Add a utility for comparision logic and switch to it
...
It uses the operator module, instead of inline-lambdas
2018-06-24 02:38:22 +05:30
Pradyun Gedam
39995b32db
Move Link to models
2018-06-24 02:38:21 +05:30
Pradyun Gedam
f1cf9a06e9
Move InstallationCandidate to models + add tests
2018-06-24 02:38:21 +05:30
Pradyun Gedam
44d79d3700
Rename Index -> PackageIndex and add tests
2018-06-24 02:38:21 +05:30
Pradyun Gedam
803286000d
Remove no longer valid deprecation warning
2018-06-21 23:52:40 +05:30
Bastian Venthur
4dee7e9ad2
Remove also compiled pyo files for wheel packages. ( #5173 )
2018-06-21 23:00:20 +05:30
Kexuan Sun
14fe337bcf
Improve autocompletion function on file name completion ( #5125 )
2018-06-21 22:59:31 +05:30
Dan Black
bcd9db92bc
Improve message when no listed files are found from PKG-INFO ( #5515 )
2018-06-21 22:55:56 +05:30
Pradyun Gedam
aa146d5dc2
Kick the can down the road for dependency-links
2018-06-21 21:19:24 +05:30
Pradyun Gedam
f015aa9608
Remove support for cleaning up #egg fragment postfixes
2018-06-21 21:19:24 +05:30
Pradyun Gedam
52782f0547
Remove the "legacy" format for 'pip list'
2018-06-21 21:19:17 +05:30
Pradyun Gedam
e8a56683d3
Merge pull request #5512 from pradyunsg/feature/refuse-non-compliant-pyproject
...
Start warning on non compliant pyproject.toml files and rejecting obviously incorrect ones
2018-06-20 15:25:04 +05:30
Pradyun Gedam
4fedc45bbb
Merge pull request #5489 from jdufresne/https
...
Update doc and comment URLs to https where available
2018-06-20 12:49:35 +05:30
keanemind
176fa8dd25
Document that pip show is machine readable
2018-06-19 13:05:19 -05:00
Pradyun Gedam
2b68c7983e
Only disable isolation when build-system.requires is skipped
2018-06-19 16:27:07 +05:30
Pradyun Gedam
0eb566fa82
Rework PEP 518 requirement logic
2018-06-19 16:27:07 +05:30
Pradyun Gedam
0534aeb891
Start refusing non PEP 518 pyproject.toml files
2018-06-19 16:27:06 +05:30
Stephan Erb
cbc21a5957
Speed up printing of installed package versions ( #5127 )
...
The installed set of packages is already fixed and no longer changing.
It is therefore safe to reuse a single `pkg_resources.WorkingSet` for
all invocations of `get_installed_version`.
2018-06-19 12:20:58 +05:30
Adrien Morison
c16ff34296
Clearer msg for already installed deps when updating ( #5319 )
2018-06-19 12:16:43 +05:30
Pradyun Gedam
ca031c1f18
Merge pull request #5457 from pradyunsg/check/only-check-requirements-modified
...
Restrict install time dependency warnings to directly-dependant packages
2018-06-17 12:15:08 +05:30
Pradyun Gedam
b41a712123
Merge pull request #5452 from pradyunsg/refactor/reorder-req-install-methods
...
Reorder methods in req_install to better group them
2018-06-17 12:13:39 +05:30
Pradyun Gedam
161e8bd210
Switch to using a set and callable argument
2018-06-15 11:29:36 +05:30
Pradyun Gedam
daa3163d08
Restrict install time dependency warnings to directly-dependant packages
2018-06-15 11:29:36 +05:30
Jon Dufresne
9c4bd6d5eb
Update doc and comment URLs to https where available
2018-06-13 09:00:42 -07:00
Pradyun Gedam
cc33877126
I missed an import
2018-06-13 13:17:31 +05:30
Pradyun Gedam
54722aa7ec
Remove unused imports
2018-06-13 13:17:30 +05:30
Pradyun Gedam
a121abbc30
Add flake8 ignores for mypy imports
2018-06-13 13:17:30 +05:30
Anthony Sottile
6533f883f6
rehash hard-codes sha256, remove algo param ( #5485 )
2018-06-11 22:43:32 +05:30
Łukasz Langa
39817bd302
Open pyproject.toml with UTF-8 encoding in all environments
2018-06-07 11:16:47 -07:00
Pradyun Gedam
47d58b8a49
🎨
2018-06-07 16:16:51 +05:30
Pradyun Gedam
3d516c210c
Reorder method in req_install to better group them
2018-06-07 16:16:51 +05:30
Benoit Pierre
e611c85a73
minor cleanup ( #5426 )
2018-05-30 23:01:49 +05:30
Philip Molloy
8d3f5e7b76
Improve dependency links log message ( #4936 )
2018-05-30 23:01:14 +05:30
Pradyun Gedam
e671005a52
Merge pull request #5312 from pradyunsg/fix/windows-pip-blocker-message
...
Move Windows protection check to specific commands
2018-05-30 18:52:22 +05:30
Pradyun Gedam
2a061c2d5e
Restrict the Windows name check to only "pip[major[.minor]].exe" names
2018-05-30 16:01:37 +05:30
Pradyun Gedam
369061b535
Move Windows protection check to specific commands
2018-05-30 15:57:06 +05:30
Pradyun Gedam
88e17b4aed
Update the import for PyPI Index model
2018-05-30 01:44:51 +05:30
Pradyun Gedam
8619e3edea
Merge pull request #5368 from hroncok/pip-nowarn-upgrade
...
When pip was not installed by pip, don't show the upgrade warning
2018-05-22 11:27:16 +05:30
Pradyun Gedam
144b42d799
Remove username/password from log message
...
Merge pull request #5339 from jzafran/remove-password-from-stdout
2018-05-22 11:03:10 +05:30
Miro Hrončok
d0b77089a7
When pip was not installed by pip, don't show the upgrade warning
...
Fixes https://github.com/pypa/pip/issues/5346
2018-05-19 08:32:27 +02:00
Benoit Pierre
92e6e19e7a
minor cleanup
2018-05-18 23:45:55 +02:00
Benoit Pierre
77f6ac676a
forward verbose flag to build dependencies installs
2018-05-18 23:45:55 +02:00
Benoit Pierre
1ac5f09911
tweak output when installing PEP 518 build dependencies
...
Suppress warnings about out-of-PATH script installs.
2018-05-18 23:45:55 +02:00
Benoit Pierre
7b4790d0ca
cleanup PEP 518 implementation
...
- remove unused `BuildEnvironment` parameter: `no_clean`
- move helper to install build requirement to the `BuildEnvironment` class
- simplify a little the 2 different code paths (with and without build isolation)
2018-05-18 23:45:55 +02:00
Benoit Pierre
ca4e2ad6ad
improve handling of PEP 518 build requirements
...
Offload more work to the underlying pip command used to install the
build requirements, so there's no need to duplicate code to handle
environment markers/extras. This is done by setting the correct options
from the finder passed in argument to `_install_build_reqs`.
2018-05-18 23:45:55 +02:00
Tom Freudenheim
daae935450
Merge branch 'master' into 3905_Pip_version_check_cache_dir
2018-05-17 21:59:25 -04:00
Donald Stufft
90b3db476f
Drop support for Python 3.3
2018-05-17 13:34:48 -04:00
Tom Freudenheim
16528ed5f1
Cleanup per PR comments
2018-05-17 09:39:26 -04:00
Tom Freudenheim
631c080cc8
use options to get cache path
2018-05-16 17:55:34 -04:00
Tom Freudenheim
cd7c25dece
removed VirtualenvSelfCheckState per stufft
2018-05-16 15:44:24 -04:00
Paul Kehrer
ba80574225
Fix a rare segfault
...
If pip10 is installed and pyopenssl+cryptography are present in the
environment pip's vendored urllib3 will automatically activate its
pyopenssl adapter. This is by design so users can potentially opt-in to
more up-to-date TLS versions than what are provided by their copy of
Python. However, if a user has these packages & subsequently runs
pip install --ignore-installed cryptography then a segfault will occur
due to overwriting an mmap'd shared object.
2018-05-14 13:34:33 -04:00
Daniel Shaulov
d67d98dd91
Add a --prefer-binary flag. ( #5370 )
...
The flag makes pip prefer an older but valid binary distributions over a newer source distributions.
Fixes #3785 .
2018-05-11 11:17:32 +05:30
Shlomi Fish
508517f0d7
Fix the capitalization of "GitHub".
2018-05-10 18:18:30 +03:00
Jeremy Zafran
7655893601
remove usernames and passwords for index URLs using basic auth from "Looking in indexes" log messages
2018-04-27 00:41:54 -04:00
Jeremy Zafran
5bc94f3348
Move remove_auth_from_url and test from Subversion class to pip._internal.utils.misc
2018-04-27 00:41:54 -04:00
Jakub Wilk
9d7095c72e
Fix typo ( #5320 )
2018-04-22 14:12:42 +05:30
Paul Moore
0ae0109901
Merge pull request #5293 from andresdelfino/master
...
Remove trailing os.sep to avoid false negatives
2018-04-20 09:39:40 +01:00
Danny Hermes
d344e3469f
Removing repeated "support" in 3.3 deprecation notice.
2018-04-19 12:12:04 -07:00
Danny Hermes
9515b42c7e
Grammar fix (supported -> support) in 3.3 warning.
2018-04-19 12:01:16 -07:00
Andrés Delfino
55e0928a75
Remove trailing os.sep to avoid false negatives
2018-04-18 22:10:45 -03:00
Paul Moore
d8172b961c
Merge pull request #5227 from benoit-pierre/fix_pep518,_again
...
fix PEP 518 support when pip is installed in the user site
2018-04-18 17:55:04 +01:00
Pradyun Gedam
123e61d4a5
Reorder conditionals to deal with installed VCS requirements
2018-04-18 09:39:27 +05:30
Paul Moore
9875055ffe
Merge pull request #5239 from pradyunsg/fix/5237
...
Improve Error Messages on EnvironmentErrors when installing
2018-04-17 18:28:59 +01:00
Paul Moore
ea1319de95
Merge pull request #5233 from pradyunsg/fix/5219
...
Make the Windows "self-modification" check more strict
2018-04-17 18:16:59 +01:00
Pradyun Gedam
3e7a66c070
Don't advice about --verbose (it'ss obvious)
2018-04-17 14:56:57 +05:30
Pradyun Gedam
4a1c7b891f
Print Better Error Messages on EnvironmenErrors while running pip install.
...
This fixes various issues with the current logic and splits out the
message generation into a separate unit-test-able function.
Improvements:
- Does not not-print any information in some cases
- Mentions original error message, or entire traceback if verbose.
- In case of permission/access errors, suggests the user to use --user
and/or check permissions
2018-04-17 14:56:44 +05:30
Benoit Pierre
02b678f557
fix PEP 518 support when pip is installed in the user site
...
Do not use the build environment isolation during the build dependencies installation.
2018-04-16 22:58:44 +02:00
Donald Stufft
275ab7c3f5
Switch pip to use Warehouse by default
2018-04-16 15:54:11 -04:00
Pradyun Gedam
c82d3d99af
Make the Windows "self-modification" check more strict
2018-04-15 10:17:17 +05:30
Paul Moore
22c8656b57
Don't warn about script locations if --target is specified
2018-04-10 18:07:53 +01:00
Benoit Pierre
6da1d9e47c
fix PEP 518 support
...
* fix build environment handling when using PyPy
* do use the build environment for all build commands
* allow installing and building a wheel of a PEP 518 enabled
package without prior installation of setuptools and/or wheels
* fix check for minimum supported requirements for PEP 518 support:
- correctly handle complex requirements
- both setuptools and wheels are needed
2018-04-08 14:06:11 +02:00
Pradyun Gedam
500505e3fa
🎨 use a list comprehension
2018-04-07 17:25:01 +05:30
Pradyun Gedam
af3c1cfe65
Normalize case before checking for paths
2018-04-06 14:24:16 +05:30
Pradyun Gedam
5a8150f82c
Merge pull request #5163 from pradyunsg/fix/5157
...
Do not warn about script location if it's with sys.executable
2018-04-06 14:19:08 +05:30
Paul Moore
c76452ade9
Merge pull request #5151 from mattip/master
...
BUG: ioctl(fd, termios.TIOCGWINSZ, ...) returns 8 bytes
2018-04-05 14:35:55 +01:00
Pradyun Gedam
095c165780
Merge pull request #5159 from di/fix/5140
...
Fix installing from Git with short SHA
2018-04-04 14:03:02 +05:30
Pradyun Gedam
61a96bcf58
Do not warn about script location if it's with sys.executable
2018-04-04 13:21:57 +05:30
Pradyun Gedam
ee2e81ca1f
Use all available distributions
...
Same as b5f56efde5
2018-04-04 13:03:07 +05:30
Dustin Ingram
737dfbfc71
Conditionally fetch the revision if it's a ref
2018-04-03 14:46:33 -05:00
Pradyun Gedam
ecc1072ba0
Merge pull request #5146 from pradyunsg/fix/check-accept-prerelease-versions
...
Accept prerelease versions when checking conflicts
2018-04-03 23:18:10 +05:30
Pradyun Gedam
69e2dde515
Merge pull request #5136 from StephanErb/check_normalization
...
Fix name normalization used for install warnings
2018-04-03 16:04:27 +05:30
mattip
8b9abc2988
BUG: ioctl(fd, termios.TIOCGWINSZ, ...) returns 8 bytes
2018-04-03 05:58:05 +03:00
Pradyun Gedam
0de893161e
Move initialization to a better place
2018-04-03 00:02:51 +05:30
Stephan Erb
72b3195f0e
Fix name normalization used for install warnings
2018-04-02 20:17:20 +02:00
Pradyun Gedam
abfbfcc7dc
Actually build wheels for VCS checkouts
2018-04-02 23:20:54 +05:30
Pradyun Gedam
1862d2f887
Accept prerelease versions when checking conflicts
2018-04-02 21:35:49 +05:30
Pradyun Gedam
607f5dde9c
Use the correct way to format default in optparse
2018-04-01 12:06:29 +05:30
Donald Stufft
0007825733
Merge pull request #4835 from pradyunsg/vendoring/enable-c-libs
...
Enable vendor C libraries on non-Windows platforms
2018-03-30 19:59:55 -04:00
Paul Moore
d6bf7a90ef
Merge pull request #5055 from pradyunsg/misc/3564-fix
...
Document that --build disables cleanups
2018-03-30 22:18:12 +01:00
Pradyun Gedam
bd31672508
Stop bothering about the PyOpenSSL version
2018-03-30 20:56:45 +05:30
Pradyun Gedam
da2d7ce5b5
Merge branch 'master' into resolver/warn-after-resolution
2018-03-30 13:39:22 +05:30
Pradyun Gedam
aaa9310a39
Reuse logic from urllib3 for use of OpenSSL
2018-03-30 13:27:42 +05:30
Pradyun Gedam
6ec5bc56fd
Merge branch 'master' into vendoring/enable-c-libs
2018-03-30 12:38:13 +05:30
Pradyun Gedam
c2a4ea4731
Merge branch 'master' into refactor/reduce-action-at-distance
2018-03-30 11:15:50 +05:30
Pradyun Gedam
83cb225ded
Merge pull request #4925 from pradyunsg/resolver/move-dependency-info-and-install-order
...
Move dependency info and install order into Resolver
2018-03-29 17:01:08 +05:30
Andrew Gaul
13d0bd8b46
Limit progress updates to avoid swamping the TTY
...
This makes the values more readable for large downloads on fast
connections. 200 ms value chosen from wget.
2018-03-28 15:09:56 -07:00
Pradyun Gedam
49767ec374
Use string representation for comparing
...
More robust with weird requirements that can't be directly compared for
some reason (like markers).
2018-03-28 13:48:38 +05:30
Pradyun Gedam
f286fb8bdd
pip check should care about the markers
2018-03-28 13:44:21 +05:30
Pradyun Gedam
e04e5a6aab
mypy gets more data
2018-03-28 13:43:56 +05:30
Pradyun Gedam
3d7fbb31a9
Merge branch 'master' into resolver/warn-after-resolution
2018-03-27 20:10:56 +05:30
Paul Moore
d41dc17910
Merge pull request #5012 from MarSoft/patch-2
...
Fix typo in --help for --no-deps option
2018-03-27 14:35:56 +01:00
Pradyun Gedam
46e41dec1f
Merge pull request #5117 from pradyunsg/misc/help-messages
...
Assign pip config command summary correctly
2018-03-27 10:38:23 +05:30
Paul Moore
aabf71bd7e
Merge pull request #4985 from anubhavp28/master
...
Updated get_terminal_size to check for shutil.get_terminal_size first.
2018-03-26 17:52:25 +01:00
Paul Moore
307503494e
Merge pull request #4956 from segevfiner/complete-short-opts
...
Add auto completion of short options
2018-03-26 15:51:25 +01:00
Pradyun Gedam
54686849f1
Merge branch 'master' into misc/help-messages
2018-03-26 19:40:06 +05:30
Paul Moore
cbc71e5c0f
Use an explicit test for shutil.get_terminal_size rather than a version check
2018-03-26 14:55:42 +01:00
Paul Moore
61eda75a3f
Merge pull request #4989 from pradyunsg/misc/better-pep-518-message
...
Improve message when setuptools is missing (PEP 518)
2018-03-26 14:46:40 +01:00
Paul Moore
d6e050af75
Merge pull request #5116 from pfmoore/issue5085
...
Fix for issue 5085 (--user set in config causes pip wheel to fail)
2018-03-26 14:27:14 +01:00
Paul Moore
87bb4f9c13
Hide --no-user option
2018-03-26 12:01:27 +01:00
Paul Moore
17e0d115e8
Fix for issue 5085 (--user set in config causes pip wheel to fail)
2018-03-25 18:22:18 +01:00
Paul Moore
eb62a44aaf
Merge pull request #5114 from pfmoore/vendoring
...
Update vendored libraries
2018-03-24 14:10:36 +00:00
Paul Moore
701d88d06d
Placate flake8 (2 spaces before inline comment)
2018-03-24 11:55:09 +00:00
Paul Moore
6e8af823f1
Silence invalid mypy errors (see python/typeshed#1985 )
2018-03-24 11:41:51 +00:00
Phil Pennock
23cd8f6899
Keep install options in requirements.txt from leaking
...
The list of install options passed into the setup routine is mutable,
passed by reference, so adding items for "this package" to that list
mutates the options for all subsequent packages.
Isolate the lists before mutating them.
Includes a functional test, which has been confirmed to fail without
this fix.
Fixes #3763
Fixes #4453
Fixes #5089
2018-03-20 16:23:34 -04:00
Pradyun Gedam
7b2be65e8c
Correctly assign summary for pip config
2018-03-20 00:09:19 +05:30
Paul Moore
cb696fce08
Merge pull request #5053 from pradyunsg/feature/allow-disabling-isolation
...
Add an option to allow disabling build isolation
2018-03-14 19:13:53 +00:00
Pradyun Gedam
398fea844c
Improve message when setuptools is missing
2018-03-09 15:51:24 +05:30
Pradyun Gedam
c08d4cc806
Add --no-build-isolation for disabling build isolation
2018-03-09 00:01:26 +05:30
Pradyun Gedam
1fc59bc593
Document that --build disables cleanups
2018-03-05 00:33:40 +05:30
Pradyun Gedam
06e61c0962
🎨
2018-03-03 07:14:54 +05:30
Pradyun Gedam
25124c0b46
Merge branch 'resolver/move-dependency-info-and-install-order' into resolver/warn-after-resolution
2018-03-03 02:53:08 +05:30
Pradyun Gedam
851518b17a
Merge branch 'refactor/reduce-action-at-distance' into resolver/warn-after-resolution
2018-03-03 02:51:37 +05:30
Pradyun Gedam
84d70fb6ec
Move all enviroment management into BuildEnvironment
2018-03-03 02:26:14 +05:30
Pradyun Gedam
255a518157
Merge branch 'master' into refactor/reduce-action-at-distance
2018-03-03 02:08:01 +05:30
Pradyun Gedam
6caca65942
Merge branch 'master' into resolver/move-dependency-info-and-install-order
2018-03-03 02:06:12 +05:30
Paul Moore
34cc364903
Merge pull request #4999 from xoviat/pep518-editable
...
Run setup.py develop inside of PEP 518 build environment
2018-03-02 08:40:17 +00:00
Paul Moore
1cb99c1a6a
Merge pull request #4877 from edmorley/markers-ignore-loglevel
...
Use log level info when ignoring packages due to environment markers
2018-03-01 17:54:46 +00:00
Pradyun Gedam
3b7dd50a62
Merge pull request #4977 from pradyunsg/misc/verbosity-properly
...
Add a verbosity attribute to basecommand
2018-03-01 23:17:06 +05:30
xoviat
55458fc179
Merge branch 'master' into pep518-editable
2018-03-01 10:39:28 -06:00
Pradyun Gedam
cdb8d71fed
Merge branch 'master' into resolver/warn-after-resolution
2018-03-01 14:49:00 +05:30
xoviat
163149fff3
Install build requirements before calling setup.py ( #4799 )
...
Setup build environment before first invocation of setup.py and improve test to actually make check that build requirements are installed upon invocation.
2018-03-01 14:20:06 +05:30
BrownTruck
72f219c410
Add expansion of environment variables in requirement files ( #3728 )
2018-02-05 16:50:50 +05:30
Семён Марьясин
51a3f6f823
Fix typo in --help for --no-deps option
2018-02-02 16:05:59 +03:00
xoviat
60a7a8fe9c
Run 'setup.py develop' in the build environment
2018-01-28 16:38:46 -06:00
Ed Morley
4b81388199
Use log level info when ignoring packages due to environment markers
...
The use of environment markers implies that the user expects the
packages to not be installed in some cases (eg depending on version
of Python), so the log output shouldn't be classed as a warning,
particularly since this results in it being sent to `stderr` rather
than `stdout`.
Fixes #4876 .
2018-01-28 15:36:23 +00:00
xoviat
88105000f5
Address review
2018-01-27 14:37:43 -06:00
xoviat
12202eecde
Fix regression
2018-01-27 11:28:23 -06:00
xoviat
74c086bd2b
🎨
2018-01-27 11:14:04 -06:00
xoviat
3b88968f0d
🎨
2018-01-27 11:11:02 -06:00
xoviat
d3d13eaab7
🎨
2018-01-27 11:07:19 -06:00
xoviat
8dad780026
Address review comments
2018-01-27 11:04:43 -06:00
xoviat
27cb7f36cc
Install build requirements in the prepare operation
2018-01-26 12:11:00 -06:00
xoviat
958a9369f5
Make BuildEnvironment a proprety of Requirement
2018-01-26 11:06:00 -06:00
xoviat
08bec25c56
More eagerly cleanup the requirement
2018-01-26 11:02:41 -06:00
xoviat
615de6a571
Pass through finder to prepare operation
2018-01-26 11:01:18 -06:00
xoviat
6a99774dd7
Add cleanup method to build_env
2018-01-26 10:58:28 -06:00
Anubhav Patel
c4cb64536a
move docstring
2018-01-26 15:51:44 +05:30
Pradyun Gedam
e81b602f90
Disallow non-wheel build dependencies (PEP 518)
...
Merge pull request #4987 from pradyunsg/fix/fork-bombing
2018-01-26 14:20:13 +05:30
Pradyun Gedam
1c911bfbdd
🎨 Make the linters happy again
2018-01-26 11:06:16 +05:30
Anubhav Patel
629aef6b35
add to __all__
2018-01-25 23:09:19 +05:30
Pradyun Gedam
bcc98e6b2e
Merge pull request #4991 from pradyunsg/misc/move-pytoml-to-installreq
...
Move PEP 518 info fetching into InstallRequirement
2018-01-25 09:08:08 +05:30
Pradyun Gedam
14a11bd8b1
Merge pull request #4990 from pradyunsg/misc/move-build-requirement
...
Move BuildEnvironment into it's own file
2018-01-25 09:06:54 +05:30
Anubhav Patel
bcb5270ea6
sort imports correctly.
2018-01-25 00:05:15 +05:30
Anubhav Patel
26c98742a3
fix wrong variable name
2018-01-24 23:29:05 +05:30
Anubhav Patel
1adf5b32a4
removed whitespaces
2018-01-24 23:22:04 +05:30
Anubhav Patel
305a9656f4
fix mistyped module name
2018-01-24 23:14:15 +05:30
Anubhav Patel
8b76e8189d
fixed syntax error in code
2018-01-24 23:03:00 +05:30
Anubhav Patel
33cc74427f
merge master branch into pull request.
2018-01-24 22:55:09 +05:30
Anubhav Patel
dea8892768
Move get_terminal_size to pip._internal.compat
2018-01-24 22:34:05 +05:30
Pradyun Gedam
045e244b7e
Run pip check in pip install
...
Also, add --no-warn-conflicts option to allow supressing the error messages generated.
2018-01-24 18:16:18 +05:30
Pradyun Gedam
a33846b627
Use namedtuple attributes
2018-01-24 18:08:46 +05:30
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
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