Bug 1739780 - Review Request: poetry - Python dependency management and packaging made easy
Summary: Review Request: poetry - Python dependency management and packaging made easy
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1739777 1739779
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-10 11:47 UTC by Fabio Valentini
Modified: 2019-08-13 10:15 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-08-13 10:15:48 UTC
Type: ---
Embargoed:
ngompa13: fedora-review+


Attachments (Terms of Use)

Description Fabio Valentini 2019-08-10 11:47:43 UTC
Spec URL: https://decathorpe.fedorapeople.org/packages/poetry.spec
SRPM URL: https://decathorpe.fedorapeople.org/packages/poetry-0.12.17-1.fc30.src.rpm

Description:
Poetry helps you declare, manage and install dependencies of Python
projects, ensuring you have the right stack everywhere.

Fedora Account System Username: decathorpe

koji scratch build for rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=36907719

Comment 1 Neal Gompa 2019-08-10 22:43:57 UTC
Taking this review.

Comment 2 Neal Gompa 2019-08-10 22:44:51 UTC
> Requires:       python3-%{pypi_name}

This should be a strictly versioned dependency, since you're splitting it between the Pythom module and the program.

Is there any particular value in doing this over just letting it all be in the "poetry" binary package?

Comment 3 Fabio Valentini 2019-08-10 22:48:31 UTC
(In reply to Neal Gompa from comment #2)
> > Requires:       python3-%{pypi_name}
> 
> This should be a strictly versioned dependency, since you're splitting it
> between the Pythom module and the program.

Right. I will fix this. Tomorrow ...

> Is there any particular value in doing this over just letting it all be in
> the "poetry" binary package?

Not particularly. But I know that pyproject.toml actually uses API form the poetry python package and not the poetry binary itself.

Now I need to sleep.

Comment 4 Fabio Valentini 2019-08-11 07:18:19 UTC
I made the dependency from poetry -> python3-poetry explicitly versioned.

Also relaxed the dependency on pyrsistent so the package can actually be installed on rawhide as well as f30.

Comment 5 Neal Gompa 2019-08-11 10:11:41 UTC
Review notes:

[x]: Follows Fedora Packaging Guidelines
[x]: Follows Fedora Python Packaging Guidelines
[x]: Package includes license file and has correct tag
[x]: Package builds and installs properly

PACKAGE APPROVED

Comment 6 Gwyn Ciesla 2019-08-12 13:22:32 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/poetry


Note You need to log in before you can comment on or make changes to this bug.