Skip to content

Conversation

Yobmod
Copy link
Contributor

@Yobmod Yobmod commented Aug 2, 2021

  • Drop 3.6, per discussion.

  • Add some mypy configs to increase strictness

  • Type fixes for stricter config.

  • Replace some Any types with the runtime results from tests

  • Try out __future__.annotations and | union syntax

Ready for next release I think, except needs to be tested against 3.7.0 or 3.7.1 on linux
(I'm on Windows atm, so tests are dodgy).

* `Git`_ 1.7.0 or newer
It should also work with older versions, but it may be that some operations
involving remotes will not work as expected.
* `GitDB`_ - a pure python git database implementation
* `typing_extensions`_ >= 3.10.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to requirements.txt this should be "typing-extensions>=3.7.4.3;python_version<"3.10""

"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9"
"Programming Language :: Python :: 3.10"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can also add "Typing :: Typed"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, added it, and fixed intro

@Yobmod Yobmod merged commit fe54118 into gitpython-developers:main Aug 3, 2021
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.

2 participants