I have cleaned up the dependencies, removing python-future
and optimizing a few. The package is working locally, please let me know if you run into any problems.
Search Criteria
Package Details: holland-xtrabackup 1.2.12-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/holland.git (read-only, click to copy) |
---|---|
Package Base: | holland |
Description: | Holland Backup Provider for MySQL Xtrabackup |
Upstream URL: | http://hollandbackup.org |
Keywords: | backup database mariadb mongodb mysql postgresql python |
Licenses: | GPL2 |
Submitter: | tengel |
Maintainer: | f0ff886f |
Last Packager: | f0ff886f |
Votes: | 6 |
Popularity: | 0.000000 |
First Submitted: | 2014-12-12 04:24 (UTC) |
Last Updated: | 2025-01-14 20:15 (UTC) |
Dependencies (4)
- holland-mysqlAUR
- xtrabackup
- python-setuptools (make)
- python-sphinx (python-sphinx-gitAUR) (make)
Required by (0)
Sources (3)
f0ff886f commented on 2025-01-14 20:16 (UTC)
dreieck commented on 2025-01-11 16:06 (UTC)
If possible, please remove the dependency on python-furure
/ make the package working without python-future
:
WARNING: python-future package is not compatible with Python 3.13
The python-future project was created in 2013 to attempt to save Python from the schism of version incompatibility that was threatening to tear apart the language (as Perl 6 contributed to the death of Perl).
That time is now past. Thanks to a huge porting effort across the Python community, Python 3 eventually thrived. Python 2 reached its end of life in 2020 and the python-future package should no longer be necessary. Use it to help with porting legacy code to Python 3 but don’t depend on it for new code.
If you use packages that depend on it, please contact maintainers and/or upstream of these packages and try to work out whether this dependency is really needed.
Regards and thanks for this package!
vilarnt commented on 2024-06-03 01:44 (UTC) (edited on 2024-06-03 19:36 (UTC) by vilarnt)
Unfortunately the Holland Backup project seems to be stalled (last commit was more than 2 years ago) and already showing signs of its age (it does not run unpatched under Python 3.11 and up). Since I stopped using it myself, I decided to disown this AUR package. Farewell!
hexadecagram commented on 2024-03-30 19:38 (UTC)
Cloning the git repository (master branch) and installing it manually using python -m build
and python -m installer
seems to work fine.
hexadecagram commented on 2024-01-11 09:19 (UTC) (edited on 2024-01-13 02:58 (UTC) by hexadecagram)
Holland requires some patching to work with Python 3.11.
I have thrown together this zsh function to do a clean rebuild (note yay -Rcs
):
pacman_upgrade_holland () {
local PKGBUILD=$(mktemp)
local patch=$(mktemp)
trap "rm -f $PKGBUILD $patch" EXIT
cat >! $PKGBUILD <<'EOF'
--- /home/acc/.cache/yay/holland/PKGBUILD 2023-09-24 18:13:15.130979110 -0700
+++ /home/acc/bak/PKGBUILD 2023-09-24 18:45:18.591404175 -0700
@@ -23,6 +23,7 @@
prepare() {
cd "${srcdir}"
find -name setup.cfg -delete
+ patch -d "${srcdir}/${pkgname}-${pkgver}" -i $patch -p0
}
build() {
EOF
cat >! $patch <<'EOF'
--- holland/core/command/command.py.orig 2021-12-02 10:23:56.000000000 -0800
+++ holland/core/command/command.py 2023-09-24 17:36:30.828740377 -0700
@@ -86,6 +86,10 @@
description = " "
def __init__(self):
+ if self.name in SUBPARSER.choices:
+ self.optparser = SUBPARSER.choices[self.name]
+ return
+
self.optparser = SUBPARSER.add_parser(
self.name,
help="%s %s" % (self.name, self.description),
EOF
yay -Rcs --noconfirm holland 2> /dev/null
pacman_install \
--answerclean All \
--answeredit All \
--cleanmenu \
--editmenu \
--editor patch \
--editorflags "-Nbfi\ $PKGBUILD" \
--noconfirm \
--rebuild \
holland{,-{mysql{,dump},pgdump}}
}
vilarnt commented on 2020-03-03 21:25 (UTC)
Holland now requires the pymysql
Python package, so I added python-pymysql
to the dependency list in release 1.2.1-2.
f0ff886f commented on 2020-03-03 20:59 (UTC)
I noticed nightly failures with holland 1.2.1 in my backup timers, and it turns out it was complaining that no module pymysql could be found. I believe it may have started with the update to 1.2.1, I didn't catch the issue for a long time.
f0ff886f commented on 2019-02-24 20:49 (UTC)
FYI, the package requires python-configobj now:
pkg_resources.DistributionNotFound: The 'configobj>=4.6.0' distribution was not found and is required by holland
Pinned Comments