Re: git: 48e9e1f9e9a0 - main - news/py-sabctools: Update to 7.1.0

From: Florian Smeets <flo_at_smeets.xyz>
Date: Tue, 13 Jun 2023 20:16:58 UTC
On 05.06.23 20:53, Po-Chuan Hsieh wrote:
> The branch main has been updated by sunpoet:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=48e9e1f9e9a0e732ea4e9ae8a70d1ea2fa8ffdb2
> 
> commit 48e9e1f9e9a0e732ea4e9ae8a70d1ea2fa8ffdb2
> Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> AuthorDate: 2023-06-05 18:40:02 +0000
> Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> CommitDate: 2023-06-05 18:47:20 +0000
> 
>      news/py-sabctools: Update to 7.1.0
>      

This change breaks news/sabnzbd. Sabnzbd 4.0.0 (currently in ports) has 
a hard requirement on 7.0.1, and even the latest releases sabnzbd 4.0.2 
has a hard requirement on 7.0.2 and does not support sabctools 7.1.0 
yet. It looks like news/py-sabctools cannot be updated separately 
(anymore)?

flo@nuc:~ % pkg info -E sabnzbd
sabnzbd-4.0.2

constants.py:SABCTOOLS_VERSION_REQUIRED = "7.0.2"

decoder.py:
     if SABCTOOLS_VERSION[:3] != SABCTOOLS_VERSION_REQUIRED[:3]:
         raise ImportError

I tried to set SABCTOOLS_VERSION_REQUIRED to 7.1.0 with sabnzbd 4.0.2, 
then you don't get the ImportError but the application does not work.

I couldn't find anything in the sabnzbd/sabctools docs regarding the 
hard version requirement, I think this needs to be investigated.

Florian