Skip to content

Commit

Permalink
fix: add manual install of setuptools and grpcio-tools
Browse files Browse the repository at this point in the history
Signed-off-by: tokoko <[email protected]>
  • Loading branch information
tokoko committed Sep 18, 2024
1 parent 4cef278 commit 551e108
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,15 @@ build: protos build-java build-docker

# Python SDK

install-python-dependencies:
python -m piptools sync sdk/python/requirements/py$(PYTHON_VERSION)-requirements.txt
pip install --no-deps .
python setup.py build_python_protos --inplace

install-python-dependencies-uv:
uv pip sync --system sdk/python/requirements/py$(PYTHON_VERSION)-requirements.txt
uv pip install --system setuptools grpcio-tools==1.56.2
uv pip install --system --no-deps .
python setup.py build_python_protos --inplace

install-python-dependencies-uv-venv:
uv pip sync sdk/python/requirements/py$(PYTHON_VERSION)-requirements.txt
uv pip install setuptools grpcio-tools==1.56.2
uv pip install --no-deps .
python setup.py build_python_protos --inplace

Expand Down
14 changes: 0 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
[build-system]
requires = [
"grpcio-tools==1.56.2",
"grpcio>=1.56.2,<2",
"mypy-protobuf==3.1",
"protobuf>=4.24.0,<5.0.0",
"pybindgen==0.22.0",
"setuptools>=60",
"setuptools_scm>=6.2",
"sphinx!=4.0.0",
"wheel",
]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
# Including this section is comparable to supplying use_scm_version=True in setup.py.

Expand Down

0 comments on commit 551e108

Please sign in to comment.