Skip to content

Fix doctest warnings, enable errors in CI - #7166

Merged
max-sixty merged 6 commits into
pydata:mainfrom
max-sixty:warning-doctest
Oct 16, 2022
Merged

Fix doctest warnings, enable errors in CI#7166
max-sixty merged 6 commits into
pydata:mainfrom
max-sixty:warning-doctest

Conversation

@max-sixty

@max-sixtymax-sixty commented Oct 16, 2022

Copy link
Copy Markdown
Collaborator

I'm not confident about the CI change; either we can merge with the "this is a trial message" and see how it goes, or split that into a separate PR and discuss.

@github-actionsgithub-actionsBot added the Automation Github bots, testing workflows, release automation label Oct 16, 2022
@max-sixty

Copy link
Copy Markdown
CollaboratorAuthor

Currently this raises a deprecation warning:

>>> da = xr.open_rasterio(

Possibly we add something to the doctest to ignore warnings? It'll be out of place in the docs though...

@Illviljan

Illviljan commented Oct 16, 2022

Copy link
Copy Markdown
Contributor

open_rasterio has been deprecated for like a year, #5808. Is it time to remove it?

You can also just remove the example from the docstring, this is on minimal support anyway.

@max-sixty

max-sixty commented Oct 16, 2022

Copy link
Copy Markdown
CollaboratorAuthor

You can also just remove the example from the docstring, this is on minimal support anyway.

Great, done

@headtr1ckheadtr1ck left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@max-sixty

Copy link
Copy Markdown
CollaboratorAuthor

OK, let's give this a whirl!

@max-sixty
max-sixty enabled auto-merge (squash) October 16, 2022 21:05
@max-sixty
max-sixty merged commit 24d038f into pydata:mainOct 16, 2022
dcherian added a commit to shoyer/xarray that referenced this pull request Oct 17, 2022
* main:
Add import ASV benchmark (pydata#7176)
Rework docs about scatter plots (pydata#7169)
Fix some scatter plot issues (pydata#7167)
Fix doctest warnings, enable errors in CI (pydata#7166)
fix broken test (pydata#7168)
Add typing to plot methods (pydata#7052)
Fix warning in doctest (pydata#7165)
dev whats-new (pydata#7161)
v2022.10.0 whats-new (pydata#7160)
dcherian added a commit to JessicaS11/xarray that referenced this pull request Oct 17, 2022
* main:
Add import ASV benchmark (pydata#7176)
Rework docs about scatter plots (pydata#7169)
Fix some scatter plot issues (pydata#7167)
Fix doctest warnings, enable errors in CI (pydata#7166)
fix broken test (pydata#7168)
Add typing to plot methods (pydata#7052)
Fix warning in doctest (pydata#7165)
@max-sixty
max-sixty deleted the warning-doctest branch September 20, 2023 09:31
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AutomationGithub bots, testing workflows, release automationiotopic-backends

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@max-sixty@Illviljan@headtr1ck