[Python-modules-team] Bug#789911: python-gear: Obsolete ‘daemon.pidlockfile’ API migrated to ‘python-lockfile’ library

Julien Cristau jcristau at debian.org
Thu Apr 21 09:12:21 UTC 2016


On Thu, Jun 25, 2015 at 18:02:54 +1000, Ben Finney wrote:

> Package: python-gear
> Version: 0.5.5-2
> Severity: important
> 
> Howdy,
> 
> The ‘python-daemon’ library has in the past included an internal
> ‘daemon.pidlockfile’ module for its own use.
> 
> That functionality has migrated to the ‘lockfile’ distribution
> (packaged in Debian as ‘python-lockfile’ or ‘python3-lockfile’)
> version 0.9 and later.
> 
> In ‘python-daemon’ version 2 and later, the ‘daemon.pidlockfile’
> module does not exist. Code which attempts to import it will fail.
> 
> A simple inspection (using ‘grep’) of the Python source for this
> package shows it is using the obsolete ‘daemon.pidlockfile’ API, and
> will fail with an ImportError.
> 
python-gear uses daemon.pidfile.TimeoutPIDLockFile, is that API safe?
If yes, this bug can be closed afaict.

Cheers,
Julien



More information about the Python-modules-team mailing list