Dependencies from pyproject.toml not recognized in Python Inspector
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
Hướng nghiên cứu
Tái hiện báo cáo bằng pyproject.toml được cung cấp và lệnh python-inspector -p 3.12 -o linux --json inspector_output.json. Theo dõi cách Python Inspector đọc siêu dữ liệu của dự án và so sánh kết quả với các dependency được khai báo dưới [project].dependencies; hoàn tất khi requests và numpy xuất hiện trong đầu ra JSON.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi,
I’m encountering an issue where the python-inspector tool does not recognize dependencies listed in my pyproject.toml file. Here are the details:
Environment
- Python Inspector Version: 0.12.0
- Python Version: 3.12
- Operating System: Linux, Ubuntu 22.04
Steps to Reproduce
-
Prepare a directory with the following
pyproject.tomlfile:[build-system] requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" [project] name = "example-project" version = "0.1.0" dependencies = [ "requests>=2.25.1", "numpy>=1.20.0", ] -
Run the Python Inspector tool:
python-inspector -p 3.12 -o linux --json inspector_output.json -
Observe the output.
Expected Behavior
Dependencies listed in the pyproject.toml file (requests and numpy) should be recognized and included in the output.
Actual Behavior
The dependencies from pyproject.toml are not recognized or included in the output.
Additional Information
This issue arose while using ORT, which depends on python-inspector. It seems like the problem originates from python-inspector itself when analyzing pyproject.toml.
Please let me know if you need further details or logs!
Thanks,
Boaz
- Ngôn ngữ chính
- Python
- Star
- 23
- Fork
- 29
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aboutcode-org/python-inspector
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 62/100
aboutcode-org/python-inspector#268 · 1 bình luận ·
-
Add support for pylock.tomlCó thể làm lại được @Anurag-S1ngh đã nhận 9 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
aboutcode-org/python-inspector#259 · 1 bình luận ·
-
InconsistentCandidate: Pre-Release not allowCó thể làm lại được @Anurag-S1ngh đã nhận 9 ngày trước và không có pull request nào đang mở. Đang mởbug design nice-to-have
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
aboutcode-org/python-inspector#257 · 1 bình luận ·
-
Feature request: Mask repository credentials in --verbose outputCó thể đã có người làm @Rajeshwari2857 đã nhận 10 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 58/100
aboutcode-org/python-inspector#254 · 4 bình luận · 4 reaction ·
-
Python Inspector version 0.15.0 contains the wrong version stringCó thể đã có người làm @Anurag-S1ngh đã nhận 3 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
aboutcode-org/python-inspector#253 · 2 bình luận ·
Tất cả issue của aboutcode-org/python-inspector
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
QuantConnect/Documentation#2838 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
awslabs/route53-dynamic-dns-with-lambda#67 · 1 bình luận ·
-
`SubAgents` returns a child run's `DeferredToolRequests` to the parent as a successful tool resultĐang mởbug pkg:harness
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
pydantic/pydantic-ai#12405 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
good first issue help wanted
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100