diff --git a/.github/workflows/python_ci.yaml b/.github/workflows/python_ci.yaml index 35191fdd..6e59bbf9 100644 --- a/.github/workflows/python_ci.yaml +++ b/.github/workflows/python_ci.yaml @@ -22,7 +22,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: "3.8" + python-version: "3.7" - name: Pip install run: | diff --git a/python/pyproject.toml b/python/pyproject.toml index b1f0d2d2..cc23463a 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -2,11 +2,12 @@ name = "sift_stack_py" version = "0.3.0-rc.1" description = "Python client library for the Sift API" -requires-python = ">=3.8" +requires-python = ">=3.7" readme = {file = "README.md", content-type = "text/markdown"} license = {file = "LICENSE"} classifiers = [ "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -21,20 +22,20 @@ keywords = [ "sift_py", ] dependencies = [ - "grpcio~=1.64", + "grpcio~=1.62", "npTDMS~=1.9", "PyYAML~=6.0", - "pandas~=2.0", - "protobuf~=5.26", + "pandas~=1.3", + "protobuf~=4.24", "pydantic~=2.0", "pydantic_core~=2.3", "requests~=2.25", "requests-toolbelt~=1.0", # May move these to optional dependencies in the future. - "pandas-stubs~=2.0", + "pandas-stubs~=1.4", "types-PyYAML~=6.0", - "types-protobuf~=5.26", + "types-protobuf~=4.24", "typing-extensions~=4.6", "types-requests~=2.25", ] @@ -47,12 +48,12 @@ Changelog = "https://github.com/sift-stack/sift/tree/main/python/CHANGELOG.md" [project.optional-dependencies] development = [ - "grpcio-testing==1.64.1", - "mypy==1.10.0", - "pytest==8.2.2", - "pytest-asyncio==0.23.7", - "pytest-benchmark==4.0.0", - "pytest-mock==3.14.0", + "grpcio-testing~=1.62", + "mypy~=1.4", + "pytest~=8.2", + "pytest-asyncio~=0.23", + "pytest-benchmark~=4.0", + "pytest-mock~=3.14", "ruff", ] build = [ @@ -99,7 +100,7 @@ sift_py = ["py.typed"] [tool.ruff] line-length = 100 indent-width = 4 -target-version = "py38" # Python 3.8 +target-version = "py37" # Python 3.7 exclude = [ ".bzr", ".direnv",