-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 deprecation API for positional arguments #2573
Comments
@thdaraujo could you update the tag to be |
hey @mauromorales, thanks for submitting a PR! Correct me if I'm wrong, but the way I understand it, the issue should have a tag Here's what they say about issues:
And about PRs:
So when the PR is accepted, we will tag the PR as |
My pleasure, thank you guys for making it easy to spot :)
Good question, you probably know better than me, the reason why I thought it was the other way around is because of how it looks on the hacktoberfest profile where it's labeled as |
oh I see, that's probably because we did not add the topic yet to the repository, but we should have it soon! :) |
JFYI, Not only the migration period, so semver is also important. It should avoid making changes that could break client software on That aside, it would have been a catalyst for moving forward to Faker 3.0. Thank you! |
hi @koic thank you for the help! I agree it's our job as maintainers to communicate breaking changes in a way that helps users. The reasoning behind believing that "it's been a couple of years since these deprecation warnings were introduced. It's safe to remove them." was because the keywords arguments were added before the deprecation, and a long time ago. So reviewing the semantic version docs, I believed that since the deprecation messages were there for a long time and for a breaking change prior to it, it would be safe to remove them and fix the deprecation. I debated for a while if this was or not something major because of that. My bad, I should have raised this confusion in the issue. To be honest, I was a bit confused by this due to the order of the deprecation. Is there something that I could have done ahead of time to make this a smooth transition, besides mentioning it as a major change in the issue? I like to learn from my mistakes, and I appreciate your support on this! That said, I agree with making a release for Faker 3.0. @vbrazo are you available for making this release? 😊 |
Version 2 of Faker replaced positional arguments with keyword arguments. To reduce users pain and make upgrades easier, deprecation warnings with instructions to upgrade were added.
And it's been a couple of years since these deprecation warnings were introduced. It's safe to remove them.
Here is what needs to be done:
legacy_
arguments, and remove the warnings from them as well. A lot of new methods were added after that PR was merged.The text was updated successfully, but these errors were encountered: