Skip to content

Remove the need for setuptools to mitigate GHSA-58pv-8j8x-9vj2#346

Merged
cdent merged 1 commit into
cdent:mainfrom
scottwallacesh:main
Jan 16, 2026
Merged

Remove the need for setuptools to mitigate GHSA-58pv-8j8x-9vj2#346
cdent merged 1 commit into
cdent:mainfrom
scottwallacesh:main

Conversation

@scottwallacesh
Copy link
Copy Markdown
Contributor

@scottwallacesh scottwallacesh commented Jan 16, 2026

When using gabbi as a dependency it pulls in setuptools via the use of pbr and jsonpath_rw. The current versions of setuptools contain a vulnerability, GHSA-58pv-8j8x-9vj2.

This PR avoids this vulnerability by removing the use of pbr and jsonpath_rw.

I've no idea if this interests you at all, @cdent, but it's something I've had to implement to mitigate this vulnerability.

The other changes are simply to pass the tests in my local environment (NixOS).

@scottwallacesh scottwallacesh force-pushed the main branch 5 times, most recently from bfc198a to 115e13b Compare January 16, 2026 11:46
@scottwallacesh scottwallacesh marked this pull request as draft January 16, 2026 11:54
@scottwallacesh scottwallacesh force-pushed the main branch 2 times, most recently from eda13af to 949029a Compare January 16, 2026 12:19
@scottwallacesh scottwallacesh changed the title Remove the need for pbr to mitigate GHSA-58pv-8j8x-9vj2 Remove the need for setuptools to mitigate GHSA-58pv-8j8x-9vj2 Jan 16, 2026
@scottwallacesh scottwallacesh marked this pull request as ready for review January 16, 2026 13:18
@cdent
Copy link
Copy Markdown
Owner

cdent commented Jan 16, 2026

This is awesome, definitely interested. I've been wanting to cleanup both pbr and jsonpath for a long time. Thanks very much.

Will give this a proper review and get it merged very soon.

@cdent cdent merged commit fb7cf80 into cdent:main Jan 16, 2026
15 checks passed
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