Skip to content

CI: quote pulp version spec in reverse dependency workflow - #962

Merged
sjsrey merged 1 commit into
pysal:mainfrom
sjsrey:reverse-dep-test
Nov 25, 2026
Merged

sjsrey merged 1 commit into
pysal:mainfrom
sjsrey:reverse-dep-test

Conversation

@sjsrey

@sjsrey sjsrey commented Nov 25, 2026

Copy link
Copy Markdown
Member

The reverse dependency workflow has failed on every run since #955 (e.g. run 45111745186), before any tests run:

/entrypoint.sh: line 37: 4: No such file or directory

scientific-python/reverse-dependency-testing-action runs eval $INPUT_INSTALLATION_COMMAND, so the unquoted pip install pulp<4 is parsed by bash as pip install pulp with stdin redirected from a file named 4. The redirect fails and set -e aborts the job.

This quotes the spec as 'pulp<4', the same way the python -c '...' line already does. I checked locally that the old line reproduces the error under eval and the quoted one passes pulp<4 through to pip.

The action evals the installation command unquoted, so pulp<4 was parsed as an input redirect from a file named 4, failing every run since pysal#955.
@sjsrey
sjsrey requested a review from jGaboardi November 25, 2026 15:03
@codecov

codecov Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.0%. Comparing base (ce7bb98) to head (d947be0).
⚠️ Report is 10 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #962     +/-   ##
=======================================
+ Coverage   86.0%   86.0%   +0.1%     
=======================================
  Files        151     151             
  Lines      16570   16645     +75     
=======================================
+ Hits       14243   14318     +75     
  Misses      2327    2327             
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jGaboardi jGaboardi added the github_actions Pull requests that update Github_actions code label Nov 25, 2026
@sjsrey
sjsrey merged commit d592133 into pysal:main Nov 25, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update Github_actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants