Repository: nodejs/gyp-next (language: python)

Issue:
chore: add pipx integration test
Refs: https://github.com/nodejs/gyp-next/pull/256

Verify that the built product can work with pipx.


Discussion / hints:

Fix patch:
diff --git a/pyproject.toml b/pyproject.toml
index b20b7bdc..57e8c408 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -12,7 +12,7 @@ description = "A fork of the GYP build system for use in the Node.js projects"
 readme = "README.md"
 license = { file="LICENSE" }
 requires-python = ">=3.8"
-dependencies = ["packaging>=24.0"]
+dependencies = ["packaging>=24.0", "setuptools>=69.5.1"]
 classifiers = [
     "Development Status :: 3 - Alpha",
     "Environment :: Console",


Test patch:
diff --git a/.github/workflows/python_tests.yml b/.github/workflows/python_tests.yml
index a93412da..3cb72407 100644
--- a/.github/workflows/python_tests.yml
+++ b/.github/workflows/python_tests.yml
@@ -41,3 +41,7 @@ jobs:
         run: pytest
       # - name: Run doctests with pytest
       #   run: pytest --doctest-modules
+      - name: Test CLI commands on a pipx install
+        run: |
+          pipx run --no-cache --spec ./ gyp --help
+          pipx run --no-cache --spec ./ gyp --version