feat: add support for Python 3.13 (#5238)

* chore: update Python version requirement and remove deprecated dependencies in pyproject.toml files

* Updated Python version requirement to allow up to 3.14 in both main and base pyproject.toml files.
* Removed deprecated dependencies: cohere and pyautogen from the main dependencies list.

* chore: update Python version requirements and add support for Python 3.13 in uv.lock

* Updated the required Python version to allow up to 3.14.
* Adjusted resolution markers for Python versions to include 3.13.
* Added markers for the 'typing-extensions' dependency to restrict it for Python versions below 3.13.
* Included additional wheel files for various packages to support Python 3.13 compatibility.

* Update Python version requirements in README files to support Python 3.13

* Update Python version in GitHub Actions workflow to 3.13

* Update Python version in GitHub Actions workflows to include 3.13

* Update installation documentation to support Python 3.13 and clarify troubleshooting steps

* revert changes to docs until we release

* chore: add ag2 dependency and update uv.lock for Python 3.13 compatibility

* Added ag2 version 0.3.2 and 0.5.2 to pyproject.toml and uv.lock with appropriate resolution markers for Python versions.
* Included flaml version 2.3.2 in uv.lock to ensure compatibility with the new ag2 dependency.
* Updated dependency specifications to support Python 3.13 and above.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-12-12 17:24:43 -03:00 • committed by GitHub
commit c6b1eaba60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 620 additions and 37 deletions

View file

@ -12,7 +12,7 @@ packages = ["src/backend/langflow"]
name = "langflow"
version = "1.1.1"
description = "A Python package with a built-in web application"
requires-python = ">=3.10,<3.13"
requires-python = ">=3.10,<3.14"
license = "MIT"
keywords = ["nlp", "langchain", "openai", "gpt", "gui"]
readme = "README.md"
@ -40,7 +40,6 @@ dependencies = [
"wikipedia==1.4.0",
"qdrant-client==1.9.2",
"weaviate-client==4.9.6",
"cohere==5.13.3",
"faiss-cpu==1.9.0.post1",
"types-cachetools==5.5.0.20240820",
"pymongo==4.10.1",
@ -58,7 +57,6 @@ dependencies = [
"numexpr==2.10.2",
"qianfan==0.3.5",
"pgvector==0.3.6",
"pyautogen==0.5.0",
"langchain==0.3.10",
"elasticsearch==8.16.0",
"pytube==15.0.0",
@ -114,6 +112,7 @@ dependencies = [
"arize-phoenix-otel>=0.6.1",
"openinference-instrumentation-langchain==0.1.29",
"crewai~=0.86.0",
"ag2>=0.3.2",
]
[project.urls]