forked from pydata/xarray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into groupby-aggs-using-numpy-groupies
* main: (68 commits) Bump actions/setup-python from 2 to 3 (pydata#6338) Bump actions/checkout from 2 to 3 (pydata#6337) In documentation on adding a new backend, add missing import and tweak headings (pydata#6330) Lengthen underline, correct spelling, and reword (pydata#6326) quantile: use skipna=None (pydata#6303) New whatsnew section v2022.03.0 release notes (pydata#6319) fix typos (using codespell) (pydata#6316) Add General issue template (pydata#6314) Disable CI runs on forks (pydata#6315) Enable running sphinx-build on Windows (pydata#6237) Fix class attributes versus init parameters (pydata#6312) On Windows, enable successful test of opening a dataset containing a cftime index (pydata#6305) from_dict: doctest (pydata#6302) Drop duplicates over multiple dims, and add Dataset.drop_duplicates (pydata#6307) Amended docs on how to add a new backend (pydata#6292) Adding the new wrapper gsw-xarray (pydata#6294) Amended docstring to reflect the actual behaviour of Dataset.map (pydata#6232) Align language def in bugreport.yml with schema (pydata#6290) Move Zarr up in io.rst (pydata#6289) ...
- Loading branch information
Showing
129 changed files
with
3,746 additions
and
5,584 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ dependencies: | |
- netcdf4 | ||
- numba | ||
- numpy | ||
- packaging | ||
- pandas | ||
- pint | ||
- pip | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Issue | ||
description: General Issue or discussion topic. For usage questions, please follow the "Usage question" link | ||
labels: ["needs triage"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Please describe your issue here. | ||
- type: textarea | ||
id: issue-description | ||
attributes: | ||
label: What is your issue? | ||
description: | | ||
Thank you for filing an issue! Please give us further information on how we can help you. | ||
placeholder: Please describe your issue. | ||
validations: | ||
required: true |
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
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,10 @@ on: | |
- "*" | ||
workflow_dispatch: # allows you to trigger manually | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
detect-ci-trigger: | ||
name: detect ci trigger | ||
|
@@ -18,7 +22,7 @@ jobs: | |
outputs: | ||
triggered: ${{ steps.detect-trigger.outputs.trigger-found }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 2 | ||
- uses: xarray-contrib/[email protected] | ||
|
@@ -49,7 +53,7 @@ jobs: | |
"py39-flaky", | ||
] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 # Fetch all history for all branches and tags. | ||
|
||
|
@@ -115,13 +119,13 @@ jobs: | |
doctest: | ||
name: Doctests | ||
runs-on: "ubuntu-latest" | ||
if: github.repository == 'pydata/xarray' | ||
if: needs.detect-ci-trigger.outputs.triggered == 'false' | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 # Fetch all history for all branches and tags. | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
|
@@ -158,7 +162,7 @@ jobs: | |
shell: bash -l {0} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 # Fetch all history for all branches and tags. | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,10 @@ on: | |
- "*" | ||
workflow_dispatch: # allows you to trigger manually | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
detect-ci-trigger: | ||
name: detect ci trigger | ||
|
@@ -18,7 +22,7 @@ jobs: | |
outputs: | ||
triggered: ${{ steps.detect-trigger.outputs.trigger-found }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 2 | ||
- uses: xarray-contrib/[email protected] | ||
|
@@ -38,9 +42,9 @@ jobs: | |
matrix: | ||
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | ||
# Bookend python versions | ||
python-version: ["3.8", "3.9"] | ||
python-version: ["3.8", "3.9", "3.10"] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 # Fetch all history for all branches and tags. | ||
- name: Set environment variables | ||
|
@@ -111,6 +115,7 @@ jobs: | |
event_file: | ||
name: "Event File" | ||
runs-on: ubuntu-latest | ||
if: github.repository == 'pydata/xarray' | ||
steps: | ||
- name: Upload | ||
uses: actions/upload-artifact@v2 | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,10 +12,10 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: github.repository == 'pydata/xarray' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v2 | ||
- uses: actions/setup-python@v3 | ||
name: Install Python | ||
with: | ||
python-version: 3.8 | ||
|
@@ -50,7 +50,7 @@ jobs: | |
needs: build-artifacts | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-python@v2 | ||
- uses: actions/setup-python@v3 | ||
name: Install Python | ||
with: | ||
python-version: 3.8 | ||
|
@@ -62,6 +62,14 @@ jobs: | |
run: | | ||
ls -ltrh | ||
ls -ltrh dist | ||
- name: Verify the built dist/wheel is valid | ||
if: github.event_name == 'push' | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install dist/xarray*.whl | ||
python -m xarray.util.print_versions | ||
- name: Publish package to TestPyPI | ||
if: github.event_name == 'push' | ||
uses: pypa/[email protected] | ||
|
@@ -71,13 +79,6 @@ jobs: | |
repository_url: https://test.pypi.org/legacy/ | ||
verbose: true | ||
|
||
- name: Check uploaded package | ||
if: github.event_name == 'push' | ||
run: | | ||
sleep 3 | ||
python -m pip install --upgrade pip | ||
python -m pip install --extra-index-url https://test.pypi.org/simple --upgrade xarray | ||
python -m xarray.util.print_versions | ||
|
||
upload-to-pypi: | ||
needs: test-built-dist | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,10 @@ on: | |
- cron: "0 0 * * *" # Daily “At 00:00” UTC | ||
workflow_dispatch: # allows you to trigger the workflow run manually | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
detect-ci-trigger: | ||
name: detect upstream-dev ci trigger | ||
|
@@ -20,7 +24,7 @@ jobs: | |
outputs: | ||
triggered: ${{ steps.detect-trigger.outputs.trigger-found }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 2 | ||
- uses: xarray-contrib/[email protected] | ||
|
@@ -44,11 +48,11 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.9"] | ||
python-version: ["3.10"] | ||
outputs: | ||
artifacts_availability: ${{ steps.status.outputs.ARTIFACTS_AVAILABLE }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 # Fetch all history for all branches and tags. | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
|
@@ -106,8 +110,8 @@ jobs: | |
run: | ||
shell: bash | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.x" | ||
- uses: actions/download-artifact@v2 | ||
|
@@ -122,7 +126,7 @@ jobs: | |
shopt -s globstar | ||
python .github/workflows/parse_logs.py logs/**/*-log | ||
- name: Report failures | ||
uses: actions/github-script@v5 | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
script: | | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Xarray's contributor guidelines [can be found in our online documentation](http://xarray.pydata.org/en/stable/contributing.html) | ||
Xarray's contributor guidelines [can be found in our online documentation](http://docs.xarray.dev/en/stable/contributing.html) |
Oops, something went wrong.