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

Add support for Python 3.10 and 3.11, drop EOL 3.6 #67

Closed
wants to merge 7 commits into from

Conversation

hugovk
Copy link
Contributor

@hugovk hugovk commented Oct 5, 2022

Test 3.10 and 3.11, and add Trove classifiers.

Drop 3.6, EOL since 2021-09-03.

Also bump various versions:

  • GitHub Actions
  • docs dependencies
  • dev dependencies

@@ -72,7 +72,7 @@ def get_tags(
parse_result = urlparse(config["html_baseurl"])

if config["html_baseurl"] is None:
raise EnvironmentError("ReadTheDocs did not provide a valid canonical URL!")
Copy link
Member

Choose a reason for hiding this comment

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

Why was this changed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I ran https://github.com/asottile/pyupgrade/ to upgrade to modern syntax:

According to the Python docs, EnvironmentError is kept for compatibility with previous versions; starting from Python 3.3, it's an alias of OSError. So we can use OSError instead.

@TheTripleV
Copy link
Member

Can this be closed in favor of #70 then?

@hugovk
Copy link
Contributor Author

hugovk commented Oct 21, 2022

Yep, closing in favour of #70.

@hugovk hugovk closed this Oct 21, 2022
@hugovk hugovk deleted the update-ci branch October 21, 2022 09:07
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.

None yet

2 participants