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

Remove Python 2 and Python 3.5 supporting code #830

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

rotu
Copy link
Contributor

@rotu rotu commented Jun 26, 2023

Code cleanup in furtherance of #556

@rotu rotu changed the title Remove Python2 compatibility code Remove Python 2 and Python 3.5 supporting code Jun 26, 2023
@@ -104,7 +97,6 @@ def run(self):
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
Copy link
Contributor

@alehed alehed Jun 27, 2023

Choose a reason for hiding this comment

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

I would specify here that also 3.10 as well as 3.11 are supported. Otherwise pip will refuse to install it on these platforms.

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 absolutely should add 3.10 and 3.11 and I'll push that in a different PR.

I tried to install the published version of pymavlink on python 3.11.3 with pip 23.1.2 and it worked fine despite the classifiers, so I think these are informational only.

Thanks for the comment! In looking it up, I learned about the setup(python_requires=...) argument which does enforce versions via pip https://python3statement.org/practicalities/

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