Skip to content
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

allow skipping RTD builds #7470

Merged
merged 3 commits into from
Jan 24, 2023
Merged

allow skipping RTD builds #7470

merged 3 commits into from
Jan 24, 2023

Conversation

keewis
Copy link
Collaborator

@keewis keewis commented Jan 23, 2023

RTD somewhat recently introduced the build.jobs setting, which allows skipping builds (technically it's more of a "automated cancel" with a special error code instead of a skip) on user-defined conditions. We can use that to manually "skip" builds we don't need a documentation build for.

Edit: the only downside seems to be that the build is not actually marked as "skipped"
Edit2: apparently that's a bug that's being worked on, see readthedocs/readthedocs.org#9807

@keewis keewis changed the title allow skipping RTD builds using [skip-rtd] allow skipping RTD builds Jan 23, 2023
@keewis
Copy link
Collaborator Author

keewis commented Jan 23, 2023

here's an example for a skipped build: https://readthedocs.org/projects/xray/builds/19247344/

@keewis keewis merged commit 9b30146 into pydata:main Jan 24, 2023
@keewis keewis deleted the skip-rtd branch January 24, 2023 16:09
dcherian added a commit to dcherian/xarray that referenced this pull request Jan 25, 2023
* upstream/main:
  RTD maintenance (pydata#7477)
  fix the RTD build skipping feature (pydata#7476)
  Add benchmarks for to_dataframe and to_dask_dataframe (pydata#7474)
  allow skipping RTD builds (pydata#7470)
  create separate environment files for `python=3.11` (pydata#7469)
  Bump mamba-org/provision-with-micromamba from 14 to 15 (pydata#7466)
  install `numbagg` from `conda-forge` (pydata#7415)
  Fill missing data_vars during concat by reindexing (pydata#7400)
  [skip-cii] Add pyodide update instructions to HOW_TO_RELEASE (pydata#7449)
  [skip-ci] whats-new for next release (pydata#7455)
  v2023.01.0 whats-new (pydata#7440)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant