Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add support for Python 3.10, drop EOL 3.5 #46

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

Merged
Byron merged 5 commits into gitpython-developers:master from hugovk:master
Oct 15, 2021

Conversation

Copy link
Contributor

@hugovk hugovk commented Oct 14, 2021

Python 3.10 was released on 2021年10月04日:

We can also take the opportunity to drop EOL Python 3.5, and upgrade Python syntax for 3.6+.

nose is abandoned and unmaintained, last release was 6.5 years ago (https://pypi.org/project/nose/) and it no longer works with Python 3.10 (nose-devs/nose#1099). So let's switch to pytest.

We also don't need to create universal wheels, they're for supporting Python 2 and 3.

Copy link
Member

@Byron Byron left a comment

Choose a reason for hiding this comment

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

Thanks a million!

Looking at the minimal required version of GitPython, it should be safe to have a patch release to be OK with the current version of it. But what about older ones? Maybe a major version bump would be in order to avoid breakage?

@hugovk What's your opinion on this?

Copy link
Contributor Author

hugovk commented Oct 15, 2021

Most projects bump the major version when dropping a Python version (and I generally do too), and it's quite a good way to flag it.

But some don't. As long as python_requires is set, pip should still install only a version of the library which matches their running Python, so there should be no sudden breakages.

Copy link
Member

Byron commented Oct 15, 2021
edited
Loading

It looks like the version constraints are set to allow smmap to turn into 5.0: smmap<5,>=3.0.1.

Let me merge this PR and release version 5 accordingly: https://pypi.org/project/smmap/5.0.0/

hugovk reacted with rocket emoji

@Byron Byron merged commit f2f2eb6 into gitpython-developers:master Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@Byron Byron Byron left review comments

Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /