Bug 1761091

Summary: PyPI package adduserpath renamed to userpath
Product: [Fedora] Fedora Reporter: John Vandenberg <jayvdb>
Component: python-adduserpathAssignee: Lumír Balhar <lbalhar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: lbalhar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-04 07:22:38 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: 1766860    
Bug Blocks:    

Description John Vandenberg 2019-10-12 12:01:33 UTC
Description of problem:
The package for https://src.fedoraproject.org/rpms/python-adduserpath is now maintained at https://pypi.org/project/userpath/

See https://github.com/ofek/userpath/issues/12 for some background

The recent releases are needed for https://src.fedoraproject.org/rpms/hatch

Also a modern userpath is needed for a useful tool https://pypistats.org/packages/pipx which isnt in Fedora yet afaics

Version-Release number of selected component (if applicable):


How reproducible:

Install/update hatch.

Actual results:

A very old version of dependency adduserpath is installed.

Expected results:

A recent release of dependency userpath should be installed, obsoleting any prior installed adduserpath as they have the same Python API.

Comment 1 John Vandenberg 2019-10-12 12:16:05 UTC
Note I've submitted a PR to add tests to the sdist https://github.com/ofek/userpath/pull/13 , which will make testing the package easier.

Comment 2 Lumír Balhar 2019-10-15 11:29:48 UTC
Thank you for the report. Admittedly, Fedora has an older version of python-adduserpath package because release-monitoring is checking the old PyPI project. It seems that it's not a problem for hatch because there is no new release since the change of dependency and therefore hatch 0.20.0 should still work with adduserpath.

Unfortunately, it seems that the project isn't very active so I'll wait for a while before I'll prepare a new package python-userpath.

Comment 3 Lumír Balhar 2019-10-30 06:42:16 UTC
There is a review request for the new python-userpath package (bz#1766860). Could you please do a review?

Comment 4 Lumír Balhar 2019-11-04 07:22:38 UTC
python-userpath is in rawhide, python-adduserpath is retired.

https://koji.fedoraproject.org/koji/taskinfo?taskID=38748259

I'll wait for a compose and then I'll update hatch to 0.23.0.