Skip to content
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

Adds Python 3.7 support per #13 #14

Closed
wants to merge 1 commit into from
Closed

Adds Python 3.7 support per #13 #14

wants to merge 1 commit into from

Conversation

jerluc
Copy link

@jerluc jerluc commented Jan 13, 2022

Overview

This small changeset should provide backward compatibility with Python 3.7 through the following main changes:

  • Revised type union notation (e.g. arg: A | B) to use typing.Union or typing.Optional; this also necessitated the removal of from __future__ import annotations
  • Added the typing_extensions dependency for Python 3.7 environments in order to provide support for TypedDict

Once merged, this resolves #13

Testing needed

  • All current unit tests should pass
    • Python 3.7
    • Python 3.8+ (still working on it)

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.

Python 3.7 support
1 participant