commit python-exceptiongroup for openSUSE:Factory

2023-07-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-exceptiongroup for 
openSUSE:Factory checked in at 2023-07-06 18:27:49

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


Package is "python-exceptiongroup"

Thu Jul  6 18:27:49 2023 rev:6 rq:1096944 version:1.1.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-exceptiongroup/python-exceptiongroup.changes  
2023-04-22 22:02:04.397795010 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-exceptiongroup.new.23466/python-exceptiongroup.changes
   2023-07-06 18:27:51.198843854 +0200
@@ -1,0 +2,10 @@
+Tue Jul  4 22:32:27 UTC 2023 - Matej Cepl 
+
+- Update to 1.1.2:
+  - Changed handling of exceptions in exception group handler
+callbacks to not wrap a single exception in an exception
+group, as per CPython issue gh#python/cpython#103590.
+- Add skip-test_catch_handler_raises-for-older-311.patch 
+  (gh#agronholm/exceptiongroup#64).
+
+---

Old:

  exceptiongroup-1.1.1-gh.tar.gz

New:

  exceptiongroup-1.1.2-gh.tar.gz
  skip-test_catch_handler_raises-for-older-311.patch



Other differences:
--
++ python-exceptiongroup.spec ++
--- /var/tmp/diff_new_pack.A9XmxV/_old  2023-07-06 18:27:51.898848150 +0200
+++ /var/tmp/diff_new_pack.A9XmxV/_new  2023-07-06 18:27:51.902848176 +0200
@@ -29,12 +29,15 @@
 
 %{?sle15_python_module_pythons}
 Name:   python-exceptiongroup%{psuffix}
-Version:1.1.1
+Version:1.1.2
 Release:0
 Summary:Backport of PEP 654 (exception groups)
 License:MIT AND Python-2.0
 URL:https://github.com/agronholm/exceptiongroup
 Source: 
https://github.com/agronholm/exceptiongroup/archive/refs/tags/%{version}.tar.gz#/exceptiongroup-%{version}-gh.tar.gz
+# PATCH-FIX-UPSTREAM skip-test_catch_handler_raises-for-older-311.patch 
gh#agronholm/exceptiongroup#64 mc...@suse.com
+# Skip test_catch_handler_raises() on Python 3.11 if the Python version is 
less than 3.11.4
+Patch0: skip-test_catch_handler_raises-for-older-311.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module flit-scm}
 BuildRequires:  %{python_module pip}
@@ -75,7 +78,7 @@
 and the exception hook won't be installed.
 
 %prep
-%setup -q -n exceptiongroup-%{version}
+%autosetup -p1 -n exceptiongroup-%{version}
 
 %if !%{with test}
 %build

++ exceptiongroup-1.1.1-gh.tar.gz -> exceptiongroup-1.1.2-gh.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/exceptiongroup-1.1.1/.github/workflows/test.yml 
new/exceptiongroup-1.1.2/.github/workflows/test.yml
--- old/exceptiongroup-1.1.1/.github/workflows/test.yml 2023-03-12 
22:27:24.0 +0100
+++ new/exceptiongroup-1.1.2/.github/workflows/test.yml 2023-07-03 
11:53:03.0 +0200
@@ -27,7 +27,7 @@
 strategy:
   fail-fast: false
   matrix:
-python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", pypy-3.8]
+python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", 
pypy-3.10]
 runs-on: ubuntu-latest
 steps:
 - uses: actions/checkout@v3
@@ -35,30 +35,24 @@
   uses: actions/setup-python@v4
   with:
 python-version: ${{ matrix.python-version }}
-- uses: actions/cache@v3
-  with:
-path: ~/.cache/pip
-key: pip-test-${{ matrix.python-version }}-${{ matrix.os }}
+allow-prereleases: true
+cache: pip
+cache-dependency-path: pyproject.toml
 - name: Install dependencies
-  run: pip install .[test] coveralls coverage[toml]
+  run: pip install -e .[test] coverage
 - name: Test with pytest
   run: coverage run -m pytest
 - name: Upload Coverage
-  run: coveralls --service=github
-  env:
-GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-COVERALLS_FLAG_NAME: ${{ matrix.test-name }}
-COVERALLS_PARALLEL: true
+  uses: coverallsapp/github-action@v2
+  with:
+parallel: true
 
   coveralls:
 name: Finish Coveralls
 needs: test
 runs-on: ubuntu-latest
-container: python:3-slim
 steps:
 - name: Finished
