Skip to content

Remove ABCMeta from datetime.tzinfo - #20

Closed
sobolevn wants to merge 1 commit into
masterfrom
patch-57
Closed

sobolevn wants to merge 1 commit into
masterfrom
patch-57

Conversation

@sobolevn

@sobolevn sobolevn commented Oct 17, 2022 •

Copy link
Copy Markdown
Owner

No description provided.

@sobolevn sobolevn closed this Oct 17, 2022
@github-actions

Copy link
Copy Markdown

Diff from mypy_primer, showing the effect of this PR on open source code:

core (https://github.com/home-assistant/core)
+ homeassistant/util/dt.py:93: error: Cannot instantiate abstract class "ZoneInfo" with abstract attributes "dst", "tzname" and "utcoffset"  [abstract]

sphinx (https://github.com/sphinx-doc/sphinx)
+ sphinx/builders/gettext.py:191:7: error: Cannot instantiate abstract class "LocalTimeZone" with abstract attribute "tzname"  [abstract]

psycopg (https://github.com/psycopg/psycopg)
+ psycopg/psycopg/_tz.py:30: error: Cannot instantiate abstract class "ZoneInfo" with abstract attributes "dst", "tzname" and "utcoffset"  [abstract]

urllib3 (https://github.com/urllib3/urllib3)
+ test/tz_stub.py:33: error: Cannot instantiate abstract class "ZoneInfo" with abstract attributes "dst", "tzname" and "utcoffset"  [abstract]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant