Commit Graph

38 Commits

Author SHA1 Message Date
github-actions[bot]
8db4dc186f Bump pytz to 2025.1 (#13449) 2025-02-03 09:08:20 +01:00
Stephen Morton
097581ea47 Update to mypy 1.14 (#13272) 2024-12-20 17:29:38 -08:00
Robsdedude
e05f3f083f Fix: pytz: is_dst parameter (#12723) 2024-10-02 13:11:12 +02:00
github-actions[bot]
6c703a3dfd [stubsabot] Bump pytz to 2024.2 (#12639) 2024-09-12 08:46:22 +02:00
Sebastian Rittau
7d56cd9a6c Remove remaining bare Incompletes (#11768)
Enable Y065
2024-04-16 06:26:14 -07:00
github-actions[bot]
5ce34dc096 [stubsabot] Bump pytz to 2024.1 (#11355) 2024-02-03 02:22:13 +01:00
github-actions[bot]
3881b1b81a [stubsabot] Bump pytz to 2023.4 (#11341) 2024-01-30 02:10:53 +01:00
Amin Alaee
11e51bef9d [pytz] Add BaseTzInfo private attributes (#10733) 2023-09-20 15:17:40 +02:00
github-actions[bot]
03ce77a12c [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
2023-09-17 12:58:55 +01:00
Avasam
22b055a147 Fill in all missing upstream_repository fields (#10571)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-08-13 22:03:33 +01:00
github-actions[bot]
6f3e568cec [stubsabot] Bump pytz to 2023.3 (#9984) 2023-03-30 09:18:06 +02:00
Alex Waygood
6fd7e36e80 Add default values for third-party stubs beginning with 'P' (#9957) 2023-03-27 18:58:53 +01:00
github-actions[bot]
9c5f9cd000 [stubsabot] Bump pytz to 2023.2 (#9942)
Release: https://pypi.org/pypi/pytz/2023.2
Homepage: http://pythonhosted.org/pytz
2023-03-26 00:34:18 +00:00
Avasam
078c6a0958 Update Unused parameters in stubs/ (#9704)
* Update _Unused TypeAlias

* Update `object | None` params

* Replace unused `object` parameters with `Unused` alias
2023-02-21 23:52:52 -08:00
Avasam
ed6748fb32 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.
2023-02-20 22:37:45 +00:00
github-actions[bot]
eee0ad644d [stubsabot] Bump pytz to 2022.7.1 (#9540)
Release: https://pypi.org/pypi/pytz/2022.7.1
Homepage: http://pythonhosted.org/pytz
2023-01-15 00:51:35 +00:00
github-actions[bot]
3abf38ee0b [stubsabot] Bump pytz to 2022.7 (#9383) 2022-12-19 00:18:21 +00:00
Nikita Sobolev
b91ebd3096 Remove pytz from pyrights exclude (#9041) 2022-10-31 21:08:41 -07:00
github-actions[bot]
7f476e1ddb [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 <>
2022-11-01 00:31:32 +00:00
github-actions[bot]
7ef1aa5428 [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 <>
2022-10-18 17:38:54 -07:00
github-actions[bot]
378de18f6d [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 <>
2022-10-04 14:46:47 -07:00
github-actions[bot]
d4fe6aac91 [stubsabot] Bump pytz to 2022.2.1 (#8564)
Co-authored-by: stubsabot <>
2022-08-18 17:48:06 -07:00
Shantanu
4b34b345f1 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>
2022-07-19 08:11:29 +01:00
Shantanu
b6379e7c7a Check missing definitions for several packages (#8167)
Co-authored-by: hauntsaninja <>
2022-06-26 08:56:18 +01:00
Shantanu
b36c7705a7 [stubsabot] Bump pytz to 2022.1 (#8121)
Co-authored-by: hauntsaninja <>
2022-06-20 22:16:45 -07:00
Alex Waygood
5c6178a821 Import generics from standard modules in all third-party stubs (#7791) 2022-05-07 10:35:50 +02:00
Sebastian Rittau
f7aa41245e Drop Python 2 support in third-party stubs (#7703) 2022-04-27 15:32:17 +03:00
Jelle Zijlstra
d9f1f7b81f pytz: utcoffset only returns None if dt is None (#7510) 2022-03-19 08:19:09 +00:00
aimileus
5081f684c0 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] 2ed682a7c4/src/pytz/tzinfo.py (L112)
2022-02-13 07:21:30 -08:00
Sebastian Rittau
968fd6d01d 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.
2021-12-14 14:14:21 +01:00
Jelle Zijlstra
384e309f53 pytz: rework stubs (#6551) 2021-12-09 09:24:44 +01:00
Alex Waygood
c685c2d6c6 Reduce use of deprecated typing aliases (#6358) 2021-11-23 10:56:43 +01:00
Sebastian Rittau
9f86972350 Add star to all non-0.1 versions (#6146) 2021-10-11 13:41:19 -07:00
Akuli
ce11072dbe Big diff: use lower-case list and dict (#5888) 2021-08-08 09:26:35 -07:00
Akuli
ee487304d7 Big diff: Use new "|" union syntax (#5872) 2021-08-08 11:05:21 +02:00
Sebastian Rittau
b1ef60c9d5 Update a few stub versions (#5670) 2021-06-21 07:15:00 -07:00
Shantanu
7244ea1f71 Test third party stubs with stubtest (#5615) 2021-06-13 00:17:40 +02:00
Ivan Levkivskyi
16ae4c6120 Re-organize directory structure (#4971)
See discussion in #2491

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
2021-01-27 12:00:39 +00:00