e9388c939b- Make Django build-requirement conditional and disable by default for SUSE:SLFO:Main, bsc#1231124
devel
Daniel Garcia2024-10-01 11:13:51 +00:00
3c4aee607bAccepting request 1203766 from devel:languages:pythonAna Guerrero2024-09-29 16:09:04 +00:00
f290ed4113- update to 8.3.0: * :class:ShouldRaise now supports :class:ExceptionGroup. * Fixed bug where :func:~testfixtures.comparison.compare_generator did not respect strict=True. * Fixed bug in the type annotations for :class:ShouldRaise and :func:~testfixtures.comparison.compare_exception. * :class:LogCapture will now raise an exception if closed while still installed. This can be a source of particularly confusing bugs.Dirk Mueller2024-06-30 08:18:17 +00:00
0175f63bf3Accepting request 1172638 from devel:languages:pythonAna Guerrero2024-06-14 16:59:08 +00:00
5eb319e9e2- Update to 8.2.0: * The strict option is now correctly respected when comparing nested objects. * When comparing datetime.datetime or datetime.time instances, if the fold is the only thing that's different, it's now shown in the output. * A more detailed exception is now raised when resolving a replacement doesn't give what's expected. * Replacement of methods on instances is now prevented when strict=True. * An exception is now raised when mocking and the original is not in the __dict__ of its containing objects. * Fix bug where replacement of methods on subclasses failed when using Replacer.on_class. * Implement strict comparison as an option for datetime.datetime and datetime.time. * Retire zope.component helpers. * Support bytes in popen.MockPopen commands. * Allow TempDirectory instances to be traversed as pathlib.Path objects. * Use the system default encoding where possible in TempDirectory. * Add TempDirectory option to manage current working directory. * Allow string class attributes to be replaced with Replacer and friends. * Fix nasty bug meaning some Replacer.on_class and Replacer.in_module replacements weren't restored. * Allow an alternative separator to be used for traversal during replacement with Replacer and friends. * Officially support Python 3.12. * Drop support Python 3.6. - Add multibuild to break a cycle. - Drop patch path-comparsion-312.patch, included upstream.Steve Kowalik2024-05-08 06:10:52 +00:00
325f37f7e2Accepting request 1132526 from home:ecsos:pythonDirk Mueller2023-12-11 19:10:38 +00:00
53d0b43e4cAccepting request 1129684 from devel:languages:pythonAna Guerrero2023-11-30 20:59:03 +00:00
0ab8575b0a- Update to 7.2.2: * Fix bug in support for :class:os.PathLike arguments to :class:popen.MockPopen. * Added missing support for :class:os.PathLike arguments to :class:popen.MockPopen. * Add `order_matters parameter to :class:ShouldWarn. * Implement new IDE and static-analysis ways of :doc:mocking <mocking> including additional parameters to :meth:~Replacer.replace along with the :any:replace_on_class, :any:replace_in_module and :any:replace_in_environ` context managers. - Add patch path-comparsion-312.patch: * Compare paths string-wise, due to Python 3.12 changes. - Switch to autosetup and pyproject macros. - Remove now unneeded Python 3.6 special-casing.Steve Kowalik2023-11-29 01:51:20 +00:00
4429019c41- Remove testfixtures-pr167-sybil3.patch, it's included in upstream now. - Update to 7.0.0 * Refresh documentation. * Add type annotations. * Drop support for Python 2. The minimum supported Python version is now 3.6. * Sybil 3 is now the minimum supported version if you use :class:~.sybil.FileParser. * Rename and refactor the date and time mocks, they are now :any:mock_date, :any:mock_datetime and :any:mock_time. :func:test_date, :func:test_datetime and :func:test_time are still present as aliases but are now deprecated. * Add :meth:TempDirectory.as_string, :meth:TempDirectory.as_path and :meth:TempDirectory.as_local. :meth:TempDirectory.getpath is now deprecated. * :class:TempDirectory can now be used to wrap existing directories. * Fixed a bug where :any:OutputCapture.captured returned bytes instead of a string with fd=True. * The deprecated strict option to :class:Comparison has been removed, use the partial option instead. * The deprecated :meth:TempDirectory.check, :meth:TempDirectory.check_dir and :meth:TempDirectory.check_all methods have been removed. - 6.18.5 (1 Mar 2022) * Fix bug in detection of Mock backport. - 6.18.4 (25 Feb 2022) * Ensure compatibility with Sybil 2 and Sybil 3 along with pytest 6 and pytest 7.Daniel Garcia2022-10-04 15:34:15 +00:00
0f368f4e9f- update to 6.17.1 - Fix bug where bug where duplicated entries in an ordered but partial :class:SequenceComparison could result in a failed match.Dirk Mueller2021-05-09 17:11:57 +00:00
4e7ef42769- Add appease-django-320.patch: * Upstream patch to avoid a test failure with building with Django 3.2Steve Kowalik2021-04-28 07:51:06 +00:00
8d5b3bc930- Skip a test that has some fundamental disagreements with Django 3.2.Steve Kowalik2021-04-28 06:51:54 +00:00
8fd69a846a- update to 6.14.2: - Fix bug where `ignore_eq had no effect on nested objects when using :func:compare` - remove python383.patch (upstream)Dirk Mueller2020-09-16 21:32:00 +00:00
20b5a82685- Add patch to fix build with python 3.8.3: * python383.patch - Update to 6.14.1: * Fix bugs in comparison of :func:~unittest.mock.call objects where the :func:repr of the :func:~unittest.mock.call arguments were the same even when their attributes were not.
Tomáš Chvátal
2020-05-19 10:22:56 +00:00
fcff314366- Update to 6.10.0: * Better feedback where objects do not :func:compare equal but do have the same representation.
Tomáš Chvátal
2019-07-22 12:43:39 +00:00