<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/testtools.git/testtools/testresult, branch master</title>
<subtitle>github.com: testing-cabal/testtools.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/'/>
<entry>
<title>Wrap content-type params in a dictionary</title>
<updated>2023-03-10T19:01:48+00:00</updated>
<author>
<name>Matthew Treinish</name>
<email>mtreinish@kortar.org</email>
</author>
<published>2023-03-10T19:01:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=54ea8f2c53155b27e08b77a4d7080188c629bb3a'/>
<id>54ea8f2c53155b27e08b77a4d7080188c629bb3a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace deprecated `cgi` module usage with `email`</title>
<updated>2023-02-06T21:04:08+00:00</updated>
<author>
<name>Matthew Treinish</name>
<email>mtreinish@kortar.org</email>
</author>
<published>2023-02-06T21:04:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=b4bcd3c3d1964352d5f51def08629114057541a8'/>
<id>b4bcd3c3d1964352d5f51def08629114057541a8</id>
<content type='text'>
In Python 3.11 the standard library `cgi` module was deprecated with a
planned removal set for Python 3.13. In preparation for that removal,
this commit removes the usage of this deprecated module and replaces it
with the still supported standard library `email` module which is what
the documentation points to as an alternative for how `cgi` was
previously used. This should still be compatible with all the supported
Python versions but will be more future proof and not emit any
deprecation warnings with Python 3.11 anymore.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Python 3.11 the standard library `cgi` module was deprecated with a
planned removal set for Python 3.13. In preparation for that removal,
this commit removes the usage of this deprecated module and replaces it
with the still supported standard library `email` module which is what
the documentation points to as an alternative for how `cgi` was
previously used. This should still be compatible with all the supported
Python versions but will be more future proof and not emit any
deprecation warnings with Python 3.11 anymore.
</pre>
</div>
</content>
</entry>
<entry>
<title>Upgrade Python syntax with pyupgrade --py36-plus</title>
<updated>2022-02-07T12:16:32+00:00</updated>
<author>
<name>Hugo van Kemenade</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2022-02-07T12:16:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=182bb4b405f29f33a9086ef35c0fa814ac299447'/>
<id>182bb4b405f29f33a9086ef35c0fa814ac299447</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove mimeparse dependency</title>
<updated>2021-02-25T11:46:26+00:00</updated>
<author>
<name>Stephen Finucane</name>
<email>stephen@that.guru</email>
</author>
<published>2021-02-11T10:34:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=d426d71cec0f97f59841dc6c3004684872650e80'/>
<id>d426d71cec0f97f59841dc6c3004684872650e80</id>
<content type='text'>
We can do this ourselves quite easily.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can do this ourselves quite easily.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>trivial: Cleanup imports</title>
<updated>2021-02-25T11:46:26+00:00</updated>
<author>
<name>Stephen Finucane</name>
<email>stephen@that.guru</email>
</author>
<published>2021-02-25T09:51:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=1c1f43f14e7988d8999310aecd19c19877135927'/>
<id>1c1f43f14e7988d8999310aecd19c19877135927</id>
<content type='text'>
This is kept separately from the reintroduction of 'try_imports' to keep
that patch reasonable.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is kept separately from the reintroduction of 'try_imports' to keep
that patch reasonable.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re-introduce 'try_imports'</title>
<updated>2021-02-25T11:46:26+00:00</updated>
<author>
<name>Stephen Finucane</name>
<email>stephen@that.guru</email>
</author>
<published>2021-02-24T17:31:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=6413a522118e12d186f69c571001e84733cd8716'/>
<id>6413a522118e12d186f69c571001e84733cd8716</id>
<content type='text'>
There are few if any people still (knowingly) using the 'extras' lib.
OpenStack users have their own implementation (sigh) in 'oslo.utils' and
everyone else is getting by with try-except statements. Reintroduce this
utility to 'testtools.helpers', allowing us to eventually drop the
dependency on extras. Note however that we can't actually do this yet
since 'fixtures' has an implicit dependency on 'extras' through
'testtools', and we break that by removing it here.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are few if any people still (knowingly) using the 'extras' lib.
OpenStack users have their own implementation (sigh) in 'oslo.utils' and
everyone else is getting by with try-except statements. Reintroduce this
utility to 'testtools.helpers', allowing us to eventually drop the
dependency on extras. Note however that we can't actually do this yet
since 'fixtures' has an implicit dependency on 'extras' through
'testtools', and we break that by removing it here.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove use of 'try_imports'</title>
<updated>2021-02-25T09:57:15+00:00</updated>
<author>
<name>Stephen Finucane</name>
<email>stephen@that.guru</email>
</author>
<published>2021-02-11T09:26:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=06796f0c7e004a2df50f9aad81f4e63fca1796d2'/>
<id>06796f0c7e004a2df50f9aad81f4e63fca1796d2</id>
<content type='text'>
This was being used in places to handle differences between Python 2 and
Python 3. Since we only care about the latter now, the utility can be
removed.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was being used in places to handle differences between Python 2 and
Python 3. Since we only care about the latter now, the utility can be
removed.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove use of 'safe_hasattr'</title>
<updated>2021-02-25T09:57:14+00:00</updated>
<author>
<name>Stephen Finucane</name>
<email>stephen@that.guru</email>
</author>
<published>2021-02-11T09:14:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=334374cd6a5827498cdd7fd3f03a02c38a058405'/>
<id>334374cd6a5827498cdd7fd3f03a02c38a058405</id>
<content type='text'>
This was used to workaround some issues with 'hasattr' on Python 2.x
versions, discussed in the source for extras (where this utility was
moved to make it more useful to others) [1] and elsewhere on the
internet [2]. These issues are no longer present on the versions of
Python we now support (Python 3.6+) so this is no longer necessary.

[1] https://github.com/testing-cabal/extras/blob/1.0.0/extras/__init__.py#L101-L108
[2] https://hynek.me/articles/hasattr/

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was used to workaround some issues with 'hasattr' on Python 2.x
versions, discussed in the source for extras (where this utility was
moved to make it more useful to others) [1] and elsewhere on the
internet [2]. These issues are no longer present on the versions of
Python we now support (Python 3.6+) so this is no longer necessary.

[1] https://github.com/testing-cabal/extras/blob/1.0.0/extras/__init__.py#L101-L108
[2] https://hynek.me/articles/hasattr/

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Upgrade Python syntax with pyupgrade --py3-plus</title>
<updated>2020-01-18T18:41:46+00:00</updated>
<author>
<name>Hugo</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2020-01-18T18:08:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=4a26d6818209a491729dd7db078d8d0dd38e385c'/>
<id>4a26d6818209a491729dd7db078d8d0dd38e385c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove redundant Python 2 compatability code</title>
<updated>2020-01-18T18:41:46+00:00</updated>
<author>
<name>Hugo</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2020-01-18T14:21:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=15eebe72e0b78a4f7da300aefaa372ab31df8663'/>
<id>15eebe72e0b78a4f7da300aefaa372ab31df8663</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
