Package Details: python-fangfrisch 1.9.2-1

Git Clone URL: https://aur.archlinux.org/python-fangfrisch.git (read-only, click to copy)
Package Base: python-fangfrisch
Description: Freshclam like utility that allows downloading unofficial virus definition files
Upstream URL: https://rseichter.github.io/fangfrisch/
Licenses: GPL-3.0-or-later
Conflicts: clamav-unofficial-sigs
Provides: clamav-unofficial-sigs
Submitter: amish
Maintainer: amish (Morbius)
Last Packager: Morbius
Votes: 28
Popularity: 0.54
First Submitted: 2020-02-22 16:48 (UTC)
Last Updated: 2025-04-04 18:15 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

zuzavo commented on 2023-09-20 14:31 (UTC) (edited on 2023-09-20 14:34 (UTC) by zuzavo)

Hello. Unable to install:python-setuptools and attrs installed.

<Iniciando build()...
Traceback (most recent call last):
  File "/home/juan/Descargas/python-fangfrisch/src/fangfrisch-1.6.1/setup.py", line 26, in <module>
    setuptools.setup(
  File "/usr/lib/python3.11/site-packages/setuptools/__init__.py", line 106, in setup
    _install_setup_requires(attrs)
  File "/usr/lib/python3.11/site-packages/setuptools/__init__.py", line 74, in _install_setup_requires
    dist = MinimalDistribution(attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/setuptools/__init__.py", line 56, in __init__
    super().__init__(filtered)
  File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 484, in __init__
    for ep in metadata.entry_points(group='distutils.setup_keywords'):
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 1040, in entry_points
    return SelectableGroups.load(eps).select(**params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 476, in load
    ordered = sorted(eps, key=by_group)
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 1037, in <genexpr>
    eps = itertools.chain.from_iterable(
                                       ^
  File "/usr/lib/python3.11/importlib/metadata/_itertools.py", line 16, in unique_everseen
    k = key(element)
        ^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 954, in _normalized_name
    or super()._normalized_name
       ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 627, in _normalized_name
    return Prepared.normalize(self.name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 882, in normalize
    return re.sub(r"[-_.]+", "-", name).lower().replace('-', '_')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 185, in sub
    return _compile(pattern, flags).sub(repl, string, count)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'

xiota commented on 2023-09-20 10:22 (UTC) (edited on 2023-09-20 10:23 (UTC) by xiota)

why?

Someone had a problem with another package related to replaces. I'm sending this request to packages that could potentially have a similar issue.

If someone has clamav-unofficial-sigs installed in their system and tries to install python-fangfrisch...

That scenario is handled by conflicts.

Is there any change in Arch guidelines about replaces?

AUR submission guidelines state: Do not use replaces in an AUR PKGBUILD unless the package is to be renamed...

Since this is not a rename scenario, the guidelines clearly state not to use replaces.

amish commented on 2023-09-20 10:01 (UTC)

@xiota ... why?

clamav-unofficial-sigs package still exists in AUR. If someone has clamav-unofficial-sigs installed in their system and tries to install python-fangfrisch, it is supposed to replace clamav-unofficial-sigs.

Is there any change in Arch guidelines about replaces?

xiota commented on 2023-09-20 09:17 (UTC) (edited on 2023-09-20 11:01 (UTC) by xiota)

Please remove replaces directive. Thank you.

ctag commented on 2023-06-25 12:48 (UTC) (edited on 2023-06-25 15:11 (UTC) by ctag)

Just reporting that installing 1.6.1 still fails for me:

==> Starting check()...
....................CRITICAL: Database table automx2 is not empty
CRITICAL: Database table automx2 is not empty
.........CRITICAL: Unexpected database version (expected 2, got -1)
CRITICAL: Unexpected database version (expected 2, got -1)
CRITICAL: Please try running "initdb"
CRITICAL: Please try running "initdb"
..................F.........................
======================================================================
FAIL: test_missing_checksum (test_refresh.RefreshTests.test_missing_checksum)

I have python-sqlalchemy 1.4.44 installed.

Edit: I re-ran the installation and it completed, not sure why.

Morbius commented on 2023-02-21 14:28 (UTC) (edited on 2023-02-21 15:25 (UTC) by Morbius)

@amish: I just released Fangfrisch 1.6.1, which now lists SQLAlchemy >= 1.4.0 as a requirement. There are no other changes relative to version 1.6.0.

As a side note, I suggest you consider changing the timer to invoke Fangfrisch every 5-10 minutes instead of hourly. Fangfrisch tracks when files were last downloaded for each data source, so it won't cause undue traffic. The current "hourly" setting in the timer file prevents sources to be contacted more frequently even if the user configures something like "every 15 minutes" in fangfrisch.conf, which can cause confusion, because this Arch Linux specific limitation is undocumented.

amish commented on 2023-02-21 13:49 (UTC)

@Morbius - Ah! Ok. Fair enough :)

Morbius commented on 2023-02-21 10:38 (UTC) (edited on 2023-02-21 10:41 (UTC) by Morbius)

@amish: The current version of SQLAlchemy is 2.0.4, with 1.4.0 released in March 2021. I was unaware that any distribution still bundled version 1.3, which is to my knowledge no longer being maintained by the SQLAlchemy developers. Still, I realise that I forgot to modify setup.py to list 1.4 as a minimal requirement, and I shall fix that later today. Sorry, I should have thought of that.