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

Drop Py3.6; add Py3.10; fix CI failures. #254

Merged
merged 3 commits into from
May 31, 2022
Merged

Conversation

duckinator
Copy link
Owner

@duckinator duckinator commented May 31, 2022

  • Avoid undocumented importlib.metadata functionality.
  • Drop Python 3.6 support.
  • Add Python 3.10 to officially-supported versions.
  • Bump FreeBSD version in CI.
  • Remove dataclasses dependency, since it was only needed for Python 3.6.

The `importlib.metadata` documentation never mentions `importlib.metadata.metadata(name).get(key)`, and mypy says it doesn't exist, so it's unclear if it's part of the intentional API or an implementation detail.

This should be equivalent, so I'm just going with it for now.
Also bump the patch versions for Windows, since Chocolatey seems to require the full version.
Also remove now-unneeded `dataclasses` dependency, since 3.7+ ships with it.
@duckinator duckinator changed the title [__init__.py] Use [] instead of get(). Drop Py3.6; add Py3.10; fix CI failures. May 31, 2022
@duckinator
Copy link
Owner Author

bors r+

@bors
Copy link
Contributor

bors bot commented May 31, 2022

Build succeeded:

@bors bors bot merged commit c5c14f1 into master May 31, 2022
@bors bors bot deleted the use-brackets-instead-of-get branch May 31, 2022 19:57
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