Bug#1058127: python-mpiplus: FTBFS: AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?

Andrius Merkys merkys at debian.org
Mon Jan 15 15:56:55 GMT 2024


Hi Yogeswaran,

On 2024-01-14 18:46, Yogeswaran Umasankar wrote:
> I created a patch for fixing AttributeError: module 'configparser' has
> no attribute 'SafeConfigParser'. In the process I have updated it to the
> latest upstream too. I’ve attached the debdiff for you to check out.

I noticed you have hard-coded the version number in setup.py. I would 
suggest against doing that as maintainer(s) will have to refresh this 
patch each time a new upstream release is imported. Manual tasks tend to 
be easily overlooked.

I think a better fix would be to use versioneer packaged in Debian 
package python3-versioneer, although I have not tried that.

Best wishes,
Andrius



More information about the debian-science-maintainers mailing list