Repository navigation
Test pip install of the Python module in CI - #2872
Open
ganeshgore wants to merge 1 commit into
Open
ganeshgore wants to merge 1 commit into
ganeshgore wants to merge 1 commit into
Conversation
ganeshgore
force-pushed
the
gg_python_pip_ci
branch
from
November 13, 2026 03:44
6eee834 to
55dcc48
Compare
ganeshgore
force-pushed
the
gg_python_pip_ci
branch
from
November 20, 2026 05:15
55dcc48 to
abaf537
Compare
ganeshgore
force-pushed
the
gg_python_pip_ci
branch
from
November 21, 2026 02:26
abaf537 to
52d6d54
Compare
ganeshgore
force-pushed
the
gg_python_pip_ci
branch
2 times, most recently
from
November 28, 2026 10:17
9dc4255 to
a7eae77
Compare
ganeshgore
force-pushed
the
gg_python_pip_ci
branch
from
December 1, 2026 03:42
a7eae77 to
5b8f199
Compare
ganeshgore
force-pushed
the
gg_python_pip_ci
branch
from
December 2, 2026 05:23
5b8f199 to
2e37419
Compare
The job builds the wheel, installs it in a clean virtual environment, runs the quickstart example from outside the source tree, and runs the tests of the Python module against the installed module only. The wheel is kept as an artifact.
tangxifan
force-pushed
the
gg_python_pip_ci
branch
from
December 2, 2026 21:59
2e37419 to
816fdbe
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #2869 (
gg_python_session, base of this PR). Review the last commit only.Summary
Add a CI job,
python_pip_install, that builds and installs the Python module the way a user does withpip install .(added in #2869), and uses it from the installed copy.The job runs on Ubuntu 22.04 with gcc-12, and has the same
needsandifas the other build jobs:python3-venv. Set up ccache.pip wheel --no-deps -v . -w dist, with ccache first inPATH.pytestandjsonschema.session_quickstart.pyfrom outside the source tree, withPYTHONPATHunset, with the worker process and with--in-process.test_smoke,test_session,test_quickstartandtest_workeragainst the installed module. The other test files run against the build tree inpython_binding_test.Testing
I could not run the job itself before opening the PR. I ran its steps locally, with local paths: the wheel builds (50 s with a warm build directory), installs in a clean virtual environment, the example runs from another directory, and 52 tests pass with only the installed module on the path. The YAML parses.
Not checked yet, and to be read from the first run of this PR:
linux_build. If it is not, the job can move to the weekly schedule.Not included