-
Notifications
You must be signed in to change notification settings - Fork 633
Remove support for old Python versions #594
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
A nice side effect is the CI being a lot faster. ^^ |
I have a question (@christiansandberg) regarding socketcan: try:
socket.CAN_BCM
except AttributeError:
HAS_NATIVE_SUPPORT = False
else:
HAS_NATIVE_SUPPORT = True Can this be removed, since it will evaluate to |
Codecov Report
@@ Coverage Diff @@
## develop #594 +/- ##
==========================================
- Coverage 64.18% 63.98% -0.2%
==========================================
Files 63 63
Lines 5685 5573 -112
==========================================
- Hits 3649 3566 -83
+ Misses 2036 2007 -29 |
You can assume that native support is always available. |
I'll open two more separate PRs: One for removing deprecated members and one for changing the calls to super() to the Python 3 syntax. |
I tried to split the conversion in multiple parts but this one is the first and biggest one. The others are simpler. This PR is now done (apart from the reviews coming in 😅). @christiansandberg The socketcan change was applied as well. |
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.
You can also remove the universal wheel part in setup.cfg to make it clearer that the wheel distribution is Python 3 only.
3693e5e
to
174ff81
Compare
This removes support for Python < 3.6, both CPython and PyPy in the codebase and CI pipelines.