diff --git a/CHANGELOG.md b/CHANGELOG.md index 44cb0f4390..64d31ec456 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Changelog +### [v33.1.3 - 2025-01-03](https://github.com/joke2k/faker/compare/v33.1.2...v33.1.3) + +* Fix type annotation on Python 3.8. + ### [v33.1.2 - 2025-01-03](https://github.com/joke2k/faker/compare/v33.1.1...v33.1.2) * Fix `ru_RU` passport provider. Thanks @denisSurkov. diff --git a/faker/providers/passport/ru_RU/__init__.py b/faker/providers/passport/ru_RU/__init__.py index 1f39cedeb9..04637c28d2 100644 --- a/faker/providers/passport/ru_RU/__init__.py +++ b/faker/providers/passport/ru_RU/__init__.py @@ -1,11 +1,11 @@ -from typing import Tuple +from typing import Dict, Tuple from faker.typing import SexLiteral from ... import ElementsType from .. import Provider as BaseProvider -GENDER_TO_GENERATOR: dict[SexLiteral, str] = { +GENDER_TO_GENERATOR: Dict[SexLiteral, str] = { "F": "{{last_name_female}} {{first_name_female}} {{middle_name_female}}", "M": "{{last_name_male}} {{first_name_male}} {{middle_name_male}}", "X": "{{last_name_male}} {{first_name_male}} {{middle_name_male}}",