-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Add Python 3.10 tests #102
Closed
Closed
Changes from 2 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f6389d8
Update test.yml
Kludex 86548a8
Update test.yml
Kludex 7ae816a
Update .github/workflows/test.yml
Kludex 9a74e41
Update test.yml
Kludex 3fcba4a
Update test.yml
Kludex 09871bc
Fix pipeline
Kludex 8c3db9f
Add 3.10 to tox envlist
Kludex 792fce1
Add support for Windows
Kludex 355de6b
Remove version specification
Kludex 57724b4
Add tox-gh-actions
Kludex 996d1f9
Upgrade pytest
Kludex e328011
Fix pytest version
Kludex a9e03bb
undo import
Kludex File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains 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
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.
Yesterday I struggled quite some time to get the name right for Github Action. You should use something like:
3.10.0-alpha - 3.10.0
. But then you should make sure tox understands you ok. You can take a look to this commit for some "inspiration": psycopg/psycopg@ce86d80There 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.
I see.
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.
Hmm, but the alpha release is old... 🤔
https://www.python.org/dev/peps/pep-0619/#schedule
I guess you'd want to add the latest 3.10 on psycopg.
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.
That's a range: it should select the most up-to-date version within the range. It picked up the rc2.
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.
Ah! Cool!
I'm trying this before: https://github.com/adamchainz/patchy/blob/main/.github/workflows/main.yml
If it doesn't work, I'll pursuit the solution what you did.
EDIT: It didn't work.
EDIT2: it did work with some conditions.