Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(CI_Pipeline): resolve dependency issues causing build failures #1508

Merged
merged 9 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions examples/from_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@


import pandasai as pai
import pandasai_sql

df = pai.load("sipa/users")
response = df.chat("How many users in total?")
print(response)
print(response)
2 changes: 1 addition & 1 deletion extensions/ee/connectors/bigquery/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"

[tool.poetry.dependencies]
python = ">=3.9,<3.12"
pandasai = "^3.0.0"
pandasai = "^3.0.0a0"
pandasai-sql = "^0.1.0"
sqlalchemy-bigquery = "^1.8.0"
google-cloud-bigquery = "^3.27.0"
Expand Down
2 changes: 1 addition & 1 deletion pandasai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
from pandasai.helpers.request import get_pandaai_session

from .agent import Agent
from .core.cache import Cache
from .data_loader.loader import DatasetLoader
from .dataframe.base import DataFrame
from .core.cache import Cache
from .smart_dataframe import SmartDataframe
from .smart_datalake import SmartDatalake

Expand Down
2 changes: 1 addition & 1 deletion pandasai/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from importlib.util import find_spec
from typing import Any, Dict, List, Literal, Optional, Union

from pydantic import BaseModel, Field, ConfigDict
from pydantic import BaseModel, ConfigDict, Field

import pandasai.llm as llm
from pandasai.constants import DEFAULT_CHART_DIRECTORY
Expand Down
2 changes: 1 addition & 1 deletion pandasai/helpers/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
from urllib.parse import urljoin

import requests
from pandasai.helpers import load_dotenv

from pandasai.exceptions import PandasAIApiCallError, PandasAIApiKeyError
from pandasai.helpers import load_dotenv
from pandasai.helpers.logger import Logger

load_dotenv()
Expand Down
3 changes: 0 additions & 3 deletions tests/unit_tests/helpers/test_dataframe_serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ def test_convert_df_to_yml(self):
fields:
- name: name
type: object
samples:
- en_name
- 中文_名称
""",
result,
)
Loading