Package Details: python-rotate-backups 8.1-3

Git Clone URL: https://aur.archlinux.org/rotate-backups.git (read-only, click to copy)
Package Base: rotate-backups
Description: Simple command line interface for backup rotation
Upstream URL: https://github.com/xolox/python-rotate-backups
Licenses: MIT
Submitter: itoijala
Maintainer: itoijala
Last Packager: itoijala
Votes: 1
Popularity: 0.000000
First Submitted: 2018-07-28 16:36 (UTC)
Last Updated: 2023-05-04 14:21 (UTC)

Latest Comments

bal0r commented on 2024-04-30 13:40 (UTC)

Okay, it was easier:

yay -S python-rotate-backups --answerclean All

bal0r commented on 2023-05-04 14:40 (UTC)

Thanks a lot. Unfortunately, I had to rebuild every dependency, too. Maybe that’s obvious. The following command did the trick:

yay -S --rebuildall --noconfirm $(yay -Qqo /usr/lib/python3.10/)

itoijala commented on 2023-05-04 14:22 (UTC)

You need to rebuild the package after any python 3.x update (this time to 3.11). I bumped the pkgrel to remind about this.

bal0r commented on 2023-05-04 14:15 (UTC) (edited on 2023-05-04 14:17 (UTC) by bal0r)

Hi, after the latest Python package updates from today, I cannot execute rotate-backups anymore. The error is:

Traceback (most recent call last):
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 563, in from_name
    return next(cls.discover(name=name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/rotate-backups", line 33, in <module>
    sys.exit(load_entry_point('rotate-backups==8.1', 'console_scripts', 'rotate-backups')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/rotate-backups", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
                       ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 981, in distribution
    return Distribution.from_name(distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 565, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for rotate-backups

Any help is highly appreciated. Thanks a lot.

djmattyg007 commented on 2019-11-17 02:46 (UTC)

Please bump the pkgrel to force a rebuild for python3.8.