#1093240 python3-pdbfixer: please package v1.10 & remove setuptools dependency

#1093240#5
Date:
2025-01-16 20:45:19 UTC
From:
To:
Dear Maintainers,

python3-pkg-resources is obsolete and slowly beeign removed from Debian.

It was the runtime part of older setuptools.

The extraneous dependency of python3-numpy over python3-pkg-resources
was removed in numpy upload 1:1.26.4+ds-13.

This broke an handfull of packages that expected pkg_resources to be there.

https://qa.debian.org/excuses.php?package=numpy

I fixed a bunch right now,
but I can't fix python3-pdbfixer
so easily because the previous release
already has another RC bug.

So I'm filling this bug to request some help
from the team.

Greetings,

Alexandre

#1093240#10
Date:
2025-01-19 15:11:48 UTC
From:
To:
It would be easier if you hadn't pushed a new upstream version to git
before checking whether it had any new dependencies that aren't
satisfied yet in Debian (it needs python3-openmm >= 8.2).  Things are
always easier when the default branch remains buildable.

What other RC bug are you referring to?  I guess maybe
https://bugs.debian.org/1061826?  But I think that's actually been fixed
in openmm already - I don't see any distutils imports in its code any
more.

I think all that's needed is to branch from 1.9-4 (BTW, you forgot to
push the debian/1.9-4 tag), add the missing Depends:
python3-pkg-resources, and upload that as 1.9-5.  Does that sound right
to you?

Maybe also file a wishlist bug on openmm to upgrade to the new upstream
version.

#1093240#15
Date:
2025-01-19 15:22:35 UTC
From:
To:
Hi,

I was referring to #1061826.

I hadn't noticed that the error lies in openmm itself;
that was the source of my complete confusion.

So yes, openmm definitively needs to be fixed first.

623s /usr/lib/python3/dist-packages/openmm/app/gromacstopfile.py:45: in
<module>
623s     import distutils.spawn
623s E   ModuleNotFoundError: No module named 'distutils'

Le dim. 19 janv. 2025 à 16:11, Colin Watson <cjwatson@debian.org> a écrit :

#1093240#26
Date:
2025-01-19 16:41:33 UTC
From:
To:
My point was that this already seems to have been fixed in openmm some
time ago, though.

#1093240#35
Date:
2025-02-14 10:11:07 UTC
From:
To:
Hello,

While update to python-pdbfixer/1.11 would indeed be nice to have, it is
blocked by the need to package openmm/8.2.0 (#1095955) which I would
better defer to post-trixie. See #1095955 for argumentation.

Other details of the current bug are confusing to me. The package was
not reported to FTBFS during rebuilds since, thus not sure why 'tags:
ftbfs'. Next, I notice the request to drop dependency on
python3-setuptools. Are they being removed in trixie? Sorry, I might
have lost track. If neither of these issues are important for trixie, I
would go for 'severity: wishlist'.

Thank you for caring after python-pdbfixer. This bug report flew under
my radar somehow.

Best,
Andrius