-
-
Notifications
You must be signed in to change notification settings - Fork 763
Add minimum dependencies CI build #4794
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
Open
jrbourbeau
wants to merge
29
commits into
dask:main
Choose a base branch
from
jrbourbeau:mindeps-ci
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+137
−19
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
51ef208
Add minimum dependencies CI build
jrbourbeau ef68243
Fix conda solve errors
jrbourbeau 6eec67f
Update minimum psutil
jrbourbeau 88f3c53
Specify Python version in workflow file
jrbourbeau e871698
Bump click
jrbourbeau 6d486e0
Add testing deps
jrbourbeau a02538a
Make sure distributed is installed
jrbourbeau 06cbef5
Update distributed/comm/tests/test_ws.py
jrbourbeau c50f54c
Make sure DISABLE_IPV6 is set properly
jrbourbeau 761c419
Bump minimum Dask version in CI
jrbourbeau e6c08a3
More test_ws.py fixup
jrbourbeau 723f549
Bump minimum version of toolz to avoid related cytoolz seg fault
jrbourbeau 130d512
Update minimum deps in requirements.txt
jrbourbeau 3a728ab
Add fix for test_pickle_empty
jrbourbeau 4739e58
Merge branch 'main' of https://github.com/dask/distributed into minde…
jrbourbeau 5be6f20
Latest dask
jrbourbeau 3b4ff44
Add pip
jrbourbeau cd76c21
Fixup
jrbourbeau 27d561d
Merge branch 'main' of https://github.com/dask/distributed into minde…
jrbourbeau 1962ddd
Add jinja2
jrbourbeau f3980ba
Merge branch 'main' of https://github.com/dask/distributed into minde…
jrbourbeau a18f33d
msgpack < 1 compatibility
jrbourbeau 56184ab
Possible ssl workaround
jrbourbeau b3fa6cf
Add note about openssl version constraint
jrbourbeau fabd6da
Merge branch 'main' of https://github.com/dask/distributed into minde…
jrbourbeau 44fd418
Merge branch 'main' of https://github.com/dask/distributed into minde…
jrbourbeau bf04930
Review feedback
jrbourbeau 6c549d6
Add pytest-cov to mindeps environment file
jrbourbeau d9c3929
Update mindeps file
jrbourbeau 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 |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
| name: Additional | ||
|
|
||
| on: [push, pull_request] | ||
|
|
||
| jobs: | ||
| mindeps: | ||
| runs-on: "ubuntu-latest" | ||
| timeout-minutes: 180 | ||
|
|
||
| steps: | ||
| - name: Checkout source | ||
| uses: actions/checkout@v2 | ||
|
jrbourbeau marked this conversation as resolved.
|
||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Setup Conda Environment | ||
| uses: conda-incubator/setup-miniconda@v2 | ||
| with: | ||
| miniforge-variant: Mambaforge | ||
| miniforge-version: latest | ||
|
jrbourbeau marked this conversation as resolved.
|
||
| condarc-file: continuous_integration/condarc | ||
| use-mamba: true | ||
| python-version: 3.7 | ||
| environment-file: continuous_integration/environment-mindeps.yaml | ||
| activate-environment: dask-distributed | ||
|
|
||
| - name: Show conda options | ||
| shell: bash -l {0} | ||
| run: conda config --show | ||
|
|
||
|
jrbourbeau marked this conversation as resolved.
|
||
| - name: Install | ||
| shell: bash -l {0} | ||
| run: python -m pip install --no-deps -e . | ||
|
|
||
| - name: mamba list | ||
| shell: bash -l {0} | ||
| run: mamba list | ||
|
|
||
| - name: mamba env export | ||
| shell: bash -l {0} | ||
| run: | | ||
| echo -e "--\n--Conda Environment (re-create this with \`mamba env create --name <name> -f <output_file>\`)\n--" | ||
| mamba env export | grep -E -v '^prefix:.*$' | ||
|
|
||
|
jrbourbeau marked this conversation as resolved.
|
||
| - name: Setup SSH | ||
| shell: bash -l {0} | ||
| run: bash continuous_integration/scripts/setup_ssh.sh | ||
|
|
||
| - name: Reconfigure pytest-timeout | ||
| shell: bash -l {0} | ||
| run: sed -i.bak 's/timeout_method = thread/timeout_method = signal/' setup.cfg | ||
|
|
||
| - name: Test | ||
| shell: bash -l {0} | ||
| env: | ||
| PYTHONFAULTHANDLER: 1 | ||
| # FIXME ipv6-related failures on Ubuntu github actions CI | ||
| # https://github.com/dask/distributed/issues/4514 | ||
| DISABLE_IPV6: 1 | ||
| run: | | ||
| source continuous_integration/scripts/set_ulimit.sh | ||
| pytest distributed -m "not avoid_ci" --runslow \ | ||
| --junitxml reports/pytest.xml -o junit_suite_name=mindeps --cov=distributed --cov-report=xml | ||
|
|
||
| - name: Coverage | ||
| uses: codecov/codecov-action@v1 | ||
|
|
||
| - name: Upload test artifacts | ||
| # ensure this runs even if pytest fails | ||
| if: > | ||
| always() && | ||
| (steps.run_tests.outcome == 'success' || steps.run_tests.outcome == 'failure') | ||
| uses: actions/upload-artifact@v2 | ||
| with: | ||
| name: ${{ env.mindeps }} | ||
| path: reports | ||
|
|
||
| - name: Upload timeout reports | ||
| # ensure this runs even if pytest fails | ||
| if: > | ||
| always() && | ||
| (steps.run_tests.outcome == 'success' || steps.run_tests.outcome == 'failure') | ||
| uses: actions/upload-artifact@v2 | ||
| with: | ||
| name: ${{ env.mindeps }}-timeouts | ||
| path: test_timeout_dump | ||
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,31 @@ | ||
| name: dask-distributed | ||
| channels: | ||
| - conda-forge | ||
| - defaults | ||
| dependencies: | ||
| - python=3.7 | ||
| - click=6.7 | ||
| - cloudpickle=1.5.0 | ||
| - jinja2 | ||
| - msgpack-python=0.6.0 | ||
| - packaging=20.0 | ||
| - psutil=5.4.7 | ||
| - sortedcontainers=2.0.4 | ||
| - tblib=1.6.0 | ||
| - toolz=0.10.0 | ||
| - tornado=5 | ||
| - zict=0.1.3 | ||
| - pyyaml | ||
| - setuptools | ||
| # test dependencies | ||
| - pytest | ||
| - pytest-asyncio<0.14.0 | ||
| - pytest-cov | ||
| - pytest-faulthandler | ||
| - pytest-repeat | ||
| - pytest-rerunfailures | ||
| - pytest-timeout | ||
| - pip | ||
| - pip: | ||
| # Distributed depends on the latest version of Dask | ||
| - git+https://github.com/dask/dask |
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
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.
Uh oh!
There was an error while loading. Please reload this page.