Re: Which lockfile library for ‘python-daemon’? (was: Adding support for backward-incompatible ‘lockfile’)

stephan schultchen stephan.schultchen at gmail.com
Mon Aug 4 09:00:18 UTC 2014


Hey,

if you like, you could also use the PidFile class of
https://github.com/schlitzered/pep-3143-daemon. It only uses modules from
the python standard library.

cheers

stephan


2014-08-04 9:41 GMT+02:00 Thomas Spura <tomspur at fedoraproject.org>:

> 2014-08-04 9:02 GMT+02:00 Ben Finney <ben+python at benfinney.id.au>:
>
> On 10-May-2012, Ben Finney wrote:
>>
>> > After ‘lockfile’ version 0.9 was released on PyPI, ‘python-daemon’
>> > version 1.6 was initially released to use it. But that version of
>> > ‘lockfile’ was, according to its maintainer, never meant to be
>> > released, and contained backward-incompatible changes. Soon
>> > afterward, I reverted ‘python-daemon’ so that the previous version
>> > (1.5.5) was the latest on PyPI.
>>
>> The issue remains unaddressed after the report was filed in 2010
>> <URL:https://code.google.com/p/pylockfile/issues/detail?id=4>.
>>
>> I understand the ‘lockfile’ library is effectively unmaintained; its
>> latest lead developer has AFAIK not succeeded in finding a suitable
>> successor, and has no interest in continuing maintenance of the
>> project.
>>
>> So ‘python-daemon’ requirements for a lockfile implementation are in a
>> kind of limbo: the current code base (with versions up to 1.6.1)
>> recommends ‘lockfile’ 0.9, but this version doesn't work. So recent
>> versions of ‘python-daemon’ are not advertised on PyPI.
>>
>
> From the report above:
> """
>
> The official public releases are on PyPI.
>
> """
>
> On PyPI is lockfile 0.9.1, which seems to work fine.
>
>
>>
>> The PyPI entry for ‘python-daemon’ does not advertise any version
>> later than 1.5.5, which works only with lockfile 0.8 or earlier.
>>
>> Users of ‘python-daemon’: What lockfile implementation are you using?
>> How are you getting it to work with the API?
>>
>> With ‘lockfile’ no longer suitable, what should be the recommended
>> lockfile library for future releases of ‘python-daemon’?
>>
>>
> I didn't check it, but it seems lockfile-0.9.1 seems to work fine with
> python-daemon-1.6 and the tests pass.
>
> Why isn't python-daemon-1.6.1 listed as most recent version on PyPI?
>
> Greetings,
>    Tom
>
> _______________________________________________
> python-daemon-devel mailing list
> python-daemon-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-daemon-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-daemon-devel/attachments/20140804/6addfb7c/attachment.html>


More information about the python-daemon-devel mailing list