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:
parent
94fa92f718
commit
c6b1eaba60
8 changed files with 620 additions and 37 deletions
|
|
@ -12,9 +12,9 @@ Install Langflow locally with [uv (recommended)](https://docs.astral.sh/uv/getti
|
|||
|
||||
### Prerequisites
|
||||
|
||||
* [Python 3.10 to 3.12](https://www.python.org/downloads/release/python-3100/) installed
|
||||
* [uv](https://docs.astral.sh/uv/getting-started/installation/), [pip](https://pypi.org/project/pip/), or [pipx](https://pipx.pypa.io/stable/installation/) installed
|
||||
* Before installing Langflow, we recommend creating a virtual environment to isolate your Python dependencies with [uv](https://docs.astral.sh/uv/pip/environments), [venv](https://docs.python.org/3/library/venv.html), or [conda](https://anaconda.org/anaconda/conda)
|
||||
- [Python 3.10 to 3.12](https://www.python.org/downloads/release/python-3100/) installed
|
||||
- [uv](https://docs.astral.sh/uv/getting-started/installation/), [pip](https://pypi.org/project/pip/), or [pipx](https://pipx.pypa.io/stable/installation/) installed
|
||||
- Before installing Langflow, we recommend creating a virtual environment to isolate your Python dependencies with [uv](https://docs.astral.sh/uv/pip/environments), [venv](https://docs.python.org/3/library/venv.html), or [conda](https://anaconda.org/anaconda/conda)
|
||||
|
||||
### Install Langflow with pip or pipx
|
||||
|
||||
|
|
@ -91,9 +91,11 @@ This is a list of possible issues that you may encounter when installing and run
|
|||
### No `langflow.__main__` module
|
||||
|
||||
When you try to run Langflow with the command `langflow run`, you encounter the following error:
|
||||
|
||||
```bash
|
||||
> No module named 'langflow.__main__'
|
||||
```
|
||||
|
||||
1. Run `python -m langflow run` instead of `langflow run`.
|
||||
2. If that doesn't work, reinstall the latest Langflow version with `python -m pip install langflow -U`.
|
||||
3. If that doesn't work, reinstall Langflow and its dependencies with `python -m pip install langflow --pre -U --force-reinstall`.
|
||||
|
|
@ -146,4 +148,4 @@ To run Langflow with uv:
|
|||
|
||||
```plain
|
||||
uv run langflow run
|
||||
```
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue