python-zope.testing/python-zope.testing.changes

157 lines
5.9 KiB
Plaintext
Raw Normal View History

-------------------------------------------------------------------
Fri Apr 21 12:39:21 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:46:08 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Fri Jan 6 11:02:53 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 5.0.1:
* Make wheels no longer universal.
* Backwards incompatible changes
* Drop support for Python 2.7, 3.5, 3.6.
* Drop modules which do not seem to be Python compatible:
+ ``zope.testing.loghandler``
+ ``zope.testing.server``
* Drop doctest option ``IGNORE_EXCEPTION_MODULE_IN_PYTHON2``.
* Remove functions:
+ ``zope.testing.renormalizing.strip_dottedname_from_traceback``
+ ``zope.testing.renormalizing.is_dotted_name``
* Add support for Python 3.11.
-------------------------------------------------------------------
Tue Oct 11 17:32:07 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 4.10
* Show deprecation warnings when importing modules which are not ported to Python 3.
* Improve test coverage.
* Port zope.testing.formparser to Python 3.
* Add support for Python 3.10.
-------------------------------------------------------------------
Tue Oct 5 09:48:25 UTC 2021 - pgajdos@suse.com
- version update to 4.9
4.9 (2021-01-08)
----------------
- Make ``setupstack.txt`` test work again if the current directory is empty.
4.8 (2021-01-04)
----------------
- Add support for Python 3.8 and 3.9.
- Drop support for Python 3.3 and 3.4.
- Extend IGNORE_EXCEPTION_MODULE_IN_PYTHON2 to cover also exceptions without
arguments (thus without a colon on the last line of the traceback output).
-------------------------------------------------------------------
Tue Oct 5 09:42:28 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest rpm macro
-------------------------------------------------------------------
Mon Oct 14 14:51:47 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
-------------------------------------------------------------------
Fri Apr 5 14:44:29 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 4.7
* Added support for Python 3.7.
* Remove dependencies on zope.interface and zope.exceptions.
* Remove use of 2to3 for outdated versions of PyPy3, letting us
build universal wheels.
-------------------------------------------------------------------
Tue Dec 4 12:56:32 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Fri Jun 23 11:17:45 UTC 2017 - aloisio@gmx.com
- Update to 4.6.1
* Add support for Python 3.6.
4.6.0:
* Introduce option flag ``IGNORE_EXCEPTION_MODULE_IN_PYTHON2``
to normalize exception class names in traceback output.
In Python 3 they are displayed as the full dotted name.
In Python 2 they are displayed as "just" the class name.
When running doctests in Python 3, the option flag will
not have any effect, however when running the same test in
Python 2, the segments in the full dotted name leading up to
the class name are stripped away from the "expected" string.
* Drop support for Python 2.6 and 3.2.
* Add support for Python 3.5.
* Cleaned up useless 2to3 conversion.
4.5.0:
* Added meta data for test case methods created with
``zope.testing.doctestcase``.
* Reasonable values for ``__name__``, making sure that
``__name__`` starts with ``test``.
* For ``doctestfile`` methods, provide ``filename`` and
``filepath`` attributes.
The meta data us useful, for example, for selecting tests
with the nose attribute mechanism.
* Added ``doctestcase.doctestfiles``
* Define multiple doctest files at once.
* Automatically assign test class members. So rather than::
class MYTests(unittest.TestCase):
...
test_foo = doctestcase.doctestfile('foo.txt')
You can use::
@doctestcase.doctestfiles('foo.txt', 'bar.txt', ...)
class MYTests(unittest.TestCase):
...
4.4.0:
* Added ``zope.testing.setupstack.mock`` as a convenience
function for setting up mocks in tests. (The Python
``mock`` package must be in the path for this to work. The
excellent ``mock`` package isn't a dependency of
``zope.testing``.)
* Added the base class ``zope.testing.setupstack.TestCase`` to
make it much easier to use ``zope.testing.setupstack`` in
``unittest`` test cases.
4.3.0:
* Added support for creating doctests as methods of
``unittest.TestCase`` classes so that they can found
automatically by test runners, like *nose* that ignore test
suites.
4.2.0:
* **Actually** remove long-deprecated ``zope.testing.doctest``
(announced as removed in 4.0.0) and
``zope.testing.doctestunit``.
* Add support for PyPy and PyPy3.
- Converted to single-spec
-------------------------------------------------------------------
Fri May 15 13:38:51 UTC 2015 - benoit.monin@gmx.fr
- update to version 4.1.3:
* Added support for Python 3.4.
* Updated boostrap.py to version 2.2.
- switch the source archive to tar.gz (zip not available)
- remove unzip from BuildRequires
- reenable the tests for all suse versions
-------------------------------------------------------------------
Fri Nov 1 10:08:16 UTC 2013 - p.drouand@gmail.com
- Disable tests; fix build for Factory
-------------------------------------------------------------------
Thu Oct 24 11:18:01 UTC 2013 - speilicke@suse.com
- Require python-setuptools instead of distribute (upstreams merged)
-------------------------------------------------------------------
Fri Mar 15 13:58:11 UTC 2013 - speilicke@suse.com
- Initial version