From ebec3226c047944e8751758ea8edb2257eb470a9 Mon Sep 17 00:00:00 2001 From: Vasu Jaganath Date: Tue, 19 May 2026 09:25:15 -0400 Subject: [PATCH] fix: lower require-python in pyproject.toml version so conda builds don't fail --- .github/workflows/build_wheel.yml | 4 ++-- .github/workflows/test_and_publish_pypi.yml | 4 ++-- .readthedocs.yaml | 2 +- docs/dev/installguide.md | 2 +- docs/installguide.md | 2 +- install/system_deps.yml | 2 +- install/system_deps_windows.yml | 2 +- pyproject.toml | 6 +++--- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index 9c39a872..61593d25 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -12,10 +12,10 @@ jobs: - name: Checkout 🛎️ uses: actions/checkout@v3 - - name: Set up Python 3.11 + - name: Set up Python 3.10 uses: actions/setup-python@v4 with: - python-version: 3.11 + python-version: 3.10 - name: Install sophios 🔧 run: | diff --git a/.github/workflows/test_and_publish_pypi.yml b/.github/workflows/test_and_publish_pypi.yml index 8d008682..786c34fd 100644 --- a/.github/workflows/test_and_publish_pypi.yml +++ b/.github/workflows/test_and_publish_pypi.yml @@ -14,10 +14,10 @@ jobs: - name: Checkout 🛎️ uses: actions/checkout@v3 - - name: Set up Python 3.9 + - name: Set up Python 3.10 uses: actions/setup-python@v4 with: - python-version: 3.11 + python-version: 3.10 - name: Remove old global config if: always() diff --git a/.readthedocs.yaml b/.readthedocs.yaml index cdba0a72..8c2c2fe2 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,7 +10,7 @@ build: os: ubuntu-20.04 tools: # Use a Python version supported by `requires-python` in pyproject.toml. - python: "3.11" + python: "3.10" # You can also specify other tool versions: # nodejs: "16" # rust: "1.55" diff --git a/docs/dev/installguide.md b/docs/dev/installguide.md index 09f6d52d..ec6d9d37 100644 --- a/docs/dev/installguide.md +++ b/docs/dev/installguide.md @@ -16,7 +16,7 @@ A developer install has three layers: - an editable `pip` install so imports come from the checkout. The Python requirement is declared in `pyproject.toml`. For this checkout, use -Python 3.11 or newer. +Python 3.10 or newer. ## Step 1: Clone the Repository diff --git a/docs/installguide.md b/docs/installguide.md index 3152c611..126632b2 100644 --- a/docs/installguide.md +++ b/docs/installguide.md @@ -12,7 +12,7 @@ or use the repository examples directly from a checkout, use the ## Python Requirement Sophios declares its supported Python range in `pyproject.toml`. For the current -package, use Python 3.11 or newer. +package, use Python 3.10 or newer. Check your interpreter: diff --git a/install/system_deps.yml b/install/system_deps.yml index d4cd3422..181b3789 100644 --- a/install/system_deps.yml +++ b/install/system_deps.yml @@ -3,7 +3,7 @@ channels: - defaults dependencies: - - "python>=3.11" + - "python>=3.10" # NOTE: cwltool needs nodejs for InlineJavascriptRequirement - nodejs - graphviz diff --git a/install/system_deps_windows.yml b/install/system_deps_windows.yml index c39c154e..d44a5e00 100644 --- a/install/system_deps_windows.yml +++ b/install/system_deps_windows.yml @@ -3,7 +3,7 @@ channels: - defaults dependencies: - - "python>=3.11" + - "python>=3.10" # NOTE: cwltool needs nodejs for InlineJavascriptRequirement - nodejs - graphviz diff --git a/pyproject.toml b/pyproject.toml index 67417b77..2c35587e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ] -requires-python = ">=3.11" +requires-python = ">=3.10" dependencies = [ # NOTE: This 'graphviz' refers to the python bindings to the underlying # system binary graphviz package (i.e. the `dot` executable) which we need to @@ -50,8 +50,8 @@ file = "README.md" content-type = "text/markdown" [project.urls] -Homepage = "https://github.com/PolusAI/workflow-inference-compiler" -"Bug Tracker" = "https://github.com/PolusAI/workflow-inference-compiler/issues" +Homepage = "https://github.com/PolusAI/sophios" +"Bug Tracker" = "https://github.com/PolusAI/sophios/issues" [project.optional-dependencies]