Sinaptik-AI / pandas-ai

Chat with your database (SQL, CSV, pandas, polars, mongodb, noSQL, etc). PandasAI makes data analysis conversational using LLMs (GPT 3.5 / 4, Anthropic, VertexAI) and RAG.
https://pandas-ai.com
Other
11.58k stars 1.06k forks source link

Unable to contribute due to aiohttp package #1234

Open vishwajeetdabholkar opened 4 days ago

vishwajeetdabholkar commented 4 days ago

System Info

I used conda and python env both but was unable to setup up the dev mode:

poetry install --all-extras --with dev

attached are the logs for conda env. everything except this gets installed, I am unable to contribute due to this. python version 3.12.0

conda create --name pandasai python=3.12.0 conda activate pandasai pipx run poetry install --all-extras --with dev

🐛 Describe the bug


Installing dependencies from lock file

Package operations: 169 installs, 0 updates, 0 removals

Note: This error originates from the build backend, and is likely not a problem with poetry but with aiohttp (3.8.6) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "aiohttp (==3.8.6)"'.

dosubot[bot] commented 4 days ago

@vishwajeetdabholkar Hello! I'm here to help you with your issue. I'm a bot created to assist you in solving bugs, answering questions, and becoming a contributor. Let's tackle this together while we wait for a human maintainer.

To resolve the issue with the aiohttp (3.8.6) package not being compatible with Python 3.12.0, you can modify the pyproject.toml file to specify a compatible version of aiohttp. Here is an example of how you can specify a compatible version:

[tool.poetry.dependencies]
python = ">=3.9,<3.9.7 || >3.9.7,<4.0"
aiohttp = "^3.8.7"  # Assuming 3.8.7 or later is compatible with Python 3.12.0

If aiohttp is a transitive dependency, you might need to override it by adding a specific version constraint in the [tool.poetry.dependencies] section [1].

Additionally, be aware that there are other packages in the pandas-ai project with known compatibility issues with Python 3.12.0:

You may need to adjust these dependencies as well to ensure full compatibility with Python 3.12.0.

To continue talking to Dosu, mention @dosu.