- update to 3.0.1:
* Declare dependency on Setuptools >= 62.4.0.
* Refactor calculation of file descriptor ranges to close.
* When the range of candidate file descriptors is very large,
the code that computes file descriptors to close when the
daemon starts attempted to allocate a large amount of memory
and took a long time to compute.
* Document a `ServiceRunner` class as an example of using
`DaemonContext`.
* Raise a TypeError if any `exclude` values are not valid file
descriptors.
* Remove the obsolete `runner` module.
This module was deprecated starting in `python-daemon`
version 2.1.2, and is now removed as unmaintained.
- Update to 2.3.2
- Skip broken test
- BuildRequire lowercase python-minimock
- Add Provides for the old python-daemon name
OBS-URL: https://build.opensuse.org/request/show/1133522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=30
* Declare dependency on Setuptools >= 62.4.0.
* Refactor calculation of file descriptor ranges to close.
* When the range of candidate file descriptors is very large,
the code that computes file descriptors to close when the
daemon starts attempted to allocate a large amount of memory
and took a long time to compute.
* Document a `ServiceRunner` class as an example of using
`DaemonContext`.
* Raise a TypeError if any `exclude` values are not valid file
descriptors.
* Remove the obsolete `runner` module.
This module was deprecated starting in `python-daemon`
version 2.1.2, and is now removed as unmaintained.
- Update to 2.3.2
- Skip broken test
- BuildRequire lowercase python-minimock
- Add Provides for the old python-daemon name
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=42
- Update to 2.3.2
Bugs Fixed:
* Declare Twine as a development dependency (not a build dependency).
Closes: Pagure #55. Thanks to Jason Andryuk for the report.
Thanks to James Hilliard for the implementation.
* Specify to build a wheel distribution for only Python 3 or later.
* Specify the built package requires Python 3 or later.
Closes: Pagure #66. Thanks to Nick M. for the report and implementation.
Removed:
* The earlier version 2.3.1 is now “yanked” from PyPI (unlisted and not an
installation candidate), because that version incorrectly permitted
installation on Python 2. Thanks to Nick M. for the report.
OBS-URL: https://build.opensuse.org/request/show/1032055
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=38
- update to 2.3.1:
* Avoid operations on a closed stream file when detecting a socket.
* Correct use of names to allow `from daemon import *`.
Changed:
* Speed daemon start time by computing candidate file descriptors once.
* Remove incorrect double-patch of objects in test cases.
* Deprecate helper function `is_socket`.
* Drop backward-compatible helpers that provided Python 2 support.
* declaration of source encoding ‘utf-8’
* absolute_import
* unicode_literals
* module-level metaclass `type`
* unification of str with unicode type
* renamed standard library exceptions and modules
* raise exception from context exception
All these are default behaviour in Python 3 and need no special
handling.
- drop remove_safe_hasattr.patch, remove_double_patch.patch (upstream)
OBS-URL: https://build.opensuse.org/request/show/1007473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=27
* Avoid operations on a closed stream file when detecting a socket.
* Correct use of names to allow `from daemon import *`.
Changed:
* Speed daemon start time by computing candidate file descriptors once.
* Remove incorrect double-patch of objects in test cases.
* Deprecate helper function `is_socket`.
* Drop backward-compatible helpers that provided Python 2 support.
* declaration of source encoding ‘utf-8’
* absolute_import
* unicode_literals
* module-level metaclass `type`
* unification of str with unicode type
* renamed standard library exceptions and modules
* raise exception from context exception
All these are default behaviour in Python 3 and need no special
handling.
- drop remove_safe_hasattr.patch, remove_double_patch.patch (upstream)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=35
* Run the Setuptools `egg-info` command as part of the `build`
command.
* Create the socket and catch “non-socket” errors.
* Only deal with a range of file descriptors if the range is not empty.
* Declare Twine as a build dependency.
* Reformat the change log entries with keepachangelog.com sub-sections.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=26
- Remove unnecessary dependency on python-devel
- Remove unnecessary runtime dependency on docutils
- Update URL to https://pagure.io/python-daemon/
- Update to v2.2.3
* Use custom fake file type for testing `fileno` behaviour.
This works around an incompatibility in Python 2.7 `file` type that
caused test cases to fail.
* Promote the warning for `runner` module to a `DeprecationWarning`.
This has been an unofficial example module from the beginning, and
it will be removed in a future version.
- from v2.2.2
* Remove from the build system specification a white space character
not permitted in TOML format.
* Implement test suite automation in virtualenvs, using Tox.
- from v2.2.1
* Add a :PEP:`518` conformant build system specification (the
``pyproject.toml`` file).
- from v2.2.0
* Correct the description of the return value for
`daemon.is_detach_process_context_required`.
* Set a sensible default for `Distribution.script_name`.
This works around a bug in Setuptools which calls commands before
the `Distribution` is initialised.
* The test suite now relies on the test discovery feature in
‘unittest’. This feature is in Python version 2.7 and later.
* Improve performance of `daemon.close_all_open_files`.
OBS-URL: https://build.opensuse.org/request/show/687400
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=19
- update to version 2.0.5
- update package license: changed upstream to apache-2.0
- point the source URL to pypi
- set a minimum version for python-devel
- remove python-MiniMock from build dependencies
- add python-docutils, python-mock, python-testscenarios,
python-testtools, python-unittest2 as test dependencies
- set a minimum version for python-lockfile
- remove sed call to fix non-executable script: fixed upstream
- run the test during build
- add LICENSE.ASF-2 and doc to package documentation
OBS-URL: https://build.opensuse.org/request/show/306498
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=9