aboutcode-org / aboutcode-org/python-inspector

Wheels with tags in manylinux_x_y format cannot be resolved

Đang mở
#199 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
23
Fork
28
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi,

I’m encountering an issue where the python-inspector tool does not resolve the wheel for a packages correctly if the wheel tag is in the format manylinux_x_y

**Environment**

Python Inspector Version: 0.12.0
Python Version: 3.11
Operating System: Linux, Ubuntu 22.04

**Steps to Reproduce**

Create a requirement.txt file with following content:

`solace-pubsubplus==1.9.0 ; python_version >= "3.11" and python_version < "4.0"`

**Run the Python Inspector tool:**

python-inspector -p 3.11 -o linux --json inspector_output.json --requirement requirement.txt

Observe the output.

**Expected Behavior**

The dependency can be resolved.

**Actual Behavior**

The tool throws an exception:

`resolvelib.resolvers.exceptions.ResolutionImpossible: [RequirementInformation(requirement== "3.11" and python_version < "4.0"')>, parent=None)]`

**Additional Information**

Many thanks

Christoph

This issue arose while using ORT, which depends on python-inspector. It seems like the problem originates from python-inspector itself when analyzing requirements.txt.

**Spec**

https://github.com/pypa/manylinux

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

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.