14
0
forked from pool/python-pyee

17 Commits

Author SHA256 Message Date
36e8a72859 Accepting request 1291951 from home:crameleon:branches:devel:languages:python
- Update to 13.0.0
- Add gh-pr184_tests.patch

OBS-URL: https://build.opensuse.org/request/show/1291951
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=31
2025-07-11 11:15:05 +00:00
c96b71cb25 - update to 12.1.1:
* Fixed ReadTheDocs build
  * `build.os` is now a required parameter
  * `python.version` is replaced by `build.tools`
  * New features in `pyee.asyncio.AsyncIOEventEmitter`:
  * `wait_for_complete` method to wait for all running handlers
    to complete execution
  * `cancel` method to cancel execution of all running handlers
  * `complete` property that's `True` when no handlers are
    currently running
  * Updated changelog for v12 release to describe where to find
    alternatives to deprecated and removed imports
  * Add support for Python 3.13
- Enable sle15_python_module_pythons.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=29
2025-02-25 20:37:08 +00:00
c9b697b2c1 Accepting request 1218142 from home:yeey:OpenWebUI
add %{?sle15_python_module_pythons} to spec

OBS-URL: https://build.opensuse.org/request/show/1218142
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=27
2024-10-25 14:41:21 +00:00
b17ae36cee - update to 12.0.0:
* Remove deprecated imports:
   `pyee.BaseEventEmitter`
   `pyee.AsyncIOEventEmitter`
   `pyee.TwistedEventEmitter`
   `pyee.ExecutorEventEmitter`
   `pyee.TrioEventEmitter`
  * Add `PyeeError` which inherits from `PyeeException`, and use
    throughout
  * Deprecate direct use of `PyeeException`
  * Add project URLs to pyproject.toml and PyPI
  * Use ActionLint v2
  * Fix GitHub release action
  Refactor developer setup to use a local virtualenv
  * Fix Python 2.7 in tox
- Fix LICENSE url
- Initial release of python-pyee 3.0.3

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=25
2024-08-31 12:20:27 +00:00
b1981f1a62 - Update to 11.1.0:
* Support Python 3.12
  * Require Python >= 3.8
  * Update classifiers in `pyproject.toml`
  * Remove package.json/package-lock.json
  * Switch from `setup.py` to `pyproject.toml` (still using setuptools)
  * Minor type annotation bugfixes
  * Store AsyncIO Futures in a set
  * `EventEmitter` supports pickling
  * Dependency on mock removed in favor of unittest.mock
  * Drop 3.7 support
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=23
2024-02-20 04:07:16 +00:00
b32ef4101b Accepting request 1008056 from home:yarunachalam:branches:devel:languages:python
- Update to 2022/02/04 Version 9.0.4
  Add py.typed file to MANIFEST.in (ensures mypy actually respects the type annotations)
- Update to 2022/01/18 Version 9.0.3
  Improve type safety of EventEmitter#on, EventEmitter#add_listener and EventEmitter#listens_to by parameterizing the Handler
  Minor fixes to documentation
- Update to 2022/01/17 Version 9.0.2
  Add tests_require to setup.py, fixing COPR build
  Install as an editable package in environment.yml and requirements_docs.txt, fixing Conda workflows and ReadTheDocs respectively
- Update to 2022/01/17 Version 9.0.1
  Fix regression where EventEmitter#listeners began crashing when called with uninitialized listeners
- Update to 2022/01/17 Version 9.0.0
  Compatibility:
  Drop 3.6 support
  New features:
  New EventEmitter.event_names() method (see PR #96)
  Type annotations and type checking with pyright
  Exprimental pyee.cls module exposing an @evented class decorator and a @on method decorator (see PR #84)
  Moved/deprecated interfaces:
  pyee.TwistedEventEmitter -> pyee.twisted.TwistedEventEmitter
  pyee.AsyncIOEventEmitter -> pyee.asyncio.AsyncIOEventEmitter
  pyee.ExecutorEventEmitter -> pyee.executor.ExecutorEventEmitter
  pyee.TrioEventEmitter -> pyee.trio.TrioEventEmitter
  Removed interfaces:
  pyee.CompatEventEmitter
  Documentation fixes:
  Add docstring to BaseEventEmitter
  Update docstrings to reference EventEmitter instead of BaseEventEmitter throughout
  Developer Setup & CI:
  Migrated builds from Travis to GitHub Actions
  Refactor developer setup to use a local virtualenv

OBS-URL: https://build.opensuse.org/request/show/1008056
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=21
2022-10-05 14:58:38 +00:00
46ab537d0f Accepting request 932514 from home:pgajdos:python
- version update to 8.2.2
  2021/8/14 Version 8.2.1
  -----------
  - Add .readthedocs.yaml file
  - Remove vcversioner dependency from docs build
  2021/8/14 Version 8.2.0
  -----------------------
  - Remove test_requires and setup_requires directives from setup.py (closing #82)
  - Remove vcversioner from dependencies
  - Streamline requirements.txt and environment.yml files
  - Update and extend CONTRIBUTING.rst
  - CI with GitHub Actions instead of Travis (closing #56)
  - Format all code with black
  - Switch default branch to ``main``
  - Add the CHANGELOG to Sphinx docs (closing #51)
  - Updated copyright information

OBS-URL: https://build.opensuse.org/request/show/932514
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=20
2021-11-21 10:59:21 +00:00
b8e741e90a Accepting request 882451 from home:bnavigator:branches:devel:languages:python
- make build requirement specification fit for python39 flavor

OBS-URL: https://build.opensuse.org/request/show/882451
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=18
2021-04-01 10:32:08 +00:00
393fc7a024 Accepting request 864167 from home:bnavigator:branches:devel:languages:python
- Update to 8.1.0
  * Improved thread safety in base EventEmitter
  * Documentation fix in ExecutorEventEmitter
- Changelog for Version 8.0.1
  * Update README to reflect new API
- Changelog for Version 8.0.0
  * Drop support for Python 2.7
  * Remove CompatEventEmitter and rename BaseEventEmitter to
    EventEmitter
  * Create an alias for BaseEventEmitter with a deprecation warning
- Changelog for Version 7.0.4
  * setup_requires vs tests_require now correct
  * tests_require updated to pass in tox
  * 3.7 testing removed from tox
  * 2.7 testing removed from Travis
- Changelog for Version 7.0.3
  * Tag license as MIT in setup.py
  * Update requirements and environment to pip -e the package
- Changelog for Version 7.0.2
  * Support Python 3.8 by attempting to import TimeoutError from
    asyncio.exceptions
  * Add LICENSE to package manifest
  * Add trio testing to tox
  * Add Python 3.8 to tox
  * Fix Python 2.7 in tox 
- Clarify test requirements for different python versions
- Drop python-pyee-import-asyncio.exceptions.patch merged upstream

OBS-URL: https://build.opensuse.org/request/show/864167
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=16
2021-01-18 23:14:18 +00:00
Tomáš Chvátal
7964916f5a Accepting request 788972 from home:pgajdos:python
- version update to 7.0.1
  - Some tweaks to the docs
  - Added a ``TrioEventEmitter`` class for intended use with trio
  - ``AsyncIOEventEmitter`` now correctly handles cancellations
  - Add a new experimental ``pyee.uplift`` API for adding new functionality to
    existing event emitters
- deleted patches
  - fix-build-requirements.patch (upstreamed)

OBS-URL: https://build.opensuse.org/request/show/788972
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=13
2020-03-30 12:52:19 +00:00
Tomáš Chvátal
53b5cb212c Accepting request 697772 from home:pgajdos
- version update to 6.0.0
  * Added a ``BaseEventEmitter`` class which is entirely synchronous and
    intended for simple use and for subclassing
  * Added an ``AsyncIOEventEmitter`` class for intended use with asyncio
  * Added a ``TwistedEventEmitter`` class for intended use with twisted
  * Added an ``ExecutorEventEmitter`` class which runs events in an executor
  * Deprecated ``EventEmitter`` (use one of the new classes)
- modified patches
  % fix-build-requirements.patch (refreshed)

OBS-URL: https://build.opensuse.org/request/show/697772
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=11
2019-04-25 09:33:09 +00:00
ddfaf6489f Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=9
2018-12-04 13:50:44 +00:00
Tomáš Chvátal
a301e0eafc Accepting request 645310 from home:TheBlackCat:branches:devel:languages:python
- python-hamcrest was renamed to python-PyHamcrest

OBS-URL: https://build.opensuse.org/request/show/645310
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=7
2018-10-29 19:06:59 +00:00
222ce982af - Clean up SPEC
- Add missing BuildRequires

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=5
2018-07-19 15:55:13 +00:00
Tomáš Chvátal
88c1c66f53 Accepting request 582442 from home:alarrosa:branches:devel:languages:python
- Fix LICENSE url

OBS-URL: https://build.opensuse.org/request/show/582442
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=3
2018-03-04 20:29:07 +00:00
Tomáš Chvátal
f27c660678 Accepting request 578302 from home:alarrosa:branches:devel:languages:python
- pytest-asyncio was build requirement by pyee's setup.py file, but
  it was only used for tests. On top of that, the python-pytest-asyncio
  package is only available for python3, so now we only do tests on
  python3 and a patch was added to fix the requirements:
  * fix-build-requirements.patch
- Since the tests require at least python 3.5, only run the tests when
  suse_version >= 1500

OBS-URL: https://build.opensuse.org/request/show/578302
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=2
2018-02-20 10:06:59 +00:00
Tomáš Chvátal
b911d5cbca Accepting request 563115 from home:alarrosa:branches:devel:languages:python
New package python-pyee, required by mycroft-core

OBS-URL: https://build.opensuse.org/request/show/563115
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=1
2018-01-10 09:42:59 +00:00