Overview

Request 1172638 review

- 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.

Request History
Steve Kowalik's avatar

StevenK created request

- 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.


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar_suse set openSUSE:Factory:Staging:L as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:L"


Dominique Leuenberger's avatar

dimstar_suse staged request

Picked "openSUSE:Factory:Staging:L"


Marco Strigl's avatar

mstrigl accepted review

Accepted review for by_group opensuse-review-team request 1172638 from user dimstar_suse


Ana Guerrero's avatar

anag+factory added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Ana Guerrero's avatar

anag+factory accepted review

Unstaged from project "openSUSE:Factory:Staging:L"


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:H as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:H"


Ana Guerrero's avatar

anag+factory staged request

Picked "openSUSE:Factory:Staging:H"


Ana Guerrero's avatar

anag+factory added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Ana Guerrero's avatar

anag+factory accepted review

Unstaged from project "openSUSE:Factory:Staging:H"


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:J as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:J"


Ana Guerrero's avatar

anag+factory staged request

Picked "openSUSE:Factory:Staging:J"


Ana Guerrero's avatar

anag+factory added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Ana Guerrero's avatar

anag+factory accepted review

Unstaged from project "openSUSE:Factory:Staging:J"


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:I as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:I"


Ana Guerrero's avatar

anag+factory staged request

Picked "openSUSE:Factory:Staging:I"


Ana Guerrero's avatar

anag+factory added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Ana Guerrero's avatar

anag+factory accepted review

Unstaged from project "openSUSE:Factory:Staging:I"


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:J as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:J"


Ana Guerrero's avatar

anag+factory staged request

Picked "openSUSE:Factory:Staging:J"

openSUSE Build Service is sponsored by