Bump time-machine from 2.16.0 to 2.19.0 in the minor group
Type: Pull Request
State: Merged
Association: Contributor
Comments: 0
(9 months ago)
(9 months ago)
(9 months ago)
by llucax
part:tooling type:tech-debt part:dispatcher
Bumps the minor group with 1 update: time-machine.
Updates time-machine from 2.16.0 to 2.19.0
Changelog
Sourced from time-machine's changelog.
2.19.0 (2025-08-19)
Add marker support to :doc:
the pytest plugin <pytest_plugin>. Decorate tests with@pytest.mark.time_machine(<destination>)to set time during a test, affecting function-level fixtures as well.Thanks to Javier Buzzi in
PR [#499](https://github.com/adamchainz/time-machine/issues/499) <https://github.com/adamchainz/time-machine/pull/499>__.Add asynchronous context manager support to
time_machine.travel(). You can now useasync with time_machine.travel(...):in asynchronous code, per :ref:the documentation <travel-context-manager>.
PR [#556](https://github.com/adamchainz/time-machine/issues/556) <https://github.com/adamchainz/time-machine/issues/556>__.Import date and time functions once in the C extension.
This should improve speed a little bit, and avoid segmentation faults when the functions have been swapped out, such as when freezegun is in effect. (time-machine still won’t apply if freezegun is in effect.)
PR [#555](https://github.com/adamchainz/time-machine/issues/555) <https://github.com/adamchainz/time-machine/issues/555>__.2.18.0 (2025-08-18)
Update the :ref:
migration CLI <migration-cli>to detect unittest classes based on whether they useself.assert*methods likeself.assertEqual().Fix free-threaded Python warning:
RuntimeWarning: The global interpreter lock (GIL) has been enabled...as seen on Python 3.13+.Thanks to Javier Buzzi in
PR [#531](https://github.com/adamchainz/time-machine/issues/531) <https://github.com/adamchainz/time-machine/pull/531>__.Add support to
travel()fordatetimedestinations withtzinfoset todatetime.UTC(datetime.timezone.utc).Thanks to Lawrence Law in
PR [#502](https://github.com/adamchainz/time-machine/issues/502) <https://github.com/adamchainz/time-machine/pull/502>__.Prevent segmentation faults in unlikely scenarios, such as if the
time_machinemodule cannot be imported.
PR [#543](https://github.com/adamchainz/time-machine/issues/543) <https://github.com/adamchainz/time-machine/pull/543>,PR [#545](https://github.com/adamchainz/time-machine/issues/545) <https://github.com/adamchainz/time-machine/pull/545>.Make
travel()fully unpatch date and time functions when travel ends. This may fix certain edge cases.
Issue [#532](https://github.com/adamchainz/time-machine/issues/532) <https://github.com/adamchainz/time-machine/issues/532>__.2.17.0 (2025-08-05)
Include wheels for Python 3.14.
Thanks to Edgar Ramírez Mondragón in
PR [#521](https://github.com/adamchainz/time-machine/issues/521) <https://github.com/adamchainz/time-machine/pull/521>__.Support free-threaded Python.
... (truncated)
Commits
c64e79fVersion 2.19.0aa78214Edit changelogd4c2e64Edit changelogc271664Tweak title capitalizationc9775a3Add asynchronous context manager support (#556)130333eAdd marker support to pytest plugin (#499)428491eImport more once in C extension (#555)728d0a6Version 2.18.065a214cImport date/time modules once in C extension (#553)9ff207bUnpatch functions when travel ends (#550)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Pull Request Statistics
1
1
+1
-1
Package Dependencies
time-machine
pip
2.16.0 → 2.19.0
Minor
the minor group
Technical Details
| ID: | 6212981 |
| UUID: | 2788971887 |
| Node ID: | PR_kwDOLWfGeM6mPFVv |
| Host: | GitHub |
| Repository: | frequenz-floss/frequenz-dispatch-python |
| Merge State: | Unknown |