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

Remove tzinfo dependency #2952

Merged
merged 1 commit into from
May 9, 2024
Merged

Remove tzinfo dependency #2952

merged 1 commit into from
May 9, 2024

Conversation

stefannibrasil
Copy link
Contributor

@stefannibrasil stefannibrasil commented May 8, 2024

faker unfortunately can't be relying on gems for
validating random generated data for every generator we have. That introduces too much work for maintainers.

Having one dependency for tests means opening the doors for more dependencies later on. Although we do our best to keep the library up to date, we can't keep up with all the validations to be passing.

If users rely on valid Timezones for their apps, we recommend not relying on faker for that and instead ensure valid data is generated on their end.

Related: #2927

faker unfortunately can't be relying on gems for
validating random generated data for every generator
we have. That introduces too much work for maintainers.

Having one dependency for tests means opening the doors for more
dependencies later on. Although we do our best to keep the library
up to date, we can't keep up with all the validations to be passing.

If users rely on valid Timezones for their apps, we recommend not
relying on faker for that and instead ensure valid data is generated
on their end.
Copy link
Contributor

@thdaraujo thdaraujo left a comment

Choose a reason for hiding this comment

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

thanks for fixing this!

@thdaraujo thdaraujo merged commit 6595da9 into main May 9, 2024
7 of 8 checks passed
@thdaraujo thdaraujo deleted the sb-remove-tzinfo-dependency branch May 9, 2024 00:35
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