[stubsabot] Bump pytz to 2024.2 (#12639)
Remove remaining bare Incomplete
s (#11768)
Enable Y065
[stubsabot] Bump pytz to 2024.1 (#11355)
[stubsabot] Bump pytz to 2023.4 (#11341)
[pytz] Add BaseTzInfo private attributes (#10733)
[stubsabot] Bump pytz to 2023.3.post1 (#10673)
Release: https://pypi.org/pypi/pytz/2023.3.post1 Homepage: http://pythonhosted.org/pytz Repository: https://github.com/stub42/pytz
Fill in all missing upstream_repository
fields (#10571)
Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com
[stubsabot] Bump pytz to 2023.3 (#9984)
Add default values for third-party stubs beginning with 'P' (#9957)
[stubsabot] Bump pytz to 2023.2 (#9942)
Release: https://pypi.org/pypi/pytz/2023.2 Homepage: http://pythonhosted.org/pytz
Update Unused
parameters in stubs/
(#9704)
-
Update _Unused TypeAlias
-
Update
object | None
params -
Replace unused
object
parameters withUnused
alias
Stubtest settings: change ignore_missing_stub
default to false
(#9779)
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
[stubsabot] Bump pytz to 2022.7.1 (#9540)
Release: https://pypi.org/pypi/pytz/2022.7.1 Homepage: http://pythonhosted.org/pytz
[stubsabot] Bump pytz to 2022.7 (#9383)
Remove pytz
from pyright
s exclude (#9041)
[stubsabot] Bump pytz to 2022.6 (#9049)
Release: https://pypi.org/pypi/pytz/2022.6 Homepage: http://pythonhosted.org/pytz
If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR
Note that you will need to close and re-open the PR in order to trigger CI
Co-authored-by: stubsabot <>
[stubsabot] Bump pytz to 2022.5 (#8926)
Release: https://pypi.org/pypi/pytz/2022.5 Homepage: http://pythonhosted.org/pytz
If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR
Note that you will need to close and re-open the PR in order to trigger CI
Co-authored-by: stubsabot <>
[stubsabot] Bump pytz to 2022.4 (#8848)
Release: https://pypi.org/pypi/pytz/2022.4 Homepage: http://pythonhosted.org/pytz
If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR
Note that you will need to close and re-open the PR in order to trigger CI
Co-authored-by: stubsabot <>
[stubsabot] Bump pytz to 2022.2.1 (#8564)
Co-authored-by: stubsabot <>
Add missing third party modules (#8321)
Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com Co-authored-by: hauntsaninja <> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Check missing definitions for several packages (#8167)
Co-authored-by: hauntsaninja <>
[stubsabot] Bump pytz to 2022.1 (#8121)
Co-authored-by: hauntsaninja <>
Import generics from standard modules in all third-party stubs (#7791)
Drop Python 2 support in third-party stubs (#7703)
pytz: utcoffset only returns None if dt is None (#7510)
Fix argument types of pytz.tzinfo.StaticTzInfo (#7184)
The argument is_dst of the functions StaticTzInfo.localize and StaticTzInfo.normalize are ignored, and only present for compatibility with DstTzInfo. The functions in DstTzInfo also accepts None, so for compatibility, StaticTzInfo should accept them as well.
[^1] https://github.com/stub42/pytz/blob/2ed682a7c4079042f50975970fc4f503c8450058/src/pytz/tzinfo.py#L112
Add abstract methods to BaseTzInfo (#6579)
While these abstract methods don't exist at runtime, all sub-classes of BaseTzInfo implement them. It can be useful to annotate variables with BaseTzInfo and being able to call these methods on it.
pytz: rework stubs (#6551)
Reduce use of deprecated typing
aliases (#6358)
Add star to all non-0.1 versions (#6146)