Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-rt for openSUSE:Factory 
checked in at 2025-09-08 09:56:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rt (Old)
 and      /work/SRC/openSUSE:Factory/.python-rt.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rt"

Mon Sep  8 09:56:54 2025 rev:24 rq:1302959 version:3.3.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rt/python-rt.changes      2025-03-11 
20:45:46.583342958 +0100
+++ /work/SRC/openSUSE:Factory/.python-rt.new.1977/python-rt.changes    
2025-09-08 09:57:27.214217015 +0200
@@ -1,0 +2,10 @@
+Fri Sep  5 20:03:55 UTC 2025 - Dirk Müller <[email protected]>
+
+- update to 3.3.6:
+  * Catch *TransportError* from httpx and re-raise as
+    *ConnectionError* so that httpx transport error exceptions do
+    not leak (fixes #109).
+  * There was still a comparison issue, fix bad date comparison
+    (fixes #107)
+
+-------------------------------------------------------------------

Old:
----
  rt-3.3.4.tar.gz

New:
----
  rt-3.3.6.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-rt.spec ++++++
--- /var/tmp/diff_new_pack.oIXt00/_old  2025-09-08 09:57:28.502270550 +0200
+++ /var/tmp/diff_new_pack.oIXt00/_new  2025-09-08 09:57:28.502270550 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-rt
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-rt
-Version:        3.3.4
+Version:        3.3.6
 Release:        0
 Summary:        Python interface to Request Tracker API
 License:        GPL-3.0-only

++++++ rt-3.3.4.tar.gz -> rt-3.3.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-rt-3.3.4/.github/workflows/test_lint.yml 
new/python-rt-3.3.6/.github/workflows/test_lint.yml
--- old/python-rt-3.3.4/.github/workflows/test_lint.yml 2025-03-03 
14:22:48.000000000 +0100
+++ new/python-rt-3.3.6/.github/workflows/test_lint.yml 2025-04-24 
15:35:48.000000000 +0200
@@ -34,7 +34,7 @@
       - name: Install dependencies
         run: |
           python3 -m pip install uv
-          uv sync --extra test
+          uv sync --group test
 
       - name: Test with pytest
         run: |
@@ -62,7 +62,7 @@
       - name: Install dependencies
         run: |
           python3 -m pip install uv
-          uv sync --extra test
+          uv sync --group test
           uv pip install coverage[toml]
 
       - name: Generate coverage data
@@ -92,7 +92,7 @@
 
       - run: |
           python3 -m pip install uv
-          uv sync --extra dev
+          uv sync --group dev
 
       - name: mypy
         run: uv run mypy --config-file pyproject.toml rt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-rt-3.3.4/CHANGELOG.md 
new/python-rt-3.3.6/CHANGELOG.md
--- old/python-rt-3.3.4/CHANGELOG.md    2025-03-03 14:22:48.000000000 +0100
+++ new/python-rt-3.3.6/CHANGELOG.md    2025-04-24 15:35:48.000000000 +0200
@@ -3,6 +3,18 @@
 
 This project adheres to [Semantic 
Versioning](https://semver.org/spec/v2.0.0.html).
 
+## [v3.3.6], 2025-04-24
+## Fixes
+- Catch *TransportError* from httpx and re-raise as *ConnectionError* so that 
httpx transport error exceptions do not leak (fixes #109).
+
+## [v3.3.5], 2025-04-18
+## Fixes
+- There was still a comparison issue, fix bad date comparison (fixes #107)
+
+## [v3.3.4], 2025-03-03
+## Fixes
+- Fix bad date comparison (fixes #107)
+
 ## [v3.3.3], 2024-12-02
 ## Changes
 - Starting with version 0.28.0 of httpx, *verify* should be either a bool or 
an *SSL Context*.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-rt-3.3.4/pyproject.toml 
new/python-rt-3.3.6/pyproject.toml
--- old/python-rt-3.3.4/pyproject.toml  2025-03-03 14:22:48.000000000 +0100
+++ new/python-rt-3.3.6/pyproject.toml  2025-04-24 15:35:48.000000000 +0200
@@ -33,7 +33,7 @@
 Tracker = "https://github.com/python-rt/python-rt/issues";
 Changelog = "https://github.com/python-rt/python-rt/blob/master/CHANGELOG.md";
 
-[project.optional-dependencies]
+[dependency-groups]
 docs = [
   "sphinx",
   "sphinx-autodoc-typehints",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-rt-3.3.4/rt/rest1.py 
new/python-rt-3.3.6/rt/rest1.py
--- old/python-rt-3.3.4/rt/rest1.py     2025-03-03 14:22:48.000000000 +0100
+++ new/python-rt-3.3.6/rt/rest1.py     2025-04-24 15:35:48.000000000 +0200
@@ -413,7 +413,7 @@
                   ``False``
                       Otherwise
         :raises AuthorizationError: In case that credentials are not supplied 
neither
-                                    during inicialization or call of this 
method.
+                                    during initialization or call of this 
method.
         """
         if (login is not None) and (password is not None):
             login_data = {'user': login, 'pass': password}  # type: 
typing.Optional[typing.Dict[str, str]]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-rt-3.3.4/rt/rest2.py 
new/python-rt-3.3.6/rt/rest2.py
--- old/python-rt-3.3.4/rt/rest2.py     2025-03-03 14:22:48.000000000 +0100
+++ new/python-rt-3.3.6/rt/rest2.py     2025-04-24 15:35:48.000000000 +0200
@@ -201,6 +201,8 @@
             return result
         except httpx.ConnectError as exc:  # pragma: no cover
             raise ConnectionError('Connection error', exc) from exc
+        except httpx.TransportError as exc:  # pragma: no cover
+            raise ConnectionError('Transport error', exc) from exc
 
     def __request_put(
         self,
@@ -240,6 +242,8 @@
             return result
         except httpx.ConnectError as exc:  # pragma: no cover
             raise ConnectionError('Connection error', exc) from exc
+        except httpx.TransportError as exc:  # pragma: no cover
+            raise ConnectionError('Transport error', exc) from exc
 
     def __request_delete(
         self,
@@ -278,6 +282,8 @@
             return result
         except httpx.ConnectError as exc:  # pragma: no cover
             raise ConnectionError('Connection error', exc) from exc
+        except httpx.TransportError as exc:  # pragma: no cover
+            raise ConnectionError('Transport error', exc) from exc
 
     def __paged_request(
         self,
@@ -358,6 +364,8 @@
 
         except httpx.ConnectError as exc:  # pragma: no cover
             raise ConnectionError('Connection error', exc) from exc
+        except httpx.TransportError as exc:  # pragma: no cover
+            raise ConnectionError('Transport error', exc) from exc
 
     @staticmethod
     def __check_response(response: httpx.Response) -> None:
@@ -442,7 +450,7 @@
             except ValueError:
                 return False
 
-            if 1970 < year < 2100 and 1 < month <= 12 and 1 <= day <= 31:
+            if 1970 < year < 2100 and 1 <= month <= 12 and 1 <= day <= 31:
                 return True
 
         return False
@@ -1700,6 +1708,8 @@
             return result
         except httpx.ConnectError as exc:  # pragma: no cover
             raise ConnectionError('Connection error', exc) from exc
+        except httpx.TransportError as exc:  # pragma: no cover
+            raise ConnectionError('Transport error', exc) from exc
 
     async def __request_put(
         self,
@@ -1739,6 +1749,8 @@
             return result
         except httpx.ConnectError as exc:  # pragma: no cover
             raise ConnectionError('Connection error', exc) from exc
+        except httpx.TransportError as exc:  # pragma: no cover
+            raise ConnectionError('Transport error', exc) from exc
 
     async def __request_delete(self, selector: str) -> dict[str, str]:
         """DELETE request for :term:`API`.
@@ -1774,6 +1786,8 @@
             return result
         except httpx.ConnectError as exc:  # pragma: no cover
             raise ConnectionError('Connection error', exc) from exc
+        except httpx.TransportError as exc:  # pragma: no cover
+            raise ConnectionError('Transport error', exc) from exc
 
     async def __paged_request(
         self,
@@ -1857,6 +1871,8 @@
 
         except httpx.ConnectError as exc:  # pragma: no cover
             raise ConnectionError('Connection error', exc) from exc
+        except httpx.TransportError as exc:  # pragma: no cover
+            raise ConnectionError('Transport error', exc) from exc
 
     @staticmethod
     def __check_response(response: httpx.Response) -> None:
@@ -1943,7 +1959,7 @@
             except ValueError:
                 return False
 
-            if 1970 < year < 2100 and 1 < month <= 12 and 1 <= day <= 31:
+            if 1970 < year < 2100 and 1 <= month <= 12 and 1 <= day <= 31:
                 return True
 
         return False

Reply via email to