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 freezegun requirement from ~=1.4 to ~=1.5 #1133

Closed
wants to merge 2 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 19, 2024

Updates the requirements on freezegun to permit the latest version.

Changelog

Sourced from freezegun's changelog.

1.5.1

  • Fix the typing of the tick() method, and improve it's behaviour.

1.5.0

  • The default ignore list now contains the queue-package
  • Added a missing move_to-function when calling freeze_time(tick=True)
  • Fixes a rounding error in time.time_ns()
  • Fixed a bug where the default ignore list could not be empty (configure(default_ignore_list=[]))
  • All tick() methods now return the new datetime (instead of None)
  • Type improvements

1.4.0

  • asyncio-support from 1.3.x introduced quite a few bugs, so that functionality is now hidden behind a flag: with freeze_time('1970-01-02', real_asyncio=True):

1.3.1

  • Fixed the release number in the build

1.3.0

  • Fixed asyncio support to avoid await asyncio.sleep(1) hanging forever.

  • Added support for Python 3.12

1.2.2

1.2.1

  • Added missing typeshed types from distribution

  • Pass all arguments on recursive freeze_time calls

... (truncated)

Commits
  • 3f9fac4 Increase version number
  • e0f2c3c CHANGELOG for 1.5.1
  • ea054a3 Merge pull request #546 from robsdedude/patch-1
  • df263dc Extend type checking
  • aecc78a Keep numbers for runtime type checks, use float for type hints
  • 023c7a3 Revert runtime type-check to numbers.Real
  • be779f4 Add test for manually ticking StepTickTimeFactory
  • d2872d0 Fix instance checks
  • c963608 Fix tick delta type handling
  • 17ea422 Admin: Release may not need to update version nr
  • Additional commits viewable in compare view

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [freezegun](https://github.com/spulec/freezegun) to permit the latest version.
- [Release notes](https://github.com/spulec/freezegun/releases)
- [Changelog](https://github.com/spulec/freezegun/blob/master/CHANGELOG)
- [Commits](spulec/freezegun@1.4.0...1.5.1)

---
updated-dependencies:
- dependency-name: freezegun
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner July 19, 2024 12:07
@dependabot dependabot bot added dependencies python Pull requests that update Python code labels Jul 19, 2024
@cla-bot cla-bot bot added the cla:yes label Jul 19, 2024
Copy link
Contributor

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the dbt-snowflake contributing guide.

@mikealfare
Copy link
Contributor

freezegun is not actually used for testing. Instead, we should remove it.

@mikealfare mikealfare closed this Jul 19, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 19, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/freezegun-approx-eq-1.5 branch July 19, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:yes dependencies python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants