Skip to content
/ xarray Public
forked from pydata/xarray

Commit 21a5838

Browse files
committed
Merge branch 'main' into duckarray-tests
* main: (313 commits) Update whats-new Release notes for v2022.06.0 (pydata#6815) Drop multi-indexes when assigning to a multi-indexed variable (pydata#6798) Support NumPy array API (experimental) (pydata#6804) Add cumsum to DatasetGroupBy (pydata#6525) Refactor groupby binary ops code. (pydata#6789) Update DataArray.rename + docu (pydata#6665) Switch to T_DataArray and T_Dataset in concat (pydata#6784) Fix typos found by codespell (pydata#6794) Update groupby attrs tests (pydata#6787) Update map_blocks to use chunksizes property. (pydata#6776) Fix `DataArrayRolling.__iter__` with `center=True` (pydata#6744) [test-upstream] Update flox repo URL (pydata#6780) Move _infer_meta_data and _parse_size to utils (pydata#6779) Make the `sel` error more descriptive when `method` is unset (pydata#6774) Move Rolling tests to their own testing module (pydata#6777) [pre-commit.ci] pre-commit autoupdate (pydata#6773) move da and ds fixtures to conftest.py (pydata#6730) Bump EnricoMi/publish-unit-test-result-action from 1 to 2 (pydata#6770) Type shape methods (pydata#6767) ...
2 parents f2cd8a1 + ed56df2 commit 21a5838

File tree

227 files changed

+26076
-12336
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

227 files changed

+26076
-12336
lines changed

.binder/environment.yml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ dependencies:
2323
- netcdf4
2424
- numba
2525
- numpy
26+
- packaging
2627
- pandas
2728
- pint
2829
- pip

.github/ISSUE_TEMPLATE/bug-report.md

-39
This file was deleted.

.github/ISSUE_TEMPLATE/bugreport.yml

+75
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: 🐛 Bug Report
2+
description: File a bug report to help us improve
3+
labels: [bug, "needs triage"]
4+
body:
5+
- type: textarea
6+
id: what-happened
7+
attributes:
8+
label: What happened?
9+
description: |
10+
Thanks for reporting a bug! Please describe what you were trying to get done.
11+
Tell us what happened, what went wrong.
12+
validations:
13+
required: true
14+
15+
- type: textarea
16+
id: what-did-you-expect-to-happen
17+
attributes:
18+
label: What did you expect to happen?
19+
description: |
20+
Describe what you expected to happen.
21+
validations:
22+
required: false
23+
24+
- type: textarea
25+
id: sample-code
26+
attributes:
27+
label: Minimal Complete Verifiable Example
28+
description: |
29+
Minimal, self-contained copy-pastable example that demonstrates the issue. This will be automatically formatted into code, so no need for markdown backticks.
30+
render: Python
31+
32+
- type: checkboxes
33+
id: mvce-checkboxes
34+
attributes:
35+
label: MVCE confirmation
36+
description: |
37+
Please confirm that the bug report is in an excellent state, so we can understand & fix it quickly & efficiently. For more details, check out:
38+
39+
- [Minimal Complete Verifiable Examples](https://stackoverflow.com/help/mcve)
40+
- [Craft Minimal Bug Reports](http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports)
41+
42+
options:
43+
- label: Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
44+
- label: Complete example — the example is self-contained, including all data and the text of any traceback.
45+
- label: Verifiable example — the example copy & pastes into an IPython prompt or [Binder notebook](https://mybinder.org/v2/gh/pydata/xarray/main?urlpath=lab/tree/doc/examples/blank_template.ipynb), returning the result.
46+
- label: New issue — a search of GitHub Issues suggests this is not a duplicate.
47+
48+
- type: textarea
49+
id: log-output
50+
attributes:
51+
label: Relevant log output
52+
description: Please copy and paste any relevant output. This will be automatically formatted into code, so no need for markdown backticks.
53+
render: Python
54+
55+
- type: textarea
56+
id: extra
57+
attributes:
58+
label: Anything else we need to know?
59+
description: |
60+
Please describe any other information you want to share.
61+
62+
- type: textarea
63+
id: show-versions
64+
attributes:
65+
label: Environment
66+
description: |
67+
Paste the output of `xr.show_versions()` between the `<details>` tags, leaving an empty line following the opening tag.
68+
value: |
69+
<details>
70+
71+
72+
73+
</details>
74+
validations:
75+
required: true

.github/ISSUE_TEMPLATE/config.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Usage question
3+
- name: Usage question
44
url: https://github.com/pydata/xarray/discussions
55
about: |
66
Ask questions and discuss with other community members here.
77
If you have a question like "How do I concatenate a list of datasets?" then
88
please include a self-contained reproducible example if possible.
9+
- name: 🗺️ Raster analysis usage question
10+
url: https://github.com/corteva/rioxarray/discussions
11+
about: |
12+
If you are using the rioxarray extension (engine='rasterio'), or have questions about
13+
raster analysis such as geospatial formats, coordinate reprojection, etc.,
14+
please use the rioxarray discussion forum.

.github/ISSUE_TEMPLATE/feature-request.md

-22
This file was deleted.

.github/ISSUE_TEMPLATE/misc.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: 📝 Issue
2+
description: General issue, that's not a bug report.
3+
labels: ["needs triage"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Please describe your issue here.
9+
- type: textarea
10+
id: issue-description
11+
attributes:
12+
label: What is your issue?
13+
description: |
14+
Thank you for filing an issue! Please give us further information on how we can help you.
15+
placeholder: Please describe your issue.
16+
validations:
17+
required: true

.github/ISSUE_TEMPLATE/newfeature.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: 💡 Feature Request
2+
description: Suggest an idea for xarray
3+
labels: [enhancement]
4+
body:
5+
- type: textarea
6+
id: description
7+
attributes:
8+
label: Is your feature request related to a problem?
9+
description: |
10+
Please do a quick search of existing issues to make sure that this has not been asked before.
11+
Please provide a clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
validations:
13+
required: true
14+
- type: textarea
15+
id: solution
16+
attributes:
17+
label: Describe the solution you'd like
18+
description: |
19+
A clear and concise description of what you want to happen.
20+
- type: textarea
21+
id: alternatives
22+
attributes:
23+
label: Describe alternatives you've considered
24+
description: |
25+
A clear and concise description of any alternative solutions or features you've considered.
26+
validations:
27+
required: false
28+
- type: textarea
29+
id: additional-context
30+
attributes:
31+
label: Additional context
32+
description: |
33+
Add any other context about the feature request here.
34+
validations:
35+
required: false

.github/PULL_REQUEST_TEMPLATE.md

-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22

33
- [ ] Closes #xxxx
44
- [ ] Tests added
5-
- [ ] Passes `pre-commit run --all-files`
65
- [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst`
76
- [ ] New functions/methods are listed in `api.rst`

.github/stale.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Configuration for probot-stale - https://github.com/probot/stale
22

33
# Number of days of inactivity before an Issue or Pull Request becomes stale
4-
daysUntilStale: 700 # start with a large number and reduce shortly
4+
daysUntilStale: 600 # start with a large number and reduce shortly
55

66
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
77
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
@@ -14,10 +14,10 @@ exemptLabels:
1414
- "[Status] Maybe Later"
1515

1616
# Set to true to ignore issues in a project (defaults to false)
17-
exemptProjects: false
17+
exemptProjects: true
1818

1919
# Set to true to ignore issues in a milestone (defaults to false)
20-
exemptMilestones: false
20+
exemptMilestones: true
2121

2222
# Set to true to ignore issues with an assignee (defaults to false)
2323
exemptAssignees: true
@@ -31,6 +31,9 @@ markComment: |
3131
3232
If this issue remains relevant, please comment here or remove the `stale` label; otherwise it will be marked as closed automatically
3333
34+
closeComment: |
35+
The stalebot didn't hear anything for a while, so it closed this. Please reopen if this is still an issue.
36+
3437
# Comment to post when removing the stale label.
3538
# unmarkComment: >
3639
# Your comment here.
@@ -40,8 +43,7 @@ markComment: |
4043
# Your comment here.
4144

4245
# Limit the number of actions per hour, from 1-30. Default is 30
43-
limitPerRun: 1 # start with a small number
44-
46+
limitPerRun: 2 # start with a small number
4547

4648
# Limit to only `issues` or `pulls`
4749
# only: issues

.github/workflows/benchmarks.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
# We need the full repo to avoid this issue
1818
# https://github.com/actions/checkout/issues/23
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v3
2020
with:
2121
fetch-depth: 0
2222

@@ -67,7 +67,7 @@ jobs:
6767
cp benchmarks/README_CI.md benchmarks.log .asv/results/
6868
working-directory: ${{ env.ASV_DIR }}
6969

70-
- uses: actions/upload-artifact@v2
70+
- uses: actions/upload-artifact@v3
7171
if: always()
7272
with:
7373
name: asv-benchmark-results-${{ runner.os }}

.github/workflows/cancel-duplicate-runs.yaml

-15
This file was deleted.

0 commit comments

Comments
 (0)