Repository navigation
Add support for Python 3.13, drop continued support for Python 3.8, 3.9 and 3.10 #73
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
fe745bf
Add support for python 3.13, remove support for 3.8,3.9 & 3.10
talha-API 874f21c
Removed deprecated tests_require, update workflow for testing
talha-API 2a798ba
Revert testing updates
talha-API e912616
Keep 3.8,3.9.3.10 support, update content
talha-API 64f32c6
PR comments
talha-API 0e86fce
Update date
talha-API File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,12 @@ | ||
| import sys | ||
| import warnings | ||
| # Deprecation warning for Python 3.8/3.9 | ||
| if sys.version_info < (3, 10): | ||
| warnings.warn( | ||
| "Support for Python 3.8 and 3.9 is deprecated and will be removed in v2.0.0 (coming soon). " | ||
| "Please upgrade to Python 3.10 or higher. " | ||
| "See: https://github.com/Mastercard/oauth1-signer-python#compatibility", | ||
| DeprecationWarning, | ||
| stacklevel=2 | ||
| ) | ||
| import sys | ||
| import warnings | ||
|
|
||
| # Deprecation warning for Python 3.8/3.9/3.10 | ||
| if sys.version_info < (3, 11): | ||
| warnings.warn( | ||
| "Python 3.8, 3.9 and 3.10 have reached EOL and we will not be providing ongoing support for these versions. " | ||
| "Please upgrade to Python 3.11 or higher. " | ||
| "See: https://github.com/Mastercard/oauth1-signer-python#compatibility", | ||
| DeprecationWarning, | ||
| stacklevel=2 | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| # -*- coding: utf-8 -*- | ||
| __version__ = '1.9.2' | ||
| __version__ = '1.10.0' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| requests>=2.31.0,<2.32.5 | ||
| requests>=2.31.0,<2.32.5; python_version<"3.10" | ||
| requests>=2.33.0; python_version>="3.10" | ||
| Deprecated==1.2.5 | ||
| cryptography>=42.0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Can you check if these should be removed as well ?
I think these show up as info on the PyPi page, and we should probably drop these.
I'm not 100% sure here, so pls check before we remove it.
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.
We should keep these, all the major Python libraries have them.
Uh oh!
There was an error while loading. Please reload this page.
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.
sorry I was referring to removing versions
3.6-3.10, not removing the entire list. We've dropped support for them, so I'm not sure if we should keep them here.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.
The library is still compatible with 3.8, 3.9 and 3.10, that is why I kept them in the supported versions/classifiers.
We have just mentioned that we wont providing additional ongoing support/fixes for them, but library will still work with those versions.
I have removed 3.6 and 3.7 as they were not compatible and remove already.