@tocic Thanks for the "!informant" idea, I don't know why I hadn't thought of that yet. Hopefully that will make handling Python updates easier.
Search Criteria
Package Details: informant 0.5.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/informant.git (read-only, click to copy) |
---|---|
Package Base: | informant |
Description: | An Arch Linux News reader and pacman hook |
Upstream URL: | https://github.com/bradford-smith94/informant |
Keywords: | news |
Licenses: | MIT |
Submitter: | bradford-smith94 |
Maintainer: | bradford-smith94 |
Last Packager: | bradford-smith94 |
Votes: | 104 |
Popularity: | 3.80 |
First Submitted: | 2018-02-27 18:54 (UTC) |
Last Updated: | 2024-04-30 01:48 (UTC) |
Dependencies (9)
Required by (0)
Sources (1)
bradford-smith94 commented on 2023-05-06 16:16 (UTC)
tocic commented on 2023-05-06 10:21 (UTC)
@kullfar I agree that it's always worth to increment pkgrel
to take the burden off the user, but note that in this case it'll still produce the error because you can't upgrade any package with the old hook, even informant
itself :). Maybe the upstream can circumvent that with the !informant
string in the Target field.
kullfar commented on 2023-05-06 09:53 (UTC)
It's better to increment pkgrel, otherwise 50% of users will spend their time discovering what had happened until they realized that they need to uninstall/instal the package (as I did).
ssnailz commented on 2023-05-05 07:16 (UTC)
@tocic thank you! that worked
sshaikh commented on 2023-05-04 16:23 (UTC)
Thanks @zagg, added as a makedepends. I didn't increment pkgrel so as not to trigger updates for anyone who already has it installed.
I feel this would have actually been helpful to do. Things like aurtools don't notice the new PKBUILD at the moment.
tocic commented on 2023-05-04 04:55 (UTC)
If you have the following error
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 informant
, you need to uninstall informant
(or manually disable the pacman hook), rebuild it against python3.11
, and install again.
programegg commented on 2023-02-20 04:26 (UTC) (edited on 2023-02-20 04:26 (UTC) by programegg)
This PKGBUILD should not be flagged out of date. 0.4.5
is the latest version of informant
according to the upstream URL. The out-of-date report indicates a build failure but the package builds just fine on my system.
bradford-smith94 commented on 2023-01-03 22:59 (UTC)
Thanks @zagg, added as a makedepends. I didn't increment pkgrel so as not to trigger updates for anyone who already has it installed.
zagg commented on 2023-01-03 15:23 (UTC)
Don't you think it might be good to add python-setuptools as a deps.
==> Starting build()...
Traceback (most recent call last):
File "/tmp/pkg/src/informant-0.4.5/setup.py", line 2, in <module>
from setuptools import setup
ModuleNotFoundError: No module named 'setuptools'
==> ERROR: A failure occurred in build().
Aborting...
nilsw commented on 2022-08-20 07:10 (UTC) (edited on 2022-08-20 07:11 (UTC) by nilsw)
Instead of manually managing the informant
group and /var/cache/informant
in post_install()
you could use sysusers.d
and tmpfiles.d
.
Check out plex-media-server
for an AUR package that does this.
Pinned Comments
bradford-smith94 commented on 2024-04-30 01:59 (UTC) (edited on 2024-04-30 02:01 (UTC) by bradford-smith94)
After a major Python upgrade
informant
will break with an error likely including something like:This is inconvenient and not ideal, as it will cause all following pacman commands to fail. But since the version of Python that
informant
was built against is no longer there, this is the way it will be.In this case,
informant
simply needs to be rebuilt against the newest Python version. Please do not flag the package out of date. Since v0.4.6 and upgrade/install (rebuild) of justinformant
itself should not trigger the hook, so you may be able to just force a rebuild ofinformant
. However, this will still fail if rebuildinginformant
requires pacman to install makedepends. In that case:informant
does not block removes, so first runsudo pacman -R informant
and then reinstallinformant
(make sure it forces a rebuilt and doesn't reinstall a cached version).Further discussion of the Python major version update causing errors can be found at the Github issue: https://github.com/bradford-smith94/informant/issues/40.