Visitar URL original
fix: Import grpc only for type checking in errors.py by tokoko · Pull Request #4533 · feast-dev/feast · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: add manual install of setuptools and grpcio-tools
Signed-off-by: tokoko <togurgenidze@gmail.com>
  • Loading branch information
tokoko committed Sep 18, 2024
commit 551e10812b7a13b1c9fbfa487d2b9545d7f31d75
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