-  run: |
-pip install coveralls
-coveralls --service=github --finish
-  env:
-GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+  uses: coverallsapp/github-action@v2
+  with:
+parallel-finished: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/exceptiongroup-1.1.1/.gitignore 
new/exceptiongroup-1.1.2/.gitignore
--- old/exceptiongroup-1.1.1/.gitignore 

commit python-exceptiongroup for openSUSE:Factory

2023-04-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-exceptiongroup for 
openSUSE:Factory checked in at 2023-04-22 22:01:08

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


Package is "python-exceptiongroup"

Sat Apr 22 22:01:08 2023 rev:5 rq:1081932 version:1.1.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-exceptiongroup/python-exceptiongroup.changes  
2023-03-17 17:02:26.137106118 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-exceptiongroup.new.1533/python-exceptiongroup.changes
2023-04-22 22:02:04.397795010 +0200
@@ -1,0 +2,10 @@
+Fri Apr 21 12:24:46 UTC 2023 - Dirk Müller 
+
+- add sle15_python_module_pythons (jsc#PED-68)
+
+---
+Thu Apr 13 22:41:07 UTC 2023 - Matej Cepl 
+
+- Make calling of %{sle15modernpython} optional.
+
+---



Other differences:
--
++ python-exceptiongroup.spec ++
--- /var/tmp/diff_new_pack.kwyQAH/_old  2023-04-22 22:02:05.373800846 +0200
+++ /var/tmp/diff_new_pack.kwyQAH/_new  2023-04-22 22:02:05.377800870 +0200
@@ -27,6 +27,7 @@
 %define psuffix %{nil}
 %endif
 
+%{?sle15_python_module_pythons}
 Name:   python-exceptiongroup%{psuffix}
 Version:1.1.1
 Release:0


commit python-exceptiongroup for openSUSE:Factory

2023-03-17 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-exceptiongroup for 
openSUSE:Factory checked in at 2023-03-17 17:02:05

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


Package is "python-exceptiongroup"

Fri Mar 17 17:02:05 2023 rev:4 rq:1071876 version:1.1.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-exceptiongroup/python-exceptiongroup.changes  
2023-01-06 17:05:06.836032514 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-exceptiongroup.new.31432/python-exceptiongroup.changes
   2023-03-17 17:02:26.137106118 +0100
@@ -1,0 +2,9 @@
+Tue Mar 14 22:18:18 UTC 2023 - Dirk Müller 
+
+- update to 1.1.1:
+  * Worked around `CPython issue #98778
+``urllib.error.HTTPError(..., fp=None)`` raises
+``KeyError`` on unknown attribute access, on affected
+Python versions.
+
+---

Old:

  exceptiongroup-1.1.0-gh.tar.gz

New:

  exceptiongroup-1.1.1-gh.tar.gz



Other differences:
--
++ python-exceptiongroup.spec ++
--- /var/tmp/diff_new_pack.OnNRa3/_old  2023-03-17 17:02:26.669108905 +0100
+++ /var/tmp/diff_new_pack.OnNRa3/_new  2023-03-17 17:02:26.673108926 +0100
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,7 +28,7 @@
 %endif
 
 Name:   python-exceptiongroup%{psuffix}
-Version:1.1.0
+Version:1.1.1
 Release:0
 Summary:Backport of PEP 654 (exception groups)
 License:MIT AND Python-2.0

++ exceptiongroup-1.1.0-gh.tar.gz -> exceptiongroup-1.1.1-gh.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/exceptiongroup-1.1.0/.pre-commit-config.yaml 
new/exceptiongroup-1.1.1/.pre-commit-config.yaml
--- old/exceptiongroup-1.1.0/.pre-commit-config.yaml2022-12-23 
10:04:49.0 +0100
+++ new/exceptiongroup-1.1.1/.pre-commit-config.yaml2023-03-12 
22:27:24.0 +0100
@@ -16,7 +16,7 @@
   - id: trailing-whitespace
 
 - repo: https://github.com/pycqa/isort
-  rev: v5.11.3
+  rev: 5.12.0
   hooks:
   - id: isort
 
@@ -27,7 +27,7 @@
 args: ["--py37-plus", "--keep-runtime-typing"]
 
 - repo: https://github.com/psf/black
-  rev: 22.12.0
+  rev: 23.1.0
   hooks:
   - id: black
 exclude: "tests/test_catch_py311.py"
@@ -40,7 +40,7 @@
 exclude: "tests/test_catch_py311.py"
 
 - repo: https://github.com/pre-commit/pygrep-hooks
-  rev: v1.9.0
+  rev: v1.10.0
   hooks:
   - id: python-check-blanket-noqa
   - id: python-check-blanket-type-ignore
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/exceptiongroup-1.1.0/CHANGES.rst 
new/exceptiongroup-1.1.1/CHANGES.rst
--- old/exceptiongroup-1.1.0/CHANGES.rst2022-12-23 10:04:49.0 
+0100
+++ new/exceptiongroup-1.1.1/CHANGES.rst2023-03-12 22:27:24.0 
+0100
@@ -3,6 +3,13 @@
 
 This library adheres to `Semantic Versioning 2.0 `_.
 
+**1.1.1**
+
+- Worked around
+  `CPython issue #98778 `_,
+  ``urllib.error.HTTPError(..., fp=None)`` raises ``KeyError`` on unknown 
attribute
+  access, on affected Python versions. (PR by Zac Hatfield-Dodds)
+
 **1.1.0**
 
 - Backported upstream fix for gh-99553 (custom subclasses of 
``BaseExceptionGroup`` that
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/exceptiongroup-1.1.0/src/exceptiongroup/_exceptions.py 
new/exceptiongroup-1.1.1/src/exceptiongroup/_exceptions.py
--- old/exceptiongroup-1.1.0/src/exceptiongroup/_exceptions.py  2022-12-23 
10:04:49.0 +0100
+++ new/exceptiongroup-1.1.1/src/exceptiongroup/_exceptions.py  2023-03-12 
22:27:24.0 +0100
@@ -171,9 +171,10 @@
 __condition: type[_BaseExceptionT]
 | tuple[type[_BaseExceptionT], ...]
 | Callable[[_BaseExceptionT_co], bool],
-) -> tuple[BaseExceptionGroup[_BaseExceptionT] | None, Self | None] | 
tuple[
-Self | None, Self | None
-]:
+) -> (
+tuple[BaseExceptionGroup[_BaseExceptionT] | None, Self | None]
+| tuple[Self | None, Self | None]
+):
 condition = get_condition_filter(__condition)
 if condition(self):
 return self, None
@@ -274,7 +275,8 @@
 __condition: type[_ExceptionT]
 | tuple[type[_ExceptionT], ...]
 | Callable[[_ExceptionT_co], bool],
-) 

commit python-exceptiongroup for openSUSE:Factory

2023-01-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-exceptiongroup for 
openSUSE:Factory checked in at 2023-01-06 17:04:40

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


Package is "python-exceptiongroup"

Fri Jan  6 17:04:40 2023 rev:3 rq:1045050 version:1.1.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-exceptiongroup/python-exceptiongroup.changes  
2022-10-28 19:28:55.130447339 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-exceptiongroup.new.1563/python-exceptiongroup.changes
2023-01-06 17:05:06.836032514 +0100
@@ -1,0 +2,32 @@
+Fri Dec 23 15:24:56 UTC 2022 - Ben Greiner 
+
+- Update to 1.1.0
+  * Backported upstream fix for gh-99553 (custom subclasses of
+BaseExceptionGroup that also inherit from Exception should not
+be able to wrap base exceptions)
+  * Moved all initialization code to __new__() (thus matching
+Python 3.11 behavior)
+- Fix multibuild
+
+---
+Mon Dec 19 10:08:40 UTC 2022 - Dirk Müller 
+
+- split tests into multibuild to solve cycle with pytest
+
+---
+Thu Dec  1 09:42:08 UTC 2022 - Johannes Kastl 
+
+- update to 1.0.4:
+  * Fixed regression introduced in v1.0.3 where the code computing the 
suggestions would assume that both the obj attribute of AttributeError is 
always available, even though this is only true from Python 3.10 onwards (#43; 
PR by Carl Friedrich Bolz-Tereick)
+- update to 1.0.3:
+  * Fixed monkey patching breaking suggestions (on a NameError or 
AttributeError) on Python 3.10 (#41; PR by Carl Friedrich Bolz-Tereick)
+- update to 1.0.2:
+  * Updated type annotations to match the ones in typeshed
+- update to 1.0.1:
+  * Fixed formatted traceback missing exceptions beyond 2 nesting levels of 
__context__ or __cause__
+- update to 1.0.0:
+  * Fixed AttributeError: 'PatchedTracebackException' object has no attribute 
'__cause__' on Python 3.10 (only) when a traceback is printed from an exception 
where an exception group is set as the cause (#33)
+  * Fixed a loop in exception groups being rendered incorrectly (#35)
+  * Fixed the patched formatting functions (format_exception()``etc.) not 
passing the ``compact=True flag on Python 3.10 like the original functions do
+
+---

Old:

  exceptiongroup-1.0.0rc9-gh.tar.gz

New:

  _multibuild
  exceptiongroup-1.1.0-gh.tar.gz



Other differences:
--
++ python-exceptiongroup.spec ++
--- /var/tmp/diff_new_pack.1dzVh6/_old  2023-01-06 17:05:07.288035053 +0100
+++ /var/tmp/diff_new_pack.1dzVh6/_new  2023-01-06 17:05:07.292035075 +0100
@@ -1,5 +1,5 @@
 #
-# spec file for package python-exceptiongroup
+# spec file
 #
 # Copyright (c) 2022 SUSE LLC
 #
@@ -16,18 +16,31 @@
 #
 
 
-%define pyversion 1.0.0rc9
-Name:   python-exceptiongroup
-Version:1.0.0~rc9
+# This is not only because of dependency of testsuite, but mostly
+# because of cyclical dependencies between exceptiongroup and pytest.
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%bcond_without test
+%define psuffix -test
+%else
+%bcond_with test
+%define psuffix %{nil}
+%endif
+
+Name:   python-exceptiongroup%{psuffix}
+Version:1.1.0
 Release:0
 Summary:Backport of PEP 654 (exception groups)
 License:MIT AND Python-2.0
 URL:https://github.com/agronholm/exceptiongroup
-Source: 
https://github.com/agronholm/exceptiongroup/archive/refs/tags/%{pyversion}.tar.gz#/exceptiongroup-%{pyversion}-gh.tar.gz
+Source: 
https://github.com/agronholm/exceptiongroup/archive/refs/tags/%{version}.tar.gz#/exceptiongroup-%{version}-gh.tar.gz
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module flit-scm}
 BuildRequires:  %{python_module pip}
+%if %{with test}
+BuildRequires:  %{python_module exceptiongroup = %{version}}
 BuildRequires:  %{python_module pytest}
+%endif
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:  noarch
@@ -61,23 +74,29 @@
 and the exception hook won't be installed.
 
 %prep
-%setup -q -n exceptiongroup-%{pyversion}
+%setup -q -n exceptiongroup-%{version}
 
+%if !%{with test}
 %build
-export SETUPTOOLS_SCM_PRETEND_VERSION=%{pyversion}
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
 %pyproject_wheel
 
 %install
 %pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
+%if %{with test}
 %check
 %pytest
+%endif
 
+%if !%{with test}
 %files %{python_files}
 %doc README.rst
 %license 

commit python-exceptiongroup for openSUSE:Factory

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

here is the log from the commit of package python-exceptiongroup for 
openSUSE:Factory checked in at 2022-10-28 19:28:53

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


Package is "python-exceptiongroup"

Fri Oct 28 19:28:53 2022 rev:2 rq:1031409 version:1.0.0~rc9

Changes:

--- 
/work/SRC/openSUSE:Factory/python-exceptiongroup/python-exceptiongroup.changes  
2022-10-12 18:24:40.677662442 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-exceptiongroup.new.2275/python-exceptiongroup.changes
2022-10-28 19:28:55.130447339 +0200
@@ -1,0 +2,5 @@
+Wed Oct 26 19:53:01 UTC 2022 - Matej Cepl 
+
+- The package actually builds with Python 3.11.
+
+---



Other differences:
--
++ python-exceptiongroup.spec ++
--- /var/tmp/diff_new_pack.0RNTPI/_old  2022-10-28 19:28:55.642449906 +0200
+++ /var/tmp/diff_new_pack.0RNTPI/_new  2022-10-28 19:28:55.646449926 +0200
@@ -17,7 +17,6 @@
 
 
 %define pyversion 1.0.0rc9
-%define skip_python311 1
 Name:   python-exceptiongroup
 Version:1.0.0~rc9
 Release:0
@@ -25,7 +24,7 @@
 License:MIT AND Python-2.0
 URL:https://github.com/agronholm/exceptiongroup
 Source: 
https://github.com/agronholm/exceptiongroup/archive/refs/tags/%{pyversion}.tar.gz#/exceptiongroup-%{pyversion}-gh.tar.gz
-BuildRequires:  %{python_module base >= 3.7 with %python-base < 3.11}
+BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module flit-scm}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}