Skip to content

Update Ghostscript test dependency via Renovate - #9974

Closed
hugovk wants to merge 1 commit into
python-pillow:mainfrom
hugovk:renovate-ghostscript
Closed

hugovk wants to merge 1 commit into
python-pillow:mainfrom
hugovk:renovate-ghostscript

Conversation

@hugovk

@hugovk hugovk commented Sep 9, 2026

Copy link
Copy Markdown
Member

Follow on from #9559. Alternative to #9974

To automate PRs like #9972.

Not added to dependencies.json, because that's used for creating the SBOM, and Ghostscript is only a test dependency.

Comment on lines +96 to +99
$gs = "10.8.0"
choco install ghostscript --version=$gs --no-progress
$v = [version]$gs
echo "C:\Program Files\gs\gs$($v.Major).$("{0:00}" -f $v.Minor).$($v.Build)\bin" >> $env:GITHUB_PATH

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The choco version is not zero padded: 10.8.0

But the install path is: 10.08.0

So Powershell does the zero-padding for the path.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The canonical version name for this version is actually 10.08.0, per https://ghostscript.com/releases/.

@radarhere

Copy link
Copy Markdown
Member

Would it be simpler to always install the latest version instead? #9978

@hugovk

hugovk commented Sep 9, 2026

Copy link
Copy Markdown
Member Author

Yes :) I think that's fine for testing.

@hugovk hugovk closed this Sep 9, 2026
@hugovk
hugovk deleted the renovate-ghostscript branch September 9, 2026 20:43
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.

3 participants