Commit Graph

8960 Commits

Author SHA1 Message Date
Pradyun Gedam 54f9f83a67
Merge pull request #7639 from pypa/revert-7600-release-rewrite-lineendings
Revert "Explicitly set newline when rewriting for release"
2020-01-23 15:53:34 +05:30
Pradyun Gedam 389443117c Revert "Explicitly set newline when rewriting for release (#7600)"
This reverts commit c55eee4188.
2020-01-23 13:15:36 +05:30
Christopher Hunt f1cd4cb48e
Merge pull request #7608 from uranusjr/global-cleanup
Delay TempDirectory.delete resolution to cleanup
2020-01-22 18:25:05 +08:00
Pradyun Gedam ea7def858d
Merge pull request #7624 from pradyunsg/automation/release-process-improvements
Improve our release process automation
2020-01-21 19:23:41 +05:30
Pradyun Gedam 5787cfc8fc
Merge pull request #7623 from pradyunsg/update-news
Release 20.0.1
2020-01-21 18:51:23 +05:30
Pradyun Gedam b9555fb9d4
Empty build directory before building distributions
Mainly to avoid pypa/wheel#147
2020-01-21 18:43:36 +05:30
Pradyun Gedam bda17b73e6
Add dist/ prefix to expected filenames 2020-01-21 18:43:36 +05:30
Pradyun Gedam b6fb081e4b
Bump for development 2020-01-21 18:12:54 +05:30
Pradyun Gedam 0b397b42c5
Bump for release 2020-01-21 18:12:53 +05:30
Pradyun Gedam e103345cb3
Add a bugfix for our hot fix release 2020-01-21 18:12:47 +05:30
Pradyun Gedam b47903e5bb
Merge pull request #7621 from pradyunsg/hotfix/importerrors-in-distributions
Rename pip._internal.distributions.{source -> sdist}
2020-01-21 18:09:30 +05:30
Pradyun Gedam 8f3687cfd9
Rename pip._internal.distributions.{source -> sdist}
Certain environments seem to be leaving behind empty folders in this
directory -- There was an older pip release that included a source/
folder here which isn't getting deleted for some reason. I have not
figured out the root cause why this happens yet. This is resulting in
ImportErrors since Python imports have a higher precedence for packages
compared to modules.

This commit changes the name we're trying to import from, which should
help prevent this mode of failure.
2020-01-21 17:53:24 +05:30
Pradyun Gedam bae9227e3d
Merge pull request #7619 from pradyunsg/release/20.0 2020-01-21 17:08:03 +05:30
Pradyun Gedam d9a315eaf6
Bump for development 2020-01-21 16:15:22 +05:30
Pradyun Gedam 8ad871a6bb
Bump for release 2020-01-21 16:15:21 +05:30
Pradyun Gedam 6a41ea3962
Update AUTHORS.txt 2020-01-21 16:15:21 +05:30
Pradyun Gedam bd02564af2
Vendoring Updates for Jan 2020 (#7618) 2020-01-21 15:15:29 +05:30
Pradyun Gedam 7b2f0aa00d
Upgrade pkg_resources (via setuptools) to 44.0.0 2020-01-21 13:51:30 +05:30
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 35377c995c Add test for tempdir registry lazy eval 2020-01-19 18:22:14 +07: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
Tzu-ping Chung ffa6d9d3d0 Delay TempDirectory.delete resolution to cleanup 2020-01-17 21:06:13 +08:00
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