Re: python3 dependency of python-spf

"Scott Kitterman" <[email protected]> Thu, 28 Apr 2016 07:58:40 -0400
Newsgroups gmane.mail.spam.spf.devel
Message-ID <2539499.UvFQVyRZAY@kitterma-e6430>
On Thursday, April 28, 2016 09:48:03 AM Gunther Nitzsche wrote:
> Hi,
>=20
> I am not sure is this is the right place for the question..
>=20
> I stumbled upon the python3 dependencies of the package python3-spf
>=20
> (on a debian wheezy-implementation)
>=20
> # aptitude show python3-spf
> Package: python3-spf
> New: yes
> State: unpacked
> Automatically installed: no
> Version: 2.0.11-1~bpo70+1~test0
> Priority: optional
> Section: python
> Maintainer: Scott Kitterman <[email protected]>
> Architecture: all
> Uncompressed Size: 161 k
> Depends: python3 (>=3D 3.3), python3-dns (>=3D 3.0.2-1+deb7u1)
>=20
>=20
> and:
>=20
> ##########
>=20
> aptitude show postfix-policyd-spf-python
> Package: postfix-policyd-spf-python
> State: installed
> Automatically installed: no
> Version: 1.3.1-1~bpo70+1
> Priority: optional
> Section: mail
> Maintainer: Scott Kitterman <[email protected]>
> Architecture: all
> Uncompressed Size: 151 k
> Depends: python3 (>=3D 3.2.3-3~), python3-spf (>=3D 2.0.9), python3-ipadd=
r,
> postfix, adduser Suggests: python3-authres
> Description: Postfix policy server for SPF checking
>  postfix-policyd-spf-python is a full featured Postfix policy engine for =
SPF
> checking. It includes a variety of whitelisting mechanisms and policy
> options to enable it to support the widest variety of system requirements.
> It is implemented in pure Python and uses the python-spf module.  The SPF
> web site is http://www.openspf.net/.  It has been updated to support RFC
> 7208.
> Homepage: https://launchpad.net/pypolicyd-spf
>=20
> #############
>=20
>  Which is strange, because python3-spf is working on the  machine
> (wheezy)
> # cat /etc/debian_version
> 7.9
>=20
> # python3 -V
> Python 3.2.3
>=20
>=20
> So when trying to upgrade the system i run into problems because python3 =
is
> not upgraded to something >=3D 3.3, so python3-spf is failing because of =
the
> depency - but this is needed for postfix-policyd-spf-python
>=20
>=20
>=20
>  aptitude upgrade --full-resolver
> The following packages will be upgraded:
> ,,,some stuff..
> python-spf spf-tools-python
>=20
> The following packages have unmet dependencies:
>  python3-spf : Depends: python3 (>=3D 3.3) but 3.2.3-6 is installed.
> The following actions will resolve these dependencies:
>=20
>      Remove the following packages:
> 1)     postfix-policyd-spf-python
> 2)     python3-spf
>=20
>=20
> And since python3.3 can not even found in backports things get weird..
>=20
> # aptitude -t wheezy-backports show python3
> Package: python3
> State: installed
> Automatically installed: yes
> Version: 3.2.3-6
>=20
>=20
> Is it possible to lower the dependencies on python3-spf for the
> python-Version (like python3-spf : Depends: python3 (>=3D 3.2))
> or does this break something?

As a rule, distribution specific packaging issues like this should be handl=
ed=20
on distribution specific channels, not here.  I got the email you sent me=20
earlier in the week, but have been swamped and didn't get a chance to reply=
=20
yet.  For wheezy-backports it needs to have an alternate dependency on=20
python3-ipaddr since python3.2 doesn't have the ipaddress module like=20
python3.3 and later do.

I hope to have time to fix it this week.

Scott K