Pradyun Gedam
11765917fb
Add the required NEWS fragments
2020-01-21 13:42:35 +05:30
Pradyun Gedam
947fceb0f9
Upgrade six to 1.14.0
2020-01-21 13:42:05 +05:30
Pradyun Gedam
501e00cec4
Upgrade urllib3 to 1.25.7
2020-01-21 13:37:47 +05:30
Pradyun Gedam
022f0e265b
Upgrade certifi to 2019.11.28
2020-01-21 13:37:42 +05:30
Pradyun Gedam
7770dc204e
Upgrade pyparsing to 2.4.6
2020-01-21 13:16:34 +05:30
Pradyun Gedam
9bce54e54a
Upgrade ipaddress to 1.0.23
2020-01-21 13:13:27 +05:30
Pradyun Gedam
dd07badf20
Upgrade distlib to 0.3.0
2020-01-21 13:11:38 +05:30
Pradyun Gedam
744d0ebbd4
Upgrade colorama to 0.4.3
2020-01-21 13:10:01 +05:30
Pradyun Gedam
ac42c232ce
Update CacheControl to 0.12.6
2020-01-21 12:48:59 +05:30
Stéphane Bidoul (ACSONE)
0e1e0ef566
_should_cache does not depend on check_binary_allowed
...
_should_cache is only called by _get_cache_dir.
In pip install mode, _get_cache_dir is never called when
check_binary_allowed returns False because in that case
should_build_for_install_command has returned False before
and the build was skipped.
In pip wheel mode, check_binary_allowed always returns True
(because it is not passed to the build function).
So _should_cache can use _always_true for check_binary_allowed.
*Alternative*
Alternatively, we could have passed check_binary_allowed
to build in pip wheel mode. The only difference is that wheels built
locally from *legacy* packages would then not be cached,
when pip wheel is used with --no-binary.
2020-01-20 10:41:48 +01:00
Tzu-ping Chung
c55eee4188
Explicitly set newline when rewriting for release ( #7600 )
2020-01-19 00:15:20 +05:30
Pradyun Gedam
f1cf84e2f8
Merge pull request #7542 from sbidoul/normalize-cache-dir-sbi
...
Eagerly normalize cache directory
2020-01-18 22:38:59 +05:30
Paul Moore
fed360a64e
Merge pull request #7602 from pfmoore/toxfix
...
Add HTTP proxy variables to tox environment passthrough
2020-01-15 17:48:55 +00:00
Pradyun Gedam
8bc1024a13
Touch command may not be available on Windows ( #7601 )
2020-01-15 16:08:17 +00:00
Paul Moore
f404eaa6ef
Add HTTP proxy variables to tox environment passthrough
2020-01-15 15:32:39 +00:00
Paul Moore
3288d902e6
Touch command may not be available on Windows
2020-01-15 15:14:22 +00:00
Paul Moore
87a2bedc17
Merge pull request #7598 from pfmoore/release_fix
...
Fix invalid assumption that version file contains just a version number
2020-01-15 10:26:58 +00:00
Paul Moore
21e5c0eb11
Fix lint error
2020-01-15 09:40:16 +00:00
Paul Moore
53eba71ef4
Add an assertion to check the version got modified
2020-01-15 09:10:27 +00:00
Christopher Hunt
f2bb7c4e57
Merge pull request #7588 from uranusjr/reinstall-test
...
Delete a file to let --force-reinstall fix it
2020-01-15 11:48:27 +08:00
Paul Moore
9dff8c1440
Fix invalid assumption that version file contains just a version number
2020-01-14 15:09:14 +00:00
Tzu-ping Chung
8b1f4d80c1
Modify test to unify site_packages path usages
2020-01-14 21:56:23 +08:00
Christopher Hunt
cf722df4f9
Merge pull request #7581 from chrahunt/refactor/split-install-tests
...
Split relative requirement install tests
2020-01-14 01:40:29 +08:00
Pradyun Gedam
b411cdbdf5
Azure Pipelines: Test Windows on Python 3.8 ( #7320 )
2020-01-13 12:33:43 +00:00
Tzu-ping Chung
2d3f2cdba5
Delete a file to let --force-reinstall fix it
2020-01-13 18:04:52 +08:00
Christopher Hunt
7e65a5a40f
Merge pull request #7578 from uranusjr/test-uppercase-console-scripts
...
Add test for uppercase script name
2020-01-13 09:42:38 +08:00
Christopher Hunt
9cb9dc6b86
Merge pull request #7582 from uranusjr/uninstall-test-refactor
...
Minor uninstall test refactoring
2020-01-13 09:40:26 +08:00
Chris Hunt
a5f5d8fa81
Add Python 3.8 Windows Azure tests to CI docs
2020-01-12 19:54:47 -05:00
Chris Hunt
8d92e40c1f
Use USERPROFILE in expanduser test
...
In Python 3.8, expanduser on Windows no longer respects HOME, per
https://bugs.python.org/issue36264 .
2020-01-12 19:44:43 -05:00
Tzu-ping Chung
8e72502118
Add test for uppercase script name
2020-01-12 17:16:52 +08:00
Tzu-ping Chung
602b0de040
News
2020-01-12 17:14:24 +08:00
Tzu-ping Chung
4def73ca3a
Refactor test to remove unneeded network dep
2020-01-12 17:12:08 +08:00
Tzu-ping Chung
10022df906
Rename test to make its intention clearer
2020-01-12 17:03:28 +08:00
Chris Hunt
e53d10db01
Remove unnecessary uninstall
...
Since a new temporary script path is used for each test, no need to do
uninstall.
2020-01-11 19:39:12 -05:00
Chris Hunt
f89013daa4
Parametrize editable for relative install tests
2020-01-11 19:37:10 -05:00
Chris Hunt
2801de5825
Parametrize long relative install tests
...
This lets us make better use of parallelization and will let us remove
the unnecessary uninstallation from these individual tests.
2020-01-11 19:32:44 -05:00
Christopher Hunt
6b51ee1a39
Merge pull request #7580 from hugovk/patch-1
...
Add docs and repo to project_urls metadata
2020-01-12 07:48:20 +08:00
Hugo van Kemenade
99f582185e
Add docs and repo to project_urls metadata
2020-01-10 23:33:05 +02:00
Chris Hunt
0a57e4e9f2
Manage temp directory deletion centrally
...
This gives us a global toggle that we can use to control whether
temporary directories get deleted from one place (ideally, in the
commands taking --no-clean).
2020-01-10 11:08:05 +01:00
Pradyun Gedam
e0b2d96fb2
Merge pull request #7577 from uranusjr/unicode-path-fixes-2
2020-01-10 03:52:41 +00:00
Christopher Hunt
e06a12ef1d
Merge pull request #7575 from chrahunt/refactor/clean-up-source-dir-handling-1
...
Minor cleanups in source dir handling
2020-01-10 09:25:40 +08:00
Tzu-ping Chung
ff4ee68470
News
2020-01-09 13:15:35 +05:30
Tzu-ping Chung
facf5c8894
Add comments to unicode workarounds
2020-01-09 13:11:30 +05:30
Tzu-ping Chung
7a80acaf44
Tell shutil.make_archive to use Unicode paths
...
By default, make_archive uses str paths on Python 2, which causes it to
skip files with unencodable names. By passing in a unicode base_dir
explicitly, it is smart enough to use unicode all the way down instead.
2020-01-09 13:01:31 +05:30
Tzu-ping Chung
37f97140af
Also use rmtree to remove tmpdir_factory
...
Same as e2c3451001
2020-01-09 13:00:49 +05:30
Chris Hunt
3fac3d74ac
Inline _make_build_dir in InstallRequirement
...
This untested function was only used in one place. Inlining it makes it
easier to see the symmetry between the writing of the delete marker file
in `ensure_build_location` and checking for it in
`remove_temporary_source`.
2020-01-08 20:34:28 -05:00
Chris Hunt
71e0ea19af
Assert req.source_dir is None during linked requirement preparation
...
req.source_dir is only set by:
1. `InstallRequirement.__init__`
2. `InstallRequirement.ensure_has_source_dir`
`InstallRequirement.__init__` is only called with source_dir for
editable requirements, for which we would not call
`RequirementPreparer.prepare_linked_requirement` (only
`prepare_editable_requirement`).
We will use this assertion for justifying later refactoring.
2020-01-08 20:11:28 -05:00
Xavier Fernandez
fe3e892a93
Merge pull request #7354 from chrahunt/maint/use-packaging-tags
...
Use packaging.tags for doing compatible wheel tag calculation
2020-01-08 22:41:35 +01:00
Pradyun Gedam
0eaf0e6f5a
Delete tmpdir with rmtree to handle Unicode paths ( #7572 )
2020-01-08 13:36:52 +00:00
Tzu-ping Chung
e2c3451001
Delete tmpdir with rmtree to handle Unicode paths
...
pytest (rather py.path.local) does not handle non-ASCII paths properly
on Windows with Python 2, but Python's builtin shutil.rmtree() does.
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2020-01-08 18:26:42 +05:30