From 4f0241dd058a17111af10570399206411a8ab51e Mon Sep 17 00:00:00 2001 From: gaurang Date: Sat, 5 Jul 2025 06:37:36 +0530 Subject: [PATCH] Use 'python' shim in CI/CD yml and execute refguide_check directly Fix the echo statement --- .circleci/config.yml | 8 ++++---- tools/refguide_check.py | 0 2 files changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 tools/refguide_check.py diff --git a/.circleci/config.yml b/.circleci/config.yml index 8c2b443f1e84..464e300d1af4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,7 +52,7 @@ jobs: - run: name: build NumPy command: | - python3.11 -m venv venv + python -m venv venv . venv/bin/activate pip install --progress-bar=off -r requirements/test_requirements.txt \ -r requirements/build_requirements.txt \ @@ -69,7 +69,7 @@ jobs: # Don't use -q, show warning summary" SPHINXOPTS="-W -n" spin docs if [[ $(find doc/build/html -type f | wc -l) -lt 1000 ]]; then - echo "doc build failed: doc/build/html is empty" + echo "doc build failed: doc/build/html is empty" >&2 exit -1 fi @@ -97,8 +97,8 @@ jobs: # - validates ReST blocks (via validate_rst_syntax) # - checks that all of a module's `__all__` is reflected in the # module-level docstring autosummary - echo calling python3 tools/refguide_check.py -v - python3 tools/refguide_check.py -v + echo "calling ./tools/refguide_check.py -v" + ./tools/refguide_check.py -v - persist_to_workspace: root: ~/repo diff --git a/tools/refguide_check.py b/tools/refguide_check.py old mode 100644 new mode 100755 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy