-
-
Notifications
You must be signed in to change notification settings - Fork 230
Bump faker from 37.1.0 to 38.2.0 #37176
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
base: master
Are you sure you want to change the base?
Conversation
Bumps [faker](https://github.com/joke2k/faker) from 37.1.0 to 38.2.0. - [Release notes](https://github.com/joke2k/faker/releases) - [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) - [Commits](joke2k/faker@v37.1.0...v38.2.0) --- updated-dependencies: - dependency-name: faker dependency-version: 38.2.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
| version = "38.2.0" | ||
| source = { registry = "https://pypi.org/simple" } | ||
| dependencies = [ | ||
| { name = "tzdata" }, | ||
| ] | ||
| sdist = { url = "https://files.pythonhosted.org/packages/ba/a6/b77f42021308ec8b134502343da882c0905d725a4d661c7adeaf7acaf515/faker-37.1.0.tar.gz", hash = "sha256:ad9dc66a3b84888b837ca729e85299a96b58fdaef0323ed0baace93c9614af06", size = 1875707, upload-time = "2025-03-24T16:14:02.958Z" } | ||
| sdist = { url = "https://files.pythonhosted.org/packages/64/27/022d4dbd4c20567b4c294f79a133cc2f05240ea61e0d515ead18c995c249/faker-38.2.0.tar.gz", hash = "sha256:20672803db9c7cb97f9b56c18c54b915b6f1d8991f63d1d673642dc43f5ce7ab", size = 1941469, upload-time = "2025-11-19T16:37:31.892Z" } | ||
| wheels = [ | ||
| { url = "https://files.pythonhosted.org/packages/d7/a1/8936bc8e79af80ca38288dd93ed44ed1f9d63beb25447a4c59e746e01f8d/faker-37.1.0-py3-none-any.whl", hash = "sha256:dc2f730be71cb770e9c715b13374d80dbcee879675121ab51f9683d262ae9a1c", size = 1918783, upload-time = "2025-03-24T16:14:00.051Z" }, | ||
| { url = "https://files.pythonhosted.org/packages/17/93/00c94d45f55c336434a15f98d906387e87ce28f9918e4444829a8fda432d/faker-38.2.0-py3-none-any.whl", hash = "sha256:35fe4a0a79dee0dc4103a6083ee9224941e7d3594811a50e3969e547b0d2ee65", size = 1980505, upload-time = "2025-11-19T16:37:30.208Z" }, | ||
| ] | ||
|
|
||
| [[package]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: faker.config.AVAILABLE_LOCALES is deprecated or changed in Faker 38.x, causing AttributeError or TypeError during locale selection.
Severity: HIGH | Confidence: High
🔍 Detailed Analysis
The faker.config.AVAILABLE_LOCALES attribute has been removed or significantly altered in Faker 38.x, leading to an AttributeError or TypeError when accessed. This issue occurs within the create_case_fixtures management command when the condition n % 3 == 0 is met (e.g., on the third iteration if num_root_items > 2), causing the command to crash unexpectedly due to the inability to select a locale.
💡 Suggested Fix
Update the locale selection logic in create_case_fixtures.py to use the correct Faker 38.x API for accessing available locales, ensuring compatibility with the new Faker version.
🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: uv.lock#L1418-L1431
Potential issue: The `faker.config.AVAILABLE_LOCALES` attribute has been removed or
significantly altered in Faker 38.x, leading to an `AttributeError` or `TypeError` when
accessed. This issue occurs within the `create_case_fixtures` management command when
the condition `n % 3 == 0` is met (e.g., on the third iteration if `num_root_items` >
2), causing the command to crash unexpectedly due to the inability to select a locale.
Did we get this right? 👍 / 👎 to inform future reviews.
Reference ID: 5454669
Bumps faker from 37.1.0 to 38.2.0.
Release notes
Sourced from faker's releases.
... (truncated)
Changelog
Sourced from faker's changelog.
... (truncated)
Commits
337f8faBump version: 38.1.0 → 38.2.0d8fb7f2📝 Update CHANGELOG.md243e317lint docse398287📝 Update docs3cc7f77feat: localized UniqueProxy (#2279)8ba30daBump version: 38.0.0 → 38.1.0921bde1📝 Update CHANGELOG.md702e23bfix newlined5051a9add_faker_pk_pypi_link (#2281)050de37Addpersonprovider forar_DZlocale (#2271)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 this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)