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

Revert use of Typeguard and therefore typing-extensions==3.10.0.0 #1298

Merged
merged 10 commits into from Jul 25, 2021
Merged

Conversation

Yobmod
Copy link
Contributor

@Yobmod Yobmod commented Jul 24, 2021

  • Downgrade typing-extensions back to 3.7.4.3 and remove Typeguard.
    Typing-extensions 3.10.0.0 keeps giving problems even after the requirements.txt updated. Its been out for 3 months, but installing from Testpypi says it doesnt exist (have to install it manually first), and lots of libraries are still fixed to 3.7.4.x (including tensorflow and VScode's restructured text linter?!)
    I've commented out all the function defs that use Typeguard, so they can be put back once the world updates. In the meantime, i replaced them all with 'cast' to keep mypy happy.

  • Added more complex typing to BaseIndexEntry, SectionConstraint, GitConfigParser, _OMD.

  • Rmved with_metaclass shim, not needed for python 3.

  • Already includes the changes from previous PR that fixed the py.typed issue in setup.py.

#1095

@Byron Byron merged commit c5e6ae2 into gitpython-developers:main Jul 25, 2021
@Byron
Copy link
Member

Byron commented Jul 25, 2021

Thank you!

I will create a new release on your mark.

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

Successfully merging this pull request may close these issues.

None yet

2 participants