17
0
Commit Graph

59 Commits

Author SHA256 Message Date
96ed0a017d Accepting request 1201440 from devel:languages:python
- Revert to 3.0.1. Version 3.0.2 was yanked from pypi because it
  breaks setuptools
  (https://pagure.io/python-daemon/issue/94, https://pypi.org/project/python-daemon/3.0.2/)
- Add patch explicit-packaging.patch to fix issue with current
  setuptools: https://pagure.io/python-daemon/issue/73

OBS-URL: https://build.opensuse.org/request/show/1201440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=32
2024-09-17 16:17:42 +00:00
8ae88984a2 - Add patch explicit-packaging.patch to fix issue with current
setuptools: https://pagure.io/python-daemon/issue/73

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=47
2024-09-16 14:24:20 +00:00
5a3c0681e1 - Revert to 3.0.1. Version 3.0.2 was yanked from pypi because it
breaks setuptools
  (https://pagure.io/python-daemon/issue/94, https://pypi.org/project/python-daemon/3.0.2/)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=46
2024-09-16 14:19:04 +00:00
b82d07f929 Accepting request 1197679 from devel:languages:python
- Upate to 3.0.2:
  * Migrate to use the explicitly-maintained ‘packaging’ library.
  * Clarify copyright and grants of license.
  * Migrate to PEP 517 simple build system for Python distribution.
  * Remove dynamically-constructed non-standard metadata attributes.
- Switch to pagure source URL.

OBS-URL: https://build.opensuse.org/request/show/1197679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=31
2024-08-30 11:32:44 +00:00
95072de4f1 - Upate to 3.0.2:
* Migrate to use the explicitly-maintained ‘packaging’ library.
  * Clarify copyright and grants of license.
  * Migrate to PEP 517 simple build system for Python distribution.
  * Remove dynamically-constructed non-standard metadata attributes.
- Switch to pagure source URL.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=44
2024-08-30 04:51:03 +00:00
30c5008a08 Accepting request 1133522 from devel:languages:python
- 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
2023-12-17 20:31:38 +00:00
71b0f22839 - 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/package/show/devel:languages:python/python-python-daemon?expand=0&rev=42
2023-12-15 21:31:29 +00:00
5a38f6c274 Accepting request 1085085 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1085085
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=29
2023-05-06 20:09:11 +00:00
7c971e08ab Accepting request 1085055 from home:ojkastl_buildservice:Branch_devel_languages_python
add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1085055
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=40
2023-05-05 12:21:27 +00:00
d2f810d680 Accepting request 1032449 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1032449
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=28
2022-10-31 12:26:24 +00:00
78dcc8d61c Accepting request 1032055 from home:yarunachalam:branches:devel:languages:python
- 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
2022-10-31 10:19:24 +00:00
79b601c3aa Accepting request 1007473 from devel:languages:python
- 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
2022-10-03 11:45:40 +00:00
c0f592c311 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=36 2022-10-01 17:21:08 +00:00
3e3fcd6b5b - 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/package/show/devel:languages:python/python-python-daemon?expand=0&rev=35
2022-10-01 17:20:52 +00:00
2637f7cb42 Accepting request 963041 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/963041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=26
2022-03-22 18:36:09 +00:00
e867dd2210 Accepting request 963011 from home:ecsos
- Add missing BuildRequires python-importlib_resources
  to fix build error in leap.

OBS-URL: https://build.opensuse.org/request/show/963011
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=33
2022-03-19 12:14:01 +00:00
1bdbcbb190 Accepting request 946125 from devel:languages:python
- Add remove_double_patch.patch and remove_safe_hasattr.patch to
  fix https://pagure.io/python-daemon/issue/53
- Remove pytest as the test runner (apparently, the package
  requires python3 -munittest discovery).

OBS-URL: https://build.opensuse.org/request/show/946125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=25
2022-01-13 22:21:11 +00:00
682dc164a9 - Add remove_double_patch.patch and remove_safe_hasattr.patch to
fix https://pagure.io/python-daemon/issue/53
- Remove pytest as the test runner (apparently, the package
  requires python3 -munittest discovery).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=32
2022-01-13 12:32:18 +00:00
5463313c3f Accepting request 887875 from devel:languages:python
- update to 2.3.0:
  * Remove support for Python versions older than Python 3.
    Python 2 has been unsupported by the Python project since 2020.
  * Remove dependency on back-ported `unittest2` and `mock`.
    Depend instead on standard library `unittest` and `unittest.mock`.

OBS-URL: https://build.opensuse.org/request/show/887875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=24
2021-04-24 21:08:34 +00:00
5eac8a2878 - update to 2.3.0:
* Remove support for Python versions older than Python 3.
    Python 2 has been unsupported by the Python project since 2020.
  * Remove dependency on back-ported `unittest2` and `mock`.
    Depend instead on standard library `unittest` and `unittest.mock`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=30
2021-04-22 19:50:56 +00:00
a71466f3ee Accepting request 869533 from devel:languages:python
- Switch off running of the test suite
  (https://pagure.io/python-daemon/issue/53).

OBS-URL: https://build.opensuse.org/request/show/869533
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=23
2021-02-04 19:24:50 +00:00
42baaa8d9f - Switch off running of the test suite
(https://pagure.io/python-daemon/issue/53).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=28
2021-02-04 16:56:43 +00:00
cbb579224a Accepting request 780388 from devel:languages:python
- update to 2.2.4:
  * 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/request/show/780388
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=22
2020-03-03 09:15:08 +00:00
9c47a76d6e - update to 2.2.4:
* 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
2020-02-28 21:42:47 +00:00
1630711213 Accepting request 702977 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/702977
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=21
2019-05-16 20:06:41 +00:00
Tomáš Chvátal
fa3b106f65 Accepting request 702976 from home:jesusaur:branches:devel:languages:python
- Skip broken test

OBS-URL: https://build.opensuse.org/request/show/702976
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=24
2019-05-14 20:38:53 +00:00
7e616d4f24 Accepting request 697401 from devel:languages:python
- Rebuild for jsc#SLE-5706 to be sent to SUSE:SLE-12-SP5:GA.

OBS-URL: https://build.opensuse.org/request/show/697401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=20
2019-04-30 11:00:19 +00:00
a17065b84d - Rebuild for jsc#SLE-5706 to be sent to SUSE:SLE-12-SP5:GA.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=22
2019-04-24 09:03:06 +00:00
e5d55a7fd5 Accepting request 687566 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/687566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=19
2019-03-22 14:12:00 +00:00
Tomáš Chvátal
0ec4abf614 Accepting request 687433 from home:jayvdb:coala:test-rig
- Add missing GPL license file
- Add README to %doc
- Drop extra 'doc' subdirectory under %doc
- Remove docutils from installed egg-info

OBS-URL: https://build.opensuse.org/request/show/687433
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=20
2019-03-22 10:20:04 +00:00
Tomáš Chvátal
9e67eece27 Accepting request 687400 from home:jayvdb:coala:test-rig
- 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
2019-03-21 16:57:22 +00:00
be111d3624 Accepting request 628991 from devel:languages:python
Remove dependency on unittest2

OBS-URL: https://build.opensuse.org/request/show/628991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=18
2018-08-24 15:04:08 +00:00
08461d9297 Remove dependency on unittest2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=17
2018-08-13 13:30:48 +00:00
3293172355 Accepting request 533011 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/533011
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=17
2017-10-21 18:21:25 +00:00
Jan Matejek
2e25f147f7 Accepting request 533010 from devel:languages:python:singlespec-staging
- singlespec auto-conversion
- update requirements
- use pytest as test runner
- update to 2.1.2
  * Ensure custom types are part of the Python type hierarchy.
  * Raise a warning that the ‘runner’ module is pending deprecation.
    This has been an unofficial example module from the beginning, and
    it will be removed in a future version.

OBS-URL: https://build.opensuse.org/request/show/533010
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=14
2017-10-10 13:26:46 +00:00
0e4e0c1e89 Accepting request 357160 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/357160
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=16
2016-02-16 08:18:20 +00:00
Jan Matejek
d562c3d746 Accepting request 357097 from home:stroeder:branches:devel:languages:python
update to bugfix release 2.1.1

OBS-URL: https://build.opensuse.org/request/show/357097
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=13
2016-02-01 14:30:23 +00:00
Todd R
9e30769cd4 Accepting request 347851 from home:tbechtold:branches:devel:languages:python
- update to 2.1.0:
  * Add a DaemonContext option, ‘initgroups’, which specifies whether to
    set the daemon process's supplementary groups.
  * Set the process groups using ‘os.initgroups’.
    Thanks to Malcolm Purvis for contributing an implementation of this
    feature.

OBS-URL: https://build.opensuse.org/request/show/347851
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=12
2015-12-09 07:31:51 +00:00
1d66d2cd21 Accepting request 328819 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/328819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=15
2015-09-08 15:39:27 +00:00
Todd R
5ef08d3852 Accepting request 328818 from home:TheBlackCat:branches:devel:languages:python
Update to 2.0.6

OBS-URL: https://build.opensuse.org/request/show/328818
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=11
2015-09-03 14:21:32 +00:00
096693b5c2 Accepting request 308782 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/308782
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=14
2015-05-27 10:50:07 +00:00
2f487a3d87 Accepting request 308740 from home:jkeil:branches:devel:languages:python
- Fix License issue

OBS-URL: https://build.opensuse.org/request/show/308740
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=10
2015-05-26 13:50:02 +00:00
Denisart Benjamin
a9dc805f5d Accepting request 306498 from home:benoit_monin:branches:devel:languages:python
- 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
2015-05-16 12:54:36 +00:00
Tomáš Chvátal
ba21b05814 Accepting request 204638 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/204638
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=12
2013-10-25 09:30:01 +00:00
Sascha Peilicke
703c8a96e0 - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=8
2013-10-24 11:12:39 +00:00
Stephan Kulow
f53c6a8f38 Accepting request 142596 from devel:languages:python
- Correctly provide/obsolete python-daemon
- Spec file cleanup

OBS-URL: https://build.opensuse.org/request/show/142596
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=9
2012-11-25 13:02:27 +00:00
Sascha Peilicke
1f614ed6c5 - Correctly provide/obsolete python-daemon
- Spec file cleanup

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=7
2012-11-23 14:05:26 +00:00
Stephan Kulow
d597aab450 Accepting request 114402 from devel:languages:python
- BuildRequire lowercase python-minimock 
- to also work with the existing 11.4 package (forwarded request 114329 from bmwiedemann)

OBS-URL: https://build.opensuse.org/request/show/114402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=7
2012-04-20 13:19:46 +00:00
Sascha Peilicke
5ac4923636 Accepting request 114329 from Virtualization:Cloud:OpenStack:Diablo
- BuildRequire lowercase python-minimock 
- to also work with the existing 11.4 package

OBS-URL: https://build.opensuse.org/request/show/114329
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=6
2012-04-18 12:57:44 +00:00
Stephan Kulow
ff727ffa1e Accepting request 103941 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/103941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=6
2012-02-17 14:01:12 +00:00