-
-
Notifications
You must be signed in to change notification settings - Fork 3
Fix up CI #16
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
Fix up CI #16
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
ae9db85
more -Ur for pip
altendky fbebf1a
just more -U
altendky 500cc33
debug pip freeze
altendky 89c3e64
switch to test-requirements.in/.txt pair
altendky f743864
python_requires=">=3.6" because recent trio and pytest-trio do
altendky dc49feb
switch to pypy3.6
altendky 3c75cda
yapf
altendky c2f6896
switch to rtd-requirements.in/.txt pair
altendky a756aa1
more python/pypy updates
altendky 162c0bf
be more like trio's Travis config
altendky c2e9b68
undo exploratory changes
altendky 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,31 +1,28 @@ | ||
| language: python | ||
| sudo: false | ||
| dist: trusty | ||
| dist: focal | ||
|
|
||
| matrix: | ||
| include: | ||
| # These are quick and often catch errors, so list them first | ||
| - python: 3.6 | ||
| - python: 3.8 | ||
| env: CHECK_DOCS=1 | ||
| - python: 3.6 | ||
| - python: 3.8 | ||
| env: CHECK_FORMATTING=1 | ||
| # The pypy tests are slow, so list them early | ||
| - python: pypy3.5 | ||
| # The pypy tests are slow, so we list them first | ||
| - python: pypy3.6-7.2.0 | ||
| dist: bionic | ||
| - language: generic | ||
| env: PYPY_NIGHTLY_BRANCH=py3.6 | ||
| # Uncomment if you want to test on pypy nightly: | ||
| # - language: generic | ||
| # env: USE_PYPY_NIGHTLY=1 | ||
| - python: 3.5.0 | ||
| - python: 3.5.2 | ||
| - python: 3.6 | ||
| - python: 3.6-dev | ||
| # As of 2018-07-05, Travis's 3.7 and 3.8 builds only work if you | ||
| # use dist: xenial AND sudo: required | ||
| # See: https://github.com/python-trio/trio/pull/556#issuecomment-402879391 | ||
| - python: 3.7 | ||
| dist: xenial | ||
| sudo: required | ||
| - python: 3.7-dev | ||
| - python: 3.8-dev | ||
| dist: xenial | ||
| sudo: required | ||
| - python: 3.9-dev | ||
|
|
||
| script: | ||
| - ci/travis.sh | ||
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 |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| # RTD is currently installing 1.5.3, which has a bug in :lineno-match: | ||
| sphinx >= 1.6.1 | ||
| sphinx_rtd_theme | ||
| sphinxcontrib-trio |
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,4 +1,35 @@ | ||
| # RTD is currently installing 1.5.3, which has a bug in :lineno-match: | ||
| sphinx >= 1.6.1 | ||
| sphinx_rtd_theme | ||
| sphinxcontrib-trio | ||
| # | ||
| # This file is autogenerated by pip-compile | ||
| # To update, run: | ||
| # | ||
| # pip-compile --output-file=rtd-requirements.txt rtd-requirements.in | ||
| # | ||
| alabaster==0.7.12 # via sphinx | ||
| babel==2.8.0 # via sphinx | ||
| certifi==2020.6.20 # via requests | ||
| chardet==3.0.4 # via requests | ||
| docutils==0.16 # via sphinx | ||
| idna==2.10 # via requests | ||
| imagesize==1.2.0 # via sphinx | ||
| jinja2==2.11.2 # via sphinx | ||
| markupsafe==1.1.1 # via jinja2 | ||
| packaging==20.4 # via sphinx | ||
| pygments==2.6.1 # via sphinx | ||
| pyparsing==2.4.7 # via packaging | ||
| pytz==2020.1 # via babel | ||
| requests==2.24.0 # via sphinx | ||
| six==1.15.0 # via packaging | ||
| snowballstemmer==2.0.0 # via sphinx | ||
| sphinx-rtd-theme==0.5.0 # via -r rtd-requirements.in | ||
| sphinx==3.2.1 # via -r rtd-requirements.in, sphinx-rtd-theme, sphinxcontrib-trio | ||
| sphinxcontrib-applehelp==1.0.2 # via sphinx | ||
| sphinxcontrib-devhelp==1.0.2 # via sphinx | ||
| sphinxcontrib-htmlhelp==1.0.3 # via sphinx | ||
| sphinxcontrib-jsmath==1.0.1 # via sphinx | ||
| sphinxcontrib-qthelp==1.0.3 # via sphinx | ||
| sphinxcontrib-serializinghtml==1.1.4 # via sphinx | ||
| sphinxcontrib-trio==1.1.2 # via -r rtd-requirements.in | ||
| urllib3==1.25.10 # via requests | ||
|
|
||
| # The following packages are considered to be unsafe in a requirements file: | ||
| # setuptools |
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 |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| pytest | ||
| pytest-cov |
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,18 @@ | ||
| pytest | ||
| pytest-cov | ||
| # | ||
| # This file is autogenerated by pip-compile | ||
| # To update, run: | ||
| # | ||
| # pip-compile --output-file=test-requirements.txt test-requirements.in | ||
| # | ||
| attrs==20.1.0 # via pytest | ||
| coverage==5.2.1 # via pytest-cov | ||
| iniconfig==1.0.1 # via pytest | ||
| more-itertools==8.5.0 # via pytest | ||
| packaging==20.4 # via pytest | ||
| pluggy==0.13.1 # via pytest | ||
| py==1.9.0 # via pytest | ||
| pyparsing==2.4.7 # via packaging | ||
| pytest-cov==2.10.1 # via -r test-requirements.in | ||
| pytest==6.0.1 # via -r test-requirements.in, pytest-cov | ||
| six==1.15.0 # via packaging | ||
| toml==0.10.1 # via pytest |
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
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.
For what it's worth, the reason Trio's config is like that is because most tests happen in GitHub Actions. But since Travis has good support for dev versions and PyPy, Trio continues to test those in Travis.
In trimeter's case, it would be better to keep both 3.x and 3.x-dev for each supported version
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 for the explanation. I might try reworking QTrio's GHA configuration first. There's a fair bit of repetition in the way it is now that isn't obviously useful in my head vs. the one big matrix I made over in pytest-twisted for example. But maybe as I implement that in QTrio I'll find an issue, of course.