From 33c894813fcb2064542abf4d03e6032c2f4ebe9a Mon Sep 17 00:00:00 2001 From: Vishwanath Martur <64204611+vishwamartur@users.noreply.github.com> Date: Sat, 23 Nov 2024 00:42:07 +0530 Subject: [PATCH] Update Python version to 3.13 and add setuptools-rust dependency Related to #17 Update dependencies and CI configuration to support Python 3.13. * Update `pyproject.toml` to change the Python version requirement to `^3.13` and add `setuptools-rust` as a dependency. * Update `.github/workflows/ci.yml` to set up Python 3.13 in the CI workflow. * Update `README.md` to reflect the new Python version requirement and add a note to install `rust` and `setuptools-rust` in the setup section. --- .github/workflows/ci.yml | 2 +- README.md | 2 +- pyproject.toml | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48c5774..fc74520 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: 3.12 + python-version: 3.13 - name: Install dependencies run: | diff --git a/README.md b/README.md index 2732f6b..92d1914 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ poetry run pytest This repository includes a CI workflow using GitHub Actions. The workflow is defined in the `.github/workflows/ci.yml` file and is triggered on each push and pull request to the `main` branch. The workflow performs the following steps: 1. Checks out the code. -2. Sets up Python 3.12. +2. Sets up Python 3.13. 3. Installs dependencies using `poetry`. 4. Runs tests using `pytest`. diff --git a/pyproject.toml b/pyproject.toml index 6bff9fb..c58e0ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = ["alanalanlu "] readme = "README.md" [tool.poetry.dependencies] -python = "^3.12" +python = "^3.13" langchain-openai = "^0.2.0" langchain-core = "^0.3.1" langgraph = "^0.2.22" @@ -17,6 +17,7 @@ playwright = "^1.47.0" networkx = "^3.3" matplotlib = "^3.9.2" ipykernel = "^6.29.5" +setuptools-rust = "^1.5.2" [tool.poetry.scripts] integuru = "integuru.__main__:cli"