Skip to content

[Github Action] Directly install from repo. if export-subst is skipped#4313

Merged
JelleZijlstra merged 3 commits intopsf:mainfrom
EarlMilktea:detect-export-subst-fail
Apr 24, 2024
Merged

[Github Action] Directly install from repo. if export-subst is skipped#4313
JelleZijlstra merged 3 commits intopsf:mainfrom
EarlMilktea:detect-export-subst-fail

Conversation

@EarlMilktea
Copy link
Contributor

@EarlMilktea EarlMilktea commented Apr 17, 2024

Description

I noticed that, if the github action is called in an unexpected way (such as from https://github.com/nektos/act), substitution of .git_archival.txt can be skipped.
For that cases, the action tries to execute pip install black[colorama]==$Format:%(describe:tags=true,match=*[0-9]*)$, which is not making any sense.
This PR is trying to fix this behavior.

Checklist - did you ...

  • Add an entry in CHANGES.md if necessary?
  • Add / update tests if necessary?
  • Add new / update outdated documentation?

@EarlMilktea EarlMilktea marked this pull request as ready for review April 17, 2024 19:24
@EarlMilktea EarlMilktea changed the title Directly install from repo. if export-subst is omitted Directly install from repo. if export-subst is skipped Apr 17, 2024
@EarlMilktea EarlMilktea changed the title Directly install from repo. if export-subst is skipped [Github Action] Directly install from repo. if export-subst is skipped Apr 23, 2024
@JelleZijlstra JelleZijlstra merged commit 2f88085 into psf:main Apr 24, 2024
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.

2 participants