Bug: `numpy` package has compatible issues

Đang mở
#320 2 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
numpy, python
Lĩnh vực
build-system, tooling

Hướng nghiên cứu

Không có tệp repository hoặc bài kiểm thử nào được nêu. Hãy bắt đầu bằng cách tái hiện lỗi với các ràng buộc được báo cáo trong pyproject.yaml và poetry install --no-root, sau đó lần theo dependency walker của exporter được đề cập trong lỗi; công việc được xem là hoàn tất khi lỗi tương thích NumPy được báo cáo đã được giải quyết cho trường hợp này.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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"
Ngôn ngữ chính
Python
Star
336
Fork
59
Merge trung bình
10 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của python-poetry/poetry-plugin-export

Tất cả issue của python-poetry/poetry-plugin-export

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.