Skip to content

Remove freezegun from install_requires#321

Open
cxong wants to merge 3 commits intorq:masterfrom
cxong:patch-1
Open

Remove freezegun from install_requires#321
cxong wants to merge 3 commits intorq:masterfrom
cxong:patch-1

Conversation

@cxong
Copy link
Copy Markdown

@cxong cxong commented Apr 10, 2025

freezegun is only required in tests so it should not be a requirement for the library

Comment thread tests/test_callbacks.py
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this behaviour was changed recently in rq
rq/rq@865356a#diff-5ff734c15373fbcdb39d32faf0555265d8eaae657c1a6174e5e9b0dedd2815f7
These tests should not assert on private attributes since they may break without prior notice

@adamantike
Copy link
Copy Markdown

It would be great to get this reviewed. rq-scheduler is the only direct dependency that requires freezegun for some of our projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants