commit python-pyee for openSUSE:Factory

2024-02-20 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyee for openSUSE:Factory 
checked in at 2024-02-20 21:14:51

Comparing /work/SRC/openSUSE:Factory/python-pyee (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyee.new.1706 (New)


Package is "python-pyee"

Tue Feb 20 21:14:51 2024 rev:11 rq:1147686 version:11.1.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pyee/python-pyee.changes  2022-10-06 
07:42:46.868764385 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyee.new.1706/python-pyee.changes
2024-02-20 21:15:05.343510313 +0100
@@ -1,0 +2,16 @@
+Tue Feb 20 04:06:27 UTC 2024 - Steve Kowalik 
+
+- 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.
+
+---

Old:

  pyee-9.0.4.tar.gz

New:

  pyee-11.1.0.tar.gz



Other differences:
--
++ python-pyee.spec ++
--- /var/tmp/diff_new_pack.ToduxE/_old  2024-02-20 21:15:05.883531269 +0100
+++ /var/tmp/diff_new_pack.ToduxE/_new  2024-02-20 21:15:05.887531424 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyee
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,27 +16,26 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
 Name:   python-pyee
-Version:9.0.4
+Version:11.1.0
 Release:0
 Summary:A port of node.js's EventEmitter to python
 License:MIT
-Group:  Development/Languages/Python
 URL:https://github.com/jfhbrook/pyee
 Source: 
https://files.pythonhosted.org/packages/source/p/pyee/pyee-%{version}.tar.gz
-BuildRequires:  %{python_module PyHamcrest}
+BuildRequires:  %{python_module base >= 3.8}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module vcversioner}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:   python-typing_extensions
 BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module Twisted}
 BuildRequires:  %{python_module pytest-asyncio}
-BuildRequires:  %{python_module pytest-trio if %python-base >= 3.7}
-BuildRequires:  %{python_module trio if %python-base >= 3.7}
+BuildRequires:  %{python_module pytest-trio}
 # /SECTION
 %python_subpackages
 
@@ -46,21 +45,20 @@
 
 %prep
 %setup -q -n pyee-%{version}
-sed -i 's/^from mock import/from unittest.mock import/' tests/test_*.py
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest
 
 %files %{python_files}
-%doc README.rst
+%doc README.md
 %license LICENSE
 %{python_sitelib}/pyee
-%{python_sitelib}/pyee-%{version}*-info
+%{python_sitelib}/pyee-%{version}.dist-info
 

++ pyee-9.0.4.tar.gz -> pyee-11.1.0.tar.gz ++
 3384 lines of diff (skipped)


commit python-pyee for openSUSE:Factory

2022-10-05 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyee for openSUSE:Factory 
checked in at 2022-10-06 07:42:34

