<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-setuptools-git.git/setuptools/tests/test_upload.py, branch v67.3.2</title>
<subtitle>github.com: pypa/setuptools.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/'/>
<entry>
<title>Consistently use unittest.mock in tests</title>
<updated>2022-10-17T12:12:46+00:00</updated>
<author>
<name>Miro Hrončok</name>
<email>miro@hroncok.cz</email>
</author>
<published>2022-10-17T12:03:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=c4b556166f9371d0cbc24d50dab83325aac77a3e'/>
<id>c4b556166f9371d0cbc24d50dab83325aac77a3e</id>
<content type='text'>
 - Some tests used unittest.mock from the standard library
 - Some tests used mock from PyPI
 - Some tests tried to import unittest.mock with a fallback to mock
   (the import never fails on Python 3.7+, older Pythons are not supported)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Some tests used unittest.mock from the standard library
 - Some tests used mock from PyPI
 - Some tests tried to import unittest.mock with a fallback to mock
   (the import never fails on Python 3.7+, older Pythons are not supported)
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove "upload" and "register" commands.</title>
<updated>2019-11-02T19:10:29+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2019-10-31T15:25:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=f413f95e95b34b26d9ed9d9c43b3e4b3d30caecc'/>
<id>f413f95e95b34b26d9ed9d9c43b3e4b3d30caecc</id>
<content type='text'>
The upload and register commands were deprecated over a year ago, in
July 2018 (PR GH-1410, discussed in issue GH-1381). It is time to
actively remove them in favor of twine.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The upload and register commands were deprecated over a year ago, in
July 2018 (PR GH-1410, discussed in issue GH-1381). It is time to
actively remove them in favor of twine.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused import</title>
<updated>2018-12-29T18:42:22+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2018-12-29T18:42:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=9bf0fbe2af7c859aa4ac5bc0be4639c1621570d1'/>
<id>9bf0fbe2af7c859aa4ac5bc0be4639c1621570d1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>import internal version of six</title>
<updated>2018-11-13T08:52:43+00:00</updated>
<author>
<name>Oleg Sharov</name>
<email>o.sharov@gmail.com</email>
</author>
<published>2018-11-13T08:52:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=ba7698287094f7274ae7cbabaf6baedc175ac213'/>
<id>ba7698287094f7274ae7cbabaf6baedc175ac213</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove bdist_rpm and bdist_dumb comment</title>
<updated>2018-11-12T15:14:34+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2018-11-12T15:08:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=2b5b91332a01c665cab77ad7962e87525850d7f5'/>
<id>2b5b91332a01c665cab77ad7962e87525850d7f5</id>
<content type='text'>
This comment is not used anywhere and `platform.dist()` is deprecated.

See CPython PR #10414: https://github.com/python/cpython/pull/10414
and bpo-35186: https://bugs.python.org/issue35186
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This comment is not used anywhere and `platform.dist()` is deprecated.

See CPython PR #10414: https://github.com/python/cpython/pull/10414
and bpo-35186: https://bugs.python.org/issue35186
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix show_response behavior on Python 2</title>
<updated>2018-11-07T22:38:44+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2018-11-07T22:07:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=fe2c9e4292699635c91174bc049aefe81bf6116c'/>
<id>fe2c9e4292699635c91174bc049aefe81bf6116c</id>
<content type='text'>
The `upload.show_response` feature was not added until Python 3. Rather
than backport it, it is now enabled only if supported.

This also adds a "smoke test" for the feature.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `upload.show_response` feature was not added until Python 3. Rather
than backport it, it is now enabled only if supported.

This also adds a "smoke test" for the feature.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bdist_rpm and bdist_dumb in upload_file</title>
<updated>2018-11-07T22:38:43+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2018-11-07T21:41:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=727dd60f6a11f38d165250c543ba135687fa2e61'/>
<id>727dd60f6a11f38d165250c543ba135687fa2e61</id>
<content type='text'>
This fixes uploads when bdist_rpm or bdist_dumb are the command, both of
which insert a comment about what platform they are built for.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes uploads when bdist_rpm or bdist_dumb are the command, both of
which insert a comment about what platform they are built for.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix gpg signature code in upload_file</title>
<updated>2018-11-07T22:38:43+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2018-11-07T21:23:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=b5c9c5f42db36a07dc27d39c1be2a311cc567d99'/>
<id>b5c9c5f42db36a07dc27d39c1be2a311cc567d99</id>
<content type='text'>
This fixes an issue where `distutils.spawn.spawn` was not available in
the ported upload_file, which is only used when signing the data.

This also adds a test that the gpg signature command is invoked and
included in the uploaded data.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes an issue where `distutils.spawn.spawn` was not available in
the ported upload_file, which is only used when signing the data.

This also adds a test that the gpg signature command is invoked and
included in the uploaded data.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test for OSError in upload_file</title>
<updated>2018-11-07T22:38:43+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2018-11-07T21:22:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=1bca7ffdea25ee7ae7d335d676b0804a2f467d52'/>
<id>1bca7ffdea25ee7ae7d335d676b0804a2f467d52</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test for HTTPError in upload_file</title>
<updated>2018-11-07T22:38:43+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2018-11-07T20:43:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=77b661a9599225721ac416cc342d56d1afb105a1'/>
<id>77b661a9599225721ac416cc342d56d1afb105a1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
