Bug 2183392
| Summary: | pyp2rpm fails to build with the latest setuptools version | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Charalampos Stratakis <cstratak> |
| Component: | pyp2rpm | Assignee: | Gordon Messmer <gordon.messmer> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | gordon.messmer, kevin, mhroncok, python-packagers-sig |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | pyp2rpm-3.3.9-1.fc39 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-04-13 01:13:19 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2144132 | ||
|
Description
Charalampos Stratakis
2023-03-31 00:11:48 UTC
FAILED tests/test_dependency_parser.py::TestDependencyParser::test_dependency_to_rpm[nb2plots>0+unknown-True-True-expected10]
self = <[AttributeError("'Requirement' object has no attribute 'name'") raised in repr()] Requirement object at 0x7f4227418050>
requirement_string = 'nb2plots>0+unknown'
def __init__(self, requirement_string: str) -> None:
try:
parsed = parse_requirement(requirement_string)
except ParserSyntaxError as e:
> raise InvalidRequirement(str(e)) from e
E pkg_resources.extern.packaging.requirements.InvalidRequirement: Expected end or semicolon (after version specifier)
E nb2plots>0+unknown
E ~~^
/usr/lib/python3.11/site-packages/pkg_resources/_vendor/packaging/requirements.py:37: InvalidRequirement
The version now in rawhide should work. Do I need to take any additional steps to close this bug? Thank you for the fix! |