-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[WIP] Remove Travis and Azure files #6470
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.
Yep realized that now that we are only building with GH actions. Last commit tries to improve this, let's see. |
Unfortunately had to re-add the no cover pragmas for < 3.5.2, as that Python version is not available in GitHub actions:
|
fa72839
to
d4abb93
Compare
how reasonable is it to make 3.5.7 the minimal supported version in the next feature release? |
No idea how widespread is Python |
Why not leave it "uncovered" then? I'd be ok with dropping < 3.5.2, but would have like to had known it before #6435 then.. ;) (IIRC it was said there to keep it). |
It is not a done deal, IIRC someone had asked to keep supporting < 3.5.2... I just seem to recall @njsmith had mentioned |
9a3b417
to
7ace359
Compare
I'd say it's not very common. I dropped support for it in qutebrowser and nobody seemed to care. I've also seen various projects (e.g. jaraco.functools) drop 3.5 support altogether already. Ubuntu 16.04 LTS also ships 3.5.2 (its python-trio/trio#880 also has some notes. Then again, a test runner is a bit in a special position there... |
@blueyed can you please give some insights on the missing coverage? Most seems to be debug related, but I'm not seeing any configuration in Travis to suggest that those lines should be covered in the first place. Thanks! |
GitHub Actions:
Which aligns quite well with "mid-2020" for pytest 4.6 supporting 2.7: |
1e9c6c9
to
aed9a9c
Compare
Still can't figure out why removing |
Plan to look into it later, but might take some days. |
OK, thanks. |
GitHub actions already should deploy. This is a stop gap while we figure out why coverage dropped when removing Travis builds in pytest-dev#6470
This helps with regard to slowness until pytest-dev#6470 is resolved.
This helps with regard to slowness until pytest-dev#6470 is resolved.
GitHub actions already should deploy. This is a stop gap while we figure out why coverage dropped when removing Travis builds in pytest-dev#6470 (cherry picked from commit d1d7e5d)
This helps with regard to slowness until pytest-dev#6470 is resolved. (cherry picked from commit a7292a0)
GitHub actions already should deploy. This is a stop gap while we figure out why coverage dropped when removing Travis builds in pytest-dev#6470 (cherry picked from commit d1d7e5d)
This helps with regard to slowness until pytest-dev#6470 is resolved. (cherry picked from commit a7292a0)
Other scripts use `-` instead of `_` as word separators given that they are supposed to be executed, never imported.
3fcd5f6
to
60b6892
Compare
@@ -167,7 +166,7 @@ filterwarnings = | |||
default:Using or importing the ABCs:DeprecationWarning:unittest2.* | |||
default:the imp module is deprecated in favour of importlib:DeprecationWarning:nose.* | |||
ignore:Module already imported so cannot be rewritten:pytest.PytestWarning | |||
# produced by python3.6/site.py itself (3.6.7 on Travis, could not trigger it with 3.6.8). | |||
# produced by python3.6/site.py itself |
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.
This info could/should stay.
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.
Agreed. 👍
Superseded by #6463. |
Fix #6369