Skip to content

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

Merged
bors[bot] merged 3 commits intomasterfrom
use-brackets-instead-of-get
May 31, 2022
Merged

Drop Py3.6; add Py3.10; fix CI failures.#254
bors[bot] merged 3 commits intomasterfrom
use-brackets-instead-of-get

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