Comparing /work/SRC/openSUSE:Factory/python-pyee (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyee.new.2275 (New)


Package is "python-pyee"

Thu Oct  6 07:42:34 2022 rev:10 rq:1008243 version:9.0.4

Changes:

--- /work/SRC/openSUSE:Factory/python-pyee/python-pyee.changes  2021-11-21 
23:52:39.554160640 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyee.new.2275/python-pyee.changes
2022-10-06 07:42:46.868764385 +0200
@@ -1,0 +2,38 @@
+Wed Oct  5 00:02:22 UTC 2022 - Yogalakshmi Arunachalam 
+
+- 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 
+
+---

Old:

  pyee-8.2.2.tar.gz

New:

  pyee-9.0.4.tar.gz



Other differences:
--
++ python-pyee.spec ++
--- /var/tmp/diff_new_pack.XIHTtV/_old  2022-10-06 07:42:47.548765899 +0200
+++ /var/tmp/diff_new_pack.XIHTtV/_new  2022-10-06 07:42:47.556765916 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyee
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-pyee
-Version:8.2.2
+Version:9.0.4
 Release:0
 Summary:A port of node.js's EventEmitter to python
 License:MIT

++ pyee-8.2.2.tar.gz -> pyee-9.0.4.tar.gz ++
 2107 lines of diff (skipped)


commit python-pyee for openSUSE:Factory

2021-11-21 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyee for openSUSE:Factory 
checked in at 2021-11-21 23:52:10

Comparing /work/SRC/openSUSE:Factory/python-pyee (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyee.new.1895 (New)


Package is "python-pyee"

Sun Nov 21 23:52:10 2021 rev:9 rq:932769 version:8.2.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pyee/python-pyee.changes  2021-04-01 
14:19:52.456200942 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyee.new.1895/python-pyee.changes
2021-11-21 23:52:39.554160640 +0100
@@ -1,0 +2,20 @@
+Fri Nov 19 11:43:43 UTC 2021 - pgaj...@suse.com
+
+- 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
+
+---

Old:

  pyee-8.1.0.tar.gz

New:

  pyee-8.2.2.tar.gz



Other differences:
--
++ python-pyee.spec ++
--- /var/tmp/diff_new_pack.tZrvaP/_old  2021-11-21 23:52:40.082158939 +0100
+++ /var/tmp/diff_new_pack.tZrvaP/_new  2021-11-21 23:52:40.082158939 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-pyee
-Version:8.1.0
+Version:8.2.2
 Release:0
 Summary:A port of node.js's EventEmitter to python
 License:MIT
@@ -46,7 +46,6 @@
 
 %prep
 %setup -q -n pyee-%{version}
-sed -i '/pytest-runner/ d' setup.py
 sed -i 's/^from mock import/from unittest.mock import/' tests/test_*.py
 
 %build

++ pyee-8.1.0.tar.gz -> pyee-8.2.2.tar.gz ++
 1688 lines of diff (skipped)


commit python-pyee for openSUSE:Factory

2021-04-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyee for openSUSE:Factory 
checked in at 2021-04-01 14:18:16

Comparing /work/SRC/openSUSE:Factory/python-pyee (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyee.new.2401 (New)


Package is "python-pyee"

Thu Apr  1 14:18:16 2021 rev:8 rq:882538 version:8.1.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pyee/python-pyee.changes  2021-01-19 
16:03:15.003475543 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyee.new.2401/python-pyee.changes
2021-04-01 14:19:52.456200942 +0200
@@ -1,0 +2,5 @@
+Wed Mar 31 14:14:22 UTC 2021 - Ben Greiner 
+
+- make build requirement specification fit for python39 flavor
+
+---



Other differences:
--
++ python-pyee.spec ++
--- /var/tmp/diff_new_pack.uyGjii/_old  2021-04-01 14:19:52.944201594 +0200
+++ /var/tmp/diff_new_pack.uyGjii/_new  2021-04-01 14:19:52.944201594 +0200
@@ -35,8 +35,8 @@
 # SECTION test requirements
 BuildRequires:  %{python_module Twisted}
 BuildRequires:  %{python_module pytest-asyncio}
-BuildRequires:  (python38-pytest-trio if python38-base else 
(python3-pytest-trio if python3-base >= 3.7))
-BuildRequires:  (python38-trio if python38-base else (python3-trio if 
python3-base >= 3.7))
+BuildRequires:  %{python_module pytest-trio if %python-base >= 3.7}
+BuildRequires:  %{python_module trio if %python-base >= 3.7}
 # /SECTION
 %python_subpackages
 


commit python-pyee for openSUSE:Factory

2021-01-19 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyee for openSUSE:Factory 
checked in at 2021-01-19 16:02:48

Comparing /work/SRC/openSUSE:Factory/python-pyee (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyee.new.28504 (New)


Package is "python-pyee"

Tue Jan 19 16:02:48 2021 rev:7 rq:864168 version:8.1.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pyee/python-pyee.changes  2020-03-31 
17:14:31.219599976 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyee.new.28504/python-pyee.changes   
2021-01-19 16:03:15.003475543 +0100
@@ -1,0 +2,31 @@
+Mon Jan 18 22:37:12 UTC 2021 - Benjamin Greiner 
+
+- 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
+
+---

Old:

  LICENSE
  pyee-7.0.1.tar.gz
  python-pyee-import-asyncio.exceptions.patch

New:

  pyee-8.1.0.tar.gz



Other differences:
--
++ python-pyee.spec ++
--- /var/tmp/diff_new_pack.LrvAu2/_old  2021-01-19 16:03:15.703476595 +0100
+++ /var/tmp/diff_new_pack.LrvAu2/_new  2021-01-19 16:03:15.707476602 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyee
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,15 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:   python-pyee
-Version:7.0.1
+Version:8.1.0
 Release:0
 Summary:A port of node.js's EventEmitter to python
 License:MIT
 Group:  Development/Languages/Python
 URL:https://github.com/jfhbrook/pyee
 Source: 
https://files.pythonhosted.org/packages/source/p/pyee/pyee-%{version}.tar.gz
-Source99:   https://raw.githubusercontent.com/jfhbrook/pyee/master/LICENSE
-# test_async.py: import asyncio.exception.TimeoutError
-# https://github.com/jfhbrook/pyee/issues/68
-Patch0: python-pyee-import-asyncio.exceptions.patch
 BuildRequires:  %{python_module PyHamcrest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module vcversioner}
@@ -37,10 +34,9 @@
 BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module Twisted}
-BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module pytest-runner}
-BuildRequires:  python3-pytest-asyncio
-BuildRequires:  python3-pytest-trio
+BuildRequires:  %{python_module pytest-asyncio}
+BuildRequires:  (python38-pytest-trio if python38-base else 
(python3-pytest-trio if python3-base >= 3.7))
+BuildRequires:  (python38-trio if python38-base else (python3-trio if 
python3-base >= 3.7))
 # /SECTION
 %python_subpackages
 
@@ -50,9 +46,8 @@
 
 %prep
 %setup -q -n pyee-%{version}
-%patch0 -p1
-# https://github.com/jfhbrook/pyee/issues/58
-cp %{SOURCE99} .
+sed -i '/pytest-runner/ d' setup.py
+sed -i 's/^from mock import/from unittest.mock import/' tests/test_*.py
 
 %build
 %python_build
@@ -62,16 +57,12 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# Only run tests for python3 (see test requirements)
-%{python_expand #
-if [ "${python_flavor}" == "python3" ]; then
-python3 setup.py test
-fi
-}
+%pytest
 
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/pyee
+%{python_sitelib}/pyee-%{version}*-info
 
 %changelog

++ pyee-7.0.1.tar.gz -> pyee-8.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyee-7.0.1/CHANGELOG.rst new/pyee-8.1.0/CHANGELOG.rst
---