File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ pre-release-test: build # Run pre-release tests with built wheel
2424 uv run --isolated --no-project --with " $$ WHEEL" python ../../tests/api/py/test_cloud_dev.py && \
2525 uv run --isolated --no-project --with " $$ WHEEL" python ../../tests/api/py/test_extract_region_str.py
2626
27+ test-setup-py-install :
28+ @echo " Testing setup.py install (with pyproject.toml removed) in Docker (Python 3.12)..."
29+ docker run --rm -v " $( CURDIR) :/src:ro" python:3.12-slim \
30+ sh -c ' cp -r /src /tmp/pkg && cd /tmp/pkg && rm pyproject.toml && pip install --no-cache-dir . && python -c "from imandrax_api.lib import twine; print(\"setup.py install: OK\")"'
31+
2732PYTHON_REPO_URL = https://europe-west1-python.pkg.dev/imandra-dev/imandrax-api/
2833
2934install-artifact-deps :
@@ -53,4 +58,4 @@ install-go-protobuf-plugin:
5358 @echo " installing twirp plugin for protoc into ` echo $( GOBIN) ` "
5459 cd protoc-gen-twirpy && GOBIN=" ` echo $( GOBIN) ` " go install ./
5560
56- .PHONY : remove-wheels build genversion api_types_version.py
61+ .PHONY : remove-wheels build genversion api_types_version.py test-setup-py-install
You can’t perform that action at this time.
0 commit comments