Package Details: python-ibmcloudant 0.9.1-1

Git Clone URL: https://aur.archlinux.org/python-ibmcloudant.git (read-only, click to copy)
Package Base: python-ibmcloudant
Description: Python Library for Cloudant and CouchDB Access. Successor of python-cloudant
Upstream URL: https://github.com/IBM/cloudant-python-sdk
Licenses: Apache-2.0
Submitter: Patschke
Maintainer: Patschke
Last Packager: Patschke
Votes: 0
Popularity: 0.000000
First Submitted: 2021-08-23 08:43 (UTC)
Last Updated: 2024-07-12 09:04 (UTC)

Latest Comments

Patschke commented on 2021-09-07 06:53 (UTC) (edited on 2021-09-07 06:54 (UTC) by Patschke)

From what I understand, I am not sure if adding replaces=('python-cloudant') is correct for two reasons:

  • replaces won't really work in the AUR (aka it will not cause the deprecated package to be replaced - which is good, since otherwise anyone could initiate replacements of good packages with bad stuff). The wiki states to not use it in the AUR (https://wiki.archlinux.org/title/PKGBUILD#replaces)
  • From what I understand replaces should provide drop-in replacements. The api for the cloudant and ibmcloudant packages are quite different, so not only the import needs to be changed, but the code requires some rewrites. An user won't be happy installing python-ibmcloudant instead of python-cloudant.

I could instead add Successor of python-cloudant to the pkgdesc? If my understanding of the replaces variable is wrong, I am happy to learn why it is correct to use it here (and I'd guess the explanation could then find a place in the forum instead of this comment section?).

lmartinez-mirror commented on 2021-09-06 19:00 (UTC) (edited on 2021-09-06 19:01 (UTC) by lmartinez-mirror)

python-cloudant, this package's predecessor, will reach EOL at the end of the year. Could you add replaces=('python-cloudant')?