Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency testfixtures to v8 #2585

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 12, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
testfixtures ^7.2.2 -> ^8.3.0 age adoption passing confidence

Release Notes

Simplistix/testfixtures (testfixtures)

v8.3.0

Compare Source

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

v8.2.0

Compare Source

  • The strict option is now correctly respected when :doc:comparing <comparing> nested objects.

  • When comparing :class:~datetime.datetime or :class:~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 :doc:replacement <mocking> doesn't give
    what's expected.

  • :doc:Replacement <mocking> of methods on instances is now prevented when strict=True.

  • An exception is now raised when :doc:mocking <mocking> and the original is not in the
    __dict__ of its containing objects.

v8.1.0

Compare Source

  • Fix bug where replacement of methods on subclasses failed when using :meth:Replacer.on_class.

  • Implement :ref:strict comparison <compare-datetime> as an option for :class:~datetime.datetime
    and :class:~datetime.time.

v8.0.0

Compare Source

  • Retire zope.component helpers.

  • Support :class:bytes in :class:popen.MockPopen commands.

  • Allow :class:TempDirectory instances to be traversed as :class:~pathlib.Path objects.

  • Use the system default encoding where possible in :class:TempDirectory.

  • Add :class:TempDirectory option to manage current working directory.

  • Allow string class attributes to be replaced with :class:Replacer and friends.

  • Fix nasty bug meaning some :meth:~Replacer.on_class and :meth:~Replacer.in_module
    replacements weren't restored.

  • Allow an alternative separator to be used for traversal during replacement with
    :class:Replacer and friends.

  • Officially support Python 3.12.

  • Drop support Python 3.6.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the changelog:skip Don't include this pull request in the release change log label Sep 12, 2024
@github-actions github-actions bot added the dependencies Pull request that updates a dependency file label Sep 12, 2024
Copy link

codecov bot commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.19%. Comparing base (3d53555) to head (7d48cb0).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2585   +/-   ##
=======================================
  Coverage   90.19%   90.19%           
=======================================
  Files         256      256           
  Lines       15680    15680           
=======================================
+ Hits        14142    14143    +1     
+ Misses       1538     1537    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ITProKyle ITProKyle merged commit 2df8bc7 into master Sep 12, 2024
24 checks passed
@ITProKyle ITProKyle deleted the renovate/testfixtures-8.x branch September 12, 2024 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:skip Don't include this pull request in the release change log dependencies Pull request that updates a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant