[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1004388: marked as done (ITP: python-inotify -- An adapter to Linux kernel support for inotify directory-watching)



Your message dated Thu, 07 Jul 2022 22:00:11 +0000
with message-id <E1o9ZXf-000FFB-7O@fasolo.debian.org>
and subject line Bug#1004388: fixed in python-inotify 0.2.10-1
has caused the Debian Bug report #1004388,
regarding ITP: python-inotify -- An adapter to Linux kernel support for inotify directory-watching
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1004388: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004388
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: wnpp
Severity: wishlist

* Package name    : python3-inotify
  Version         : 0.2.10
  Upstream Author : Dustin Oprea <dustin@randomingenuity.com>
* URL             : https://github.com/dsoprea/PyInotify
* License         : GPL-2
  Programming Lang: Python
  Description     : An adapter to Linux kernel support for inotify directory-watching

    inotify functionality is available from the Linux kernel and allows you
    to register one or more directories for watching, and to simply block
    and wait for notification events. This is obviously far more efficient
    than polling one or more directories to determine if anything has
    changed. This is available in the Linux kernel as of version 2.6 .
    . 
    We've designed this library to act as a generator. All you have to do is
    loop, and you'll see one event at a time and block in-between. After
    each cycle (all notified events were processed, or no events were
    received), you'll get a None. You may use this as an opportunity to
    perform other tasks, if your application is being primarily driven by
    inotify events. By default, we'll only block for one-second on queries
    to the kernel. This may be set to something else by passing a
    seconds-value into the constructor as block_duration_s.

There exist two upstream inotify libraries significant here:

    https://github.com/dsoprea/PyInotify
	Subject of this RFP: note that it contains a module called
	'inotify', not 'pyinotify'
    https://github.com/seb-m/pyinotify
        Currently ppackaged as python3-pyinotify

Looking at https://github.com/dsoprea/PyInotify it says:

    This project is unrelated to the *PyInotify* project that existed
    prior to this one (this project began in 2015). That project is
    defunct and no longer available.

and indeed, https://github.com/seb-m/pyinotify which is listed as
upstream of python3-pyinotify, seems to be stuck in 2015.

To the best that I could see, https://github.com/dsoprea/PyInotify is
not currently packaged in Debian.

If I understand correctly, the only way to access inotify functionality
in Python with libraries in Debian at the moment is via the old
pyinotify, and at least gunicorn is requiring the newer one for
inotify-based reloading to work:

   https://docs.gunicorn.org/en/stable/settings.html#reload
   "In order to use the inotify reloader, you must have the inotify
   package installed."

I reported an issue to python3-pyinotify to track the upstream
abandonment, and I'm filing this RFP for a replacement that would also
fulfill gunicorn requirements to activate inotify-based features


Enrico

--- End Message ---
--- Begin Message ---
Source: python-inotify
Source-Version: 0.2.10-1
Done: Bastian Germann <bage@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-inotify, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1004388@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated python-inotify package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 06 Jul 2022 18:01:59 +0200
Source: python-inotify
Binary: python3-inotify
Architecture: source all
Version: 0.2.10-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Bastian Germann <bage@debian.org>
Description:
 python3-inotify - inotify generator library for Python 3
Closes: 1004388
Changes:
 python-inotify (0.2.10-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1004388)
Checksums-Sha1:
 8f88db3c8705fb3ca57db8b52799903415cfc77b 1902 python-inotify_0.2.10-1.dsc
 c38509cb19208357247797e51e3f337b05ce4c1c 18774 python-inotify_0.2.10.orig.tar.gz
 685433512f14b26c883e9f91419fb1bc38c46e06 2296 python-inotify_0.2.10-1.debian.tar.xz
 da4054be1d7e30c7fa2d5140279dd3309855401b 6659 python-inotify_0.2.10-1_amd64.buildinfo
 5255212a4627bc200c72d0bcf3f76015f0d8cd7b 10288 python3-inotify_0.2.10-1_all.deb
Checksums-Sha256:
 69c396555a25dd250472a1998a3cced1bd4278d9789516d641cddbc7221c3b3f 1902 python-inotify_0.2.10-1.dsc
 f3cd0d321e42c477f2d31e2e410834d0ae924922a5b7ddcbac0d59ddb61b48dc 18774 python-inotify_0.2.10.orig.tar.gz
 4081ccb1cac65d67c3571cc3f50e478b8255f0582047bc087e7bc760557bccde 2296 python-inotify_0.2.10-1.debian.tar.xz
 a122abf623d4d7e584db77612834a3cfaddaa5753dcfea6ac28cf4b14f6822f2 6659 python-inotify_0.2.10-1_amd64.buildinfo
 9f0d1e27f8cc6cb281b7e21aa368eac62a55d1f704efad9ebe2eeb1e38e67b15 10288 python3-inotify_0.2.10-1_all.deb
Files:
 654da86d95c35f28d85345f888d65735 1902 python optional python-inotify_0.2.10-1.dsc
 4b3a277d76eec39e46758721d4c49b38 18774 python optional python-inotify_0.2.10.orig.tar.gz
 7b98d5239adf81fddb721a097fd00f7c 2296 python optional python-inotify_0.2.10-1.debian.tar.xz
 fce297477d456cd59b2c8c925a05cfa5 6659 python optional python-inotify_0.2.10-1_amd64.buildinfo
 211350169d1f9e5812d2099a879fb3d9 10288 python optional python3-inotify_0.2.10-1_all.deb

-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmLF5t8QHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFP1NC/wIkWbKt4hMmtoDW5YmyiG9e7gg073UFvuL
HPh3h1k0UaD1xktXRVJMBClQsExt1d/3p03q+wCV+dd4z88sShSr0ojIkrF8YDoW
3RCaU9xnv9qjrLHZxEFpsOi91Hruohe2xU0fpdMqR0E+vYFvp8PwcklVmyhZP4Lo
dqur6YLyMcDGFAYRkihcIGH24Qii4Rd9gjCtlw12KLiiZTYRgV46l7cMAG3t2q1e
hduIDzZ7oyCrvxOjHXnB2WtVx/c8gbpUFk0Ohfcd6FLAxOlVk5aj/BTO+gwvLGMl
tb2deA0x7TnASipSfuBncaUqHNzJL0HbmssVfFVX8PgqsNqw6USr1i6DMCRWffq/
/dwYu//oRugn+uGyvD5arDZLZB7mV3ibMkLbFYVU4kaGW4HoLVglttgSyqhBzNc7
K2UCfF6gp4T5o8S602TZ72/uNzmpndUI1pEbi/3F7OZxpHbLIJRV+Rxnr4KPoUC5
RwCDiQi7gCXRoOIgrtBSTMqEbdJxC10=
=xiuh
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: