diff --git a/pyproject.toml b/pyproject.toml index f0b21502..0066512b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,13 @@ [build-system] requires = [ "setuptools", - "farm-ng-package", "pybind11", "wheel", - "grpcio==1.64.1", + # farm-ng-package v0.1.4 locks protobuf/grpcio versions to those on Brain. + # However, grpcio 1.56.2 contains Cython-generated code that is incompatible + # with Python 3.12. + # If this works, then we should yank v0.1.4 or update. + "farm-ng-package==0.1.3", "grpcio-tools==1.64.1", ] build-backend = "setuptools.build_meta" diff --git a/setup.cfg b/setup.cfg index c069c5ce..5ad97f8b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = farm_ng_core -version = 2.3.2-dev +version = 2.3.2 description = long_description = file: README.md long_description_content_type = text/markdown @@ -22,8 +22,10 @@ classifiers = [options] python_requires = >=3.8 install_requires = - protobuf==5.27.2 - grpcio==1.64.1 + grpcio + grpcio-tools + # temporary until seg fault issue with protobuf>=5.28 is resolved in Brain's Image + protobuf<=5.27.5 psutil numpy @@ -41,7 +43,7 @@ test = pylint-protobuf anyio types-protobuf - grpcio-tools==1.64.1 + grpcio-tools dev = %(test)s diff --git a/setup.py b/setup.py index ed556dfe..d36e6d6e 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,8 @@ from pybind11.setup_helpers import ParallelCompile, Pybind11Extension, build_ext from setuptools import setup -__version__ = "2.3.2-dev" +# This must match the version in setup.cfg. +__version__ = "2.3.2" platform_cxx_flags = []