-
Notifications
You must be signed in to change notification settings - Fork 2
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
bug: fix deprecation warnings by bumping python minimum version #10
Conversation
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.
Thanks, LGTM. Left an unrelated comment on PyPy support.
@@ -18,9 +18,6 @@ classifiers = [ | |||
"License :: OSI Approved :: MIT License", | |||
"Programming Language :: Python", | |||
"Programming Language :: Python :: 3 :: Only", | |||
"Programming Language :: Python :: 3.6", | |||
"Programming Language :: Python :: 3.7", | |||
"Programming Language :: Python :: 3.8", | |||
"Programming Language :: Python :: 3.9", | |||
"Programming Language :: Python :: 3.10", | |||
"Programming Language :: Python :: 3.11", |
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.
"Programming Language :: Python :: Implementation :: PyPy"
Have we verified if this module works with PyPy? If we haven't , running tests like below should be a good way to check it out: https://github.com/slackapi/python-slack-sdk/blob/v3.26.2/.github/workflows/ci-build.yml#L25
If it does not work for some reason, I believe it's fine to remove PyPy from this metadata as the need for it should be minor.
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.
Good catch, all tests pass with pypy3.10 💯 add this to the ci build
Summary
The goal of this PR is to bump the minimum version of python to 3.9 and subsequently removed all deprecated packages that may have been used to satisfy older versions of python
Testing
scripts/build_pypi_package.sh
Special notes
Are there any other changes from 3.6 to 3.9 that are worth including here?
Requirements
./scripts/install_and_run_tests.sh
after making the changes.