Commit Graph

37 Commits

Author SHA1 Message Date
Christian Heimes
e572c7f6db bpo-40698: Improve distutils upload hash digests (GH-20260)
- Fix upload test on systems that blocks MD5
- Add SHA2-256 and Blake2b-256 digests based on new Warehous and twine
  specs.

Signed-off-by: Christian Heimes <christian@python.org>
2020-05-20 07:37:25 -07:00
Bo Bayles
2fc98ae115 bpo-32304: Fix distutils upload for sdists ending with \x0d (GH-5264)
Patch by Bo Bayles.
2018-01-25 19:02:03 -05:00
Donald Stufft
ef330d35c8 Merge 3.4 2016-08-03 18:49:19 -04:00
Donald Stufft
c6c2217f27 Merge 3.3 2016-08-03 18:48:17 -04:00
Donald Stufft
fb7929044a Switch upload.pypi.io to upload.pypi.org 2016-08-03 18:43:38 -04:00
Benjamin Peterson
9409b4aa8f merge 3.4 2016-07-06 14:00:38 -07:00
Donald Stufft
ad04a85aff Switch to the new upload url for PyPI 2016-07-06 16:18:39 -04:00
Donald Stufft
188c118ba5 Switch to the new upload url for PyPI 2016-07-06 15:27:35 -04:00
Berker Peksag
91d53e7b20 Make PyPIRCCommandTestCase derive from a base class
Several test cases in distutils use PyPIRCCommandTestCase as
their base class and as a result of that the following tests
were ran more than once:

* test_server_registration
* test_server_empty_registration
* test_config_interpolation

This commit moves the infrastructure used by other tests
into a new BasePyPIRCCommandTestCase class.
2016-06-24 08:48:27 +03:00
Berker Peksag
56fe4749fb Issue #27349: Fix typo in distutils upload command 2016-06-18 21:42:37 +03:00
Berker Peksag
904a2ef2e2 Issue #20900: distutils register command now decodes HTTP responses correctly
Initial patch by ingrid.
2016-06-10 23:00:52 +03:00
Berker Peksag
6a8e626a60 Issue #21776: distutils.upload now correctly handles HTTPError
Initial patch by Claudiu Popa.
2016-06-02 13:45:53 -07:00
R David Murray
623ae29469 #10510: Fix bug in forward port of 2.7 distutils patch.
Pointed out by Arfrever.
2014-09-28 11:01:11 -04:00
R David Murray
9ce69672f3 #10510: make distuitls upload/register use HTML standards compliant CRLF.
Patch by Ian Cordasco, approved by Éric Araujo.
2014-09-27 16:56:15 -04:00
Antoine Pitrou
2e4d3b133a Issue #21722: The distutils "upload" command now exits with a non-zero return code when uploading fails.
Patch by Martin Dengler.
2014-06-18 23:07:46 -04:00
Antoine Pitrou
20d5adea6a Fix TypeError on "setup.py upload --show-response". 2013-12-22 18:14:56 +01:00
Antoine Pitrou
335a5128e5 Fix TypeError on "setup.py upload --show-response". 2013-12-22 18:13:51 +01:00
Antoine Pitrou
e8d07a9885 Issue #12226: HTTPS is now used by default when connecting to PyPI. 2013-12-22 01:45:42 +01:00
Antoine Pitrou
f60b7df9f8 Issue #12226: HTTPS is now used by default when connecting to PyPI. 2013-12-22 01:35:53 +01:00
Antoine Pitrou
492b9893e1 Fix DeprecationWarnings in test suite 2013-12-21 22:19:46 +01:00
Jason R. Coombs
b41c2547e0 Correct long line 2013-11-16 10:47:17 -05:00
Jason R. Coombs
9d78e416f5 Issue #19586: Update remaining deprecated assertions to their preferred usage. 2013-11-16 10:35:46 -05:00
Jason R. Coombs
6f87a08aa7 Update more usage of assertEqual 2013-11-15 19:41:57 -05:00
Jason R. Coombs
a2ebfd0256 Issue #19544 and Issue #6286: Restore use of urllib over http allowing use of http_proxy for Distutils upload command, a feature accidentally lost in the rollback of distutils2. 2013-11-10 18:50:10 -05:00
Jason R. Coombs
77796e4f7a Fix failing test incorrectly merged in b1244046f37a 2013-11-10 20:28:18 -05:00