Skip to content

Bug: numpy package has compatible issuesΒ #320

@leonavevor

Description

@leonavevor

Descripion:

I get the following error when i run poetry install --no-root and it suggests "Contribute to poetry-plugin-export to solve this problem."

Error:

The numpy package has the following compatible candidates [Package('numpy', '1.26.4')]; but, the exporter dependency walker previously elected numpy (2.2.2) which is not compatible with the dependency numpy (>=1.22.4,<2). Please contribute to poetry-plugin-export to solve this problem.

pyproject.yaml:

[tool.poetry]
name = "chat-with-your-data-solution-accelerator"
version = "1.1.0"
description = "Chat with your data solution accelerator"
authors = []
readme = "README.md"
packages = [
    { include = "code" }
]

[tool.poetry.dependencies]
python = "^3.11"
azure-functions = "1.21.0"
streamlit = "1.39.0"
python-dotenv = "1.0.1"
azure-ai-formrecognizer = "3.3.3"
azure-storage-blob = "12.20.0"
azure-identity = "1.19.0"
flask = {extras = ["async"], version = "^3.0.3"}
openai = "1.59.8"
langchain = "0.3.14"
langchain-community = "0.3.14"
langchain-openai = "0.3.0"
requests = "2.32.3"
tiktoken = "0.8.0"
azure-storage-queue = "12.12.0"
beautifulsoup4 = "4.12.3"
fake-useragent = "1.5.1"
chardet = "5.2.0"
azure-search-documents = "11.6.0b1"
azure-ai-contentsafety = "1.0.0"
python-docx = "1.1.2"
azure-keyvault-secrets = "4.9.0"
pandas = "2.2.3"
azure-monitor-opentelemetry = "^1.6.2"
opentelemetry-instrumentation-httpx = "^0.48b0"
pillow = "10.4.0"
azure-mgmt-cognitiveservices = "^13.5.0"
jsonschema = "^4.23.0"
semantic-kernel = {version = "1.18.2", python = "<3.13"}
azure-ai-ml = "^1.21.1"
azure-cosmos = "^4.7.0"
asyncpg = "^0.30.0"
psycopg2-binary = "^2.9.10"
pgvector = "^0.3.6"
bs4 = "^0.0.2"
pydevd-pycharm = "^242.21829.44"
pydantic = "^2.10.5"

[tool.poetry.group.dev.dependencies]
pytest = "^8.3.3"
pytest-cov = "6.0.0"
flake8 = "7.1.1"
black = "24.10.0"
pre-commit = "4.0.1"
pytest_httpserver = "1.1.0"
trustme = "1.2.0"
jupyter = "1.1.1"
pytest-asyncio = "^0.24.0"

[tool.poetry.group.prompt-flow]
optional = true

[tool.poetry.group.prompt-flow.dependencies]
promptflow = {extras = ["azure"], version = "^1.15.0"}

[tool.coverage.run]
omit = [
    "**/tests/*",
    "**/dist/*",
    "**/infra/*",
]

[tool.coverage.report]
skip_empty = true
include_namespace_packages = true

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions