Skip to content

Commit

Permalink
fix(deps): remove numpy strict installation from all extensions (#1591)
Browse files Browse the repository at this point in the history
* tests: add tests for config, smart dataframe and smart datalake

* fix(deps): remove numpy deps from all extensions

* fix: extra merge conflict

---------

Co-authored-by: Gabriele Venturi <[email protected]>
  • Loading branch information
ArslanSaleem and gventuri authored Feb 5, 2025
1 parent 36b26ed commit 6e8b3f9
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 140 deletions.
125 changes: 3 additions & 122 deletions extensions/connectors/sql/poetry.lock

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions extensions/connectors/sql/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pandasai-sql"
version = "0.1.6"
version = "0.1.7"
description = "SQL integration for PandaAI"
authors = ["Gabriele Venturi"]
license = "MIT"
Expand All @@ -10,7 +10,6 @@ readme = "README.md"
python = ">=3.9,<3.12"
pandasai = ">=3.0.0b4"
sqlalchemy = "^2.0.0"
numpy = ">=1.23.2,<2.0.0"
psycopg2-binary = { version = "^2.9.10", optional = true }
pymysql = { version = "^1.1.1", optional = true }
cockroachdb = { version = "^0.3.5", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion extensions/connectors/yfinance/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions extensions/connectors/yfinance/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pandasai-yfinance"
version = "0.1.3"
version = "0.1.4"
description = "YFinance integration for PandaAI"
authors = ["Gabriele Venturi"]
license = "MIT"
Expand All @@ -10,7 +10,6 @@ readme = "README.md"
python = ">=3.9,<3.12"
pandasai = ">=3.0.0b4"
yfinance = "^0.2.35"
numpy = "1.23.2"
pyarrow = "^14.0.1"

[tool.poetry.group.test]
Expand Down
2 changes: 1 addition & 1 deletion extensions/llms/bedrock/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pandasai-bedrock"
version = "0.1.3"
version = "0.1.4"
description = "AWS Bedrock integration for PandaAI"
authors = ["Gabriele Venturi"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion extensions/llms/google/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pandasai-google"
version = "0.1.3"
version = "0.1.4"
description = "Google integration for PandaAI"
authors = ["Gabriele Venturi"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion extensions/llms/huggingface/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions extensions/llms/huggingface/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pandasai-huggingface"
version = "0.1.3"
version = "0.1.4"
description = "Hugging Face integration for PandaAI"
authors = ["Gabriele Venturi"]
license = "MIT"
Expand All @@ -11,7 +11,6 @@ python = ">=3.8,<3.12"
pandasai = ">=3.0.0b4"
transformers = "^4.35.0"
torch = "^2.1.0"
numpy = "1.23.2"
text-generation = "^0.6.0"

[tool.poetry.group.test]
Expand Down
2 changes: 1 addition & 1 deletion extensions/llms/ibm/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pandasai-ibm"
version = "0.1.3"
version = "0.1.4"
description = "IBM integration for PandaAI"
authors = ["Gabriele Venturi"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion extensions/llms/langchain/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pandasai-langchain"
version = "0.1.3"
version = "0.1.4"
description = "Langchain integration for PandaAI"
authors = ["Gabriele Venturi"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion extensions/llms/local/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions extensions/llms/local/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pandasai-local"
version = "0.1.3"
version = "0.1.4"
description = "Local LLM integration for PandaAI"
authors = ["Gabriele Venturi"]
license = "MIT"
Expand All @@ -11,7 +11,6 @@ python = ">=3.8,<3.12"
pandasai = ">=3.0.0b4"
transformers = "^4.35.0"
torch = "^2.1.0"
numpy = "1.23.2"
openai = "^1.3.7"

[tool.poetry.group.test]
Expand Down
2 changes: 1 addition & 1 deletion extensions/sandbox/docker/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions extensions/sandbox/docker/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[tool.poetry]
name = "pandasai-docker"
version = "0.1.1"
version = "0.1.2"
description = ""
authors = ["ArslanSaleem <[email protected]>"]
readme = "README.md"

[tool.poetry.dependencies]
python = ">=3.8,<3.12"
pandasai = ">=3.0.0b4"
numpy = ">=1.23.2,<2.0.0"
docker = "^7.1.0"

[build-system]
Expand Down

0 comments on commit 6e8b3f9

Please sign in to comment.