Skip to content

DOC: keep Hypothesis strategy examples readable - #11509

Open
nightcityblade wants to merge 4 commits into
pydata:mainfrom
nightcityblade:fix/issue-11465
Open

DOC: keep Hypothesis strategy examples readable#11509
nightcityblade wants to merge 4 commits into
pydata:mainfrom
nightcityblade:fix/issue-11465

Conversation

@nightcityblade

Copy link
Copy Markdown

Description

Closes #11465.

The introductory Hypothesis examples now generate variables without arbitrary attributes. This keeps the examples varied while preventing recursively generated metadata from overwhelming the rendered user guide. The later section that explains attribute strategies remains unchanged.

Checklist

  • Closes Testing secting is user guide renders incorrectly #11465
  • Tests added — N/A; this is a documentation-only rendering change.
  • User visible changes (including notable bug fixes) are documented in whats-new.rst — N/A; no runtime behavior changes.
  • New functions/methods are listed in api.rst — N/A; no API changes.

AI Disclosure

  • This PR contains AI-generated content.
    • I have tested any AI-generated content in my PR.
    • I take responsibility for any AI-generated content in my PR.
      Tools: Codex. I reviewed the complete diff and validated generated examples locally.

@nightcityblade

Copy link
Copy Markdown
Author

CI follow-up: the only failing job completed 21,383 tests and then hit RuntimeError: error during blosc decompression: 0 in TestZarrRegionAuto::test_zarr_region_chunk_partial_offset[2]. This is unrelated to this docs-only change (doc/user-guide/testing.md); all other CI jobs passed. I attempted to rerun the failed job, but contributors do not have permission to rerun upstream workflows, so a maintainer rerun is needed.

@dcherian
dcherian requested a review from eni-awowale August 13, 2026 14:41
@eni-awowale

Copy link
Copy Markdown
Collaborator

Rerunning the job is still failing. I am going to merge the main branch into your branch. There are some tests failing in main right now though but we know it's unrelated.

Otherwise everything else looks good.

Screenshot 2026-08-18 at 9 44 22 AM

@eni-awowale

Copy link
Copy Markdown
Collaborator

Not sure why the docs build is failing. @dcherian have any ideas?

@nightcityblade

Copy link
Copy Markdown
Author

I checked the raw Read the Docs log. The changed doc/user-guide/testing.md notebook executed successfully (9.01s). The warnings-as-errors failure comes from unrelated files: the io.md notebook hits AttributeError: set_auto_chartostring inside the ncdata/Iris integration, and the StringAccessor docstring emits two docutils errors plus a warning. Since this PR only changes testing.md, there does not appear to be a PR-side docs fix to make here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Testing secting is user guide renders incorrectly

2 participants