Commit Graph

3 Commits

Author SHA1 Message Date
Khem Raj
ea9fd34fd1
python3-daemon: Fix build with PEP-575 build backend
Apply required backports

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-10 23:06:23 -07:00
Tim Orling
94c20e1ef4
meta-python: drop ${PYTHON_PN}
python 2 is long unsupported, so we no longer need this variable.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:24 -08:00
Wang Mingyu
40f53a3a1f python3-daemon: upgrade 2.3.2 -> 3.0.1
Changelog:
==========
Bugs Fixed:
* Migrate to use the explicitly-maintained 'packaging' library.
  The package bundled in 'setuptools.extern.packaging' is to help make that
  package self-contained, but is not a supported API.
* Declare dependency on Setuptools >= 62.4.0.
  This is necessary for establishing the version information via Setuptools. We
  use 'setuptools.command.build', 'introduced in Setuptools version 62.4.0
* Refactor calculation of file descriptor ranges to close.

Added:
* Document a 'ServiceRunner' class as an example of using 'DaemonContext'.
* PyPA recommended Project URLs for the distribution.

Changed:
* Raise a TypeError if any 'exclude' values are not valid file descriptors.
* Migrate package version handling to use Setuptools API.

Removed:
* Remove redundant 'wheel' from the requirements specification.
* Remove Setuptools 'test' command support.
* Remove Setuptools 'register' and 'upload' command support.
* Remove the obsolete 'runner' module.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-22 22:01:40 -07:00