FS#62687 - [python-perf] package name conflict: need rename to python-pyperf

Attached to Project: Community Packages
Opened by Daurnimator (daurnimator) - Tuesday, 21 May 2019, 04:24 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:00 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

'perf' is the name of the python bindings to the linux 'perf' utility.

The upstream of this current python-perf package has resolved the naming conflict by renaming their project (https://github.com/vstinner/pyperf/commit/60eb936a87e287c578e85ab33b8b9a91d609ba53) to 'pyperf'.

We should rename this package to make room for the linux perf tool bindings.
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:00 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/python-perf/issues/1
Comment by Daurnimator (daurnimator) - Tuesday, 21 May 2019, 04:35 GMT
An easy way out might be to drop this package; it's currently an orphan and only used as a checkdepends.


EDIT: I misread, it's not an orphan
Comment by Levente Polyak (anthraxx) - Wednesday, 22 May 2019, 13:27 GMT
right now that commit helps nothing as pyperf is already taken on pypi and upstream needs to do something.
we gonna wait until its solved properly and there is a way out, dropping is not an option its a widely used toolset to profile python.
Comment by Sébastien Luttringer (seblu) - Monday, 12 April 2021, 17:01 GMT
Levente, what do you want we do about this naming issue?
Comment by Levente Polyak (anthraxx) - Monday, 12 April 2021, 19:20 GMT
@seblu: things seem to have sorted out upstream in the meanwhile. vstinner repo has been integrated into 'psf' which is the pyperf module holder in pypi. yippie.
ld;dr: gonna rename the package during this week and free up "python-perf", but we will need some "migration persion" which holds a replaces=() for some while to allow transparent migration path. If we dont want this, we need some news entry as people will end up with different packages for python-perf suddenly.
Comment by Sébastien Luttringer (seblu) - Tuesday, 13 April 2021, 09:50 GMT
I prefer solutions which allow users to upgrade their arch system across long time period.

I see PKGBUILD replaces=() support versions, so what do you think of adding something like replaces=(python-perf<=1.6-5) in the new package. There no need for migration wait period, this could work as soon as the new package is released (and be kept forever).
Linux-tools base package is in version 5.11, so versioning is higher and the first release will be >1.6-5.
Comment by Sébastien Luttringer (seblu) - Tuesday, 02 November 2021, 17:36 GMT
Ping :)
Comment by Toolybird (Toolybird) - Saturday, 22 April 2023, 01:47 GMT
So this looks kinda maybe fixed after [1]. Is there more to do or are we happy to close this?

[1] https://github.com/archlinux/svntogit-community/commit/d48ca1ff3efc1386533ff6392390ab5c78af6881
Comment by Daurnimator (daurnimator) - Thursday, 27 April 2023, 13:19 GMT
@Toolybird no. It's still some python package rather than bindings to `perf`.
This bug can only be closed once we rename the current `pkgname='python-perf'` to `pkgname='python-pyperf'`; thereby freeing up `python-perf` for the real thing.
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...