-
Notifications
You must be signed in to change notification settings - Fork 1
Remove support for Python 3.8 #101
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
Conversation
fb1d6fc
to
b44e542
Compare
@@ -90,21 +84,21 @@ def __init__( | |||
self, | |||
*, | |||
run_id: str, | |||
project: Optional[str] = None, | |||
api_token: Optional[str] = None, | |||
project: str | None = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't | syntax for type union appear in python 3.10? at least that's what https://docs.python.org/3/library/typing.html#typing.Union says.
It should have failed in some tests on 3.9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like it should be so, however both mypy, and python 3.9 interpreter don't have issues with importing the code, which is quite weird, but I don't have the space to dig into this deeper -- I'll just go back to Optional
Make sure Python 3.13 is configured in all the tools.
# Conflicts: # CHANGELOG.md
b44e542
to
4f14a11
Compare
This was done using `pyupgrade` # Conflicts: # src/neptune_scale/api/validation.py
4f14a11
to
ffd8133
Compare
#105 contains changes without introducing |
Changes:
pyupgrade --py39-plus
on the codebase to change typehints to PEP585-styletyping.Callable
tocollections.abc.Callable