Hello community, here is the log from the commit of package python3-testtools for openSUSE:Factory checked in at 2015-02-18 11:39:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-testtools (Old) and /work/SRC/openSUSE:Factory/.python3-testtools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-testtools" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-testtools/python3-testtools.changes 2015-01-22 21:50:18.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python3-testtools.new/python3-testtools.changes 2015-02-18 12:08:54.000000000 +0100 @@ -1,0 +2,104 @@ +Sun Jan 25 01:50:02 UTC 2015 - [email protected] + +- specfile: + * added unittest2, setuptools requirement + * remove ifdefs to run tests + +- update to version 1.5.0: + * When an import error happens "testtools.run" will now show the + full error rather than just the name of the module that failed to + import. (Robert Collins) + +- changes from version 1.4.0: + * "testtools.TestCase" now inherits from unittest2.TestCase, which + provides a "setUpClass" for upcalls on Python 2.6. (Robert + Collins, #1393283) + +- changes from version 1.3.0: + * Fixed our setup.py to use setup_requires to ensure the import + dependencies for testtools are present before setup.py runs (as + setup.py imports testtools to read out the version + number). (Robert Collins) + * Support setUpClass skipping with self.skipException. Previously + this worked with unittest from 2.7 and above but was not supported + by testtools - it was a happy accident. Since we now hard depend + on unittest2, we need to invert our exception lookup priorities to + support it. Regular skips done through raise self.skipException + will continue to work, since they were always caught in our code - + its because the suite type being used to implement setUpClass has + changed that an issue occured. (Robert Collins, #1393068) + +- changes from version 1.2.1: + * Correctly express our unittest2 dependency: we don't work with old + releases. (Robert Collins) + +- changes from version 1.2.0: + * Depends on unittest2 for discovery functionality and the + "TestProgram" base class. This brings in many fixes made to + discovery where previously we were only using the discovery + package or the version in the release of Python that the test + execution was occuring on. (Robert Collins, #1271133) + * Fixed unit tests which were failing under pypy due to a change in + the way pypy formats tracebacks. (Thomi Richards) + * Fixed the testtools test suite to run correctly when run via + "unit2" or "testtools.run discover". + * Make `testtools.content.text_content` error if anything other than + text is given as content. (Thomi Richards) + * We now publish wheels of testtools. (Robert Collins, #issue84) + +- changes from version 1.1.0: + * Exceptions in a "fixture.getDetails" method will no longer mask + errors raised from the same fixture's "setUp" method. (Robert + Collins, #1368440) + +- changes from version 1.0.0: + * Fix a long-standing bug where tearDown and cleanUps would not be + called if the test run was interrupted. This should fix leaking + external resources from interrupted tests. (Robert Collins, + #1364188) + * Fix a long-standing bug where calling sys.exit(0) from within a + test would cause the test suite to exit with 0, without reporting + a failure of that test. We still allow the test suite to be exited + (since catching higher order exceptions requires exceptional + circumstances) but we now call a last-resort handler on the + TestCase, resulting in an error being reported for the test. + (Robert Collins, #1364188) + * Fix an issue where tests skipped with the "skip"* family of + decorators would still have their "setUp" and "tearDown" + functions called. (Thomi Richards, + #https://github.com/testing-cabal/testtools/issues/86) + * We have adopted a formal backwards compatibility statement (see + hacking.rst) (Robert Collins) + +- changes from version 0.9.39: + * Brown paper bag release - 0.9.38 was broken for some users, + _jython_aware_splitext was not defined entirely compatibly. + (Robert Collins, + #https://github.com/testing-cabal/testtools/issues/100) + +- changes from version 0.9.38: + * Discovery import error detection wasn't implemented for python 2.6 + (the 'discover' module). (Robert Collins) + * Discovery now executes load_tests (if present) in __init__ in all + packages. (Robert Collins, http://bugs.python.org/issue16662) + +- changes from version 0.9.37: + * "stdout" is now correctly honoured on "run.TestProgram" - + before the runner objects would be created with no stdout + parameter. If construction fails, the previous parameter list is + attempted, permitting compatibility with Runner classes that don't + accept stdout as a parameter. (Robert Collins) + * The "ExtendedToStreamDecorator" now handles content objects with + one less packet - the last packet of the source content is sent + with EOF set rather than an empty packet with EOF set being sent + after the last packet of the source content. (Robert Collins) + +- changes from version 0.9.36: + * Error if "setUp" or "tearDown" are called twice. (Robert + Collins, #882884) + * Make testtools compatible with the "unittest.expectedFailure" + decorator in Python 3.4. (Thomi Richards) + * Introduce the assert_that function, which allows matchers to be + used independent of testtools.TestCase. (Daniel Watkins, #1243834) + +------------------------------------------------------------------- Old: ---- testtools-0.9.35.tar.gz New: ---- testtools-1.5.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-testtools.spec ++++++ --- /var/tmp/diff_new_pack.ZqhrdT/_old 2015-02-18 12:08:55.000000000 +0100 +++ /var/tmp/diff_new_pack.ZqhrdT/_new 2015-02-18 12:08:55.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-testtools # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,10 +18,9 @@ # A build cycle exists between python-extras and python-testtools. Thus, only # enable testing with a build conditional (off by default): -%bcond_with tests Name: python3-testtools -Version: 0.9.35 +Version: 1.5.0 Release: 0 Summary: Extensions to the Python Standard Library Unit Testing Framework License: MIT @@ -29,13 +28,14 @@ Url: https://launchpad.net/testtools Source: https://pypi.python.org/packages/source/t/testtools/testtools-%{version}.tar.gz BuildRequires: python3-devel +BuildRequires: python3-setuptools # Documentation requirements: BuildRequires: python3-Sphinx # Test requirements: -%if %{with tests} BuildRequires: python3-extras BuildRequires: python3-python-mimeparse -%endif +BuildRequires: python3-unittest2 +Requires: python3-unittest2 Requires: python3-extras Requires: python3-python-mimeparse BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -57,10 +57,8 @@ %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} -%if %{with tests} %check python3 setup.py test -%endif %files %defattr(-,root,root,-) ++++++ testtools-0.9.35.tar.gz -> testtools-1.5.0.tar.gz ++++++ ++++ 2938 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
