Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pydicom for openSUSE:Factory 
checked in at 2022-12-04 14:58:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pydicom (Old)
 and      /work/SRC/openSUSE:Factory/.python-pydicom.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pydicom"

Sun Dec  4 14:58:49 2022 rev:13 rq:1039905 version:2.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pydicom/python-pydicom.changes    
2022-10-11 18:05:14.754055329 +0200
+++ /work/SRC/openSUSE:Factory/.python-pydicom.new.1835/python-pydicom.changes  
2022-12-04 14:59:19.732607130 +0100
@@ -1,0 +2,6 @@
+Sat Dec  3 20:04:13 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com>
+
+- Update to version 2.3.1: 
+  * Small fix to make 2.3.X compatible with Python 3.11.
+
+-------------------------------------------------------------------

Old:
----
  pydicom-2.3.0.tar.gz

New:
----
  pydicom-2.3.1.tar.gz

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

Other differences:
------------------
++++++ python-pydicom.spec ++++++
--- /var/tmp/diff_new_pack.wS1jvn/_old  2022-12-04 14:59:20.192609780 +0100
+++ /var/tmp/diff_new_pack.wS1jvn/_new  2022-12-04 14:59:20.196609803 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         oldpython python
 Name:           python-pydicom
-Version:        2.3.0
+Version:        2.3.1
 Release:        0
 Summary:        Pure python package for DICOM medical file reading and writing
 License:        MIT
@@ -42,7 +42,7 @@
 Provides:       %{oldpython}-dicom = %{version}
 %endif
 Requires(post):   update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 %python_subpackages
 
 %description

++++++ pydicom-2.3.0.tar.gz -> pydicom-2.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pydicom-2.3.0/PKG-INFO new/pydicom-2.3.1/PKG-INFO
--- old/pydicom-2.3.0/PKG-INFO  2022-03-29 18:59:46.274833000 +0200
+++ new/pydicom-2.3.1/PKG-INFO  2022-11-14 17:38:47.384712200 +0100
@@ -1,14 +1,13 @@
 Metadata-Version: 2.1
 Name: pydicom
-Version: 2.3.0
+Version: 2.3.1
 Summary: A pure Python package for reading and writing DICOM data
 Home-page: https://github.com/pydicom/pydicom
+Download-URL: https://github.com/pydicom/pydicom/archive/master.zip
 Author: Darcy Mason and contributors
 Author-email: darcyma...@gmail.com
 License: MIT
-Download-URL: https://github.com/pydicom/pydicom/archive/master.zip
 Keywords: dicom python medical imaging
-Platform: UNKNOWN
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Intended Audience :: Developers
 Classifier: Intended Audience :: Healthcare Industry
@@ -20,6 +19,7 @@
 Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Operating System :: OS Independent
 Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
 Classifier: Topic :: Scientific/Engineering :: Physics
@@ -35,7 +35,7 @@
 
[![test-coverage](https://codecov.io/gh/pydicom/pydicom/branch/master/graph/badge.svg)](https://codecov.io/gh/pydicom/pydicom)
 [![Python 
version](https://img.shields.io/pypi/pyversions/pydicom.svg)](https://img.shields.io/pypi/pyversions/pydicom.svg)
 [![PyPI 
version](https://badge.fury.io/py/pydicom.svg)](https://badge.fury.io/py/pydicom)
-[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5164413.svg)](https://doi.org/10.5281/zenodo.5164413)
+[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.6394735.svg)](https://doi.org/10.5281/zenodo.6394735)
 
[![Gitter](https://badges.gitter.im/pydicom/Lobby.svg)](https://gitter.im/pydicom/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
 
 # *pydicom*
@@ -145,5 +145,3 @@
 
 To contribute an example or extension of *pydicom* that doesn't belong with 
the core software, see our contribution repository:
 [contrib-pydicom](https://www.github.com/pydicom/contrib-pydicom).
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pydicom-2.3.0/README.md new/pydicom-2.3.1/README.md
--- old/pydicom-2.3.0/README.md 2022-03-29 18:59:37.000000000 +0200
+++ new/pydicom-2.3.1/README.md 2022-11-14 17:38:39.000000000 +0100
@@ -4,7 +4,7 @@
 
[![test-coverage](https://codecov.io/gh/pydicom/pydicom/branch/master/graph/badge.svg)](https://codecov.io/gh/pydicom/pydicom)
 [![Python 
version](https://img.shields.io/pypi/pyversions/pydicom.svg)](https://img.shields.io/pypi/pyversions/pydicom.svg)
 [![PyPI 
version](https://badge.fury.io/py/pydicom.svg)](https://badge.fury.io/py/pydicom)
-[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5164413.svg)](https://doi.org/10.5281/zenodo.5164413)
+[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.6394735.svg)](https://doi.org/10.5281/zenodo.6394735)
 
[![Gitter](https://badges.gitter.im/pydicom/Lobby.svg)](https://gitter.im/pydicom/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
 
 # *pydicom*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pydicom-2.3.0/doc/release_notes/v2.3.0.rst 
new/pydicom-2.3.1/doc/release_notes/v2.3.0.rst
--- old/pydicom-2.3.0/doc/release_notes/v2.3.0.rst      2022-03-29 
18:59:37.000000000 +0200
+++ new/pydicom-2.3.1/doc/release_notes/v2.3.0.rst      2022-11-14 
17:38:39.000000000 +0100
@@ -1,3 +1,11 @@
+Version 2.3.1
+=================================
+
+Changes
+-------
+* updated for Python 3.11 compatibility
+
+
 Version 2.3.0
 =================================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pydicom-2.3.0/pydicom/_version.py 
new/pydicom-2.3.1/pydicom/_version.py
--- old/pydicom-2.3.0/pydicom/_version.py       2022-03-29 18:59:37.000000000 
+0200
+++ new/pydicom-2.3.1/pydicom/_version.py       2022-11-14 17:38:39.000000000 
+0100
@@ -3,7 +3,7 @@
 from typing import cast, Match
 
 
-__version__: str = '2.3.0'
+__version__: str = '2.3.1'
 
 result = cast(Match[str], re.match(r'(\d+\.\d+\.\d+).*', __version__))
 __version_info__ = tuple(result.group(1).split('.'))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pydicom-2.3.0/pydicom/multival.py 
new/pydicom-2.3.1/pydicom/multival.py
--- old/pydicom-2.3.0/pydicom/multival.py       2022-03-29 18:59:37.000000000 
+0200
+++ new/pydicom-2.3.1/pydicom/multival.py       2022-11-14 17:38:39.000000000 
+0100
@@ -81,7 +81,9 @@
         """
         self._list.extend([self.type_constructor(x) for x in val])
 
-    def __iadd__(self, other: Iterable[_T]) -> MutableSequence[_ItemType]:
+    def __iadd__(  # type: ignore[override]
+            self, other: Iterable[_T]
+    ) -> MutableSequence[_ItemType]:
         """Implement MultiValue() += Iterable[Any]."""
         self._list += [self.type_constructor(x) for x in other]
         return self
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pydicom-2.3.0/pydicom/pixel_data_handlers/numpy_handler.py 
new/pydicom-2.3.1/pydicom/pixel_data_handlers/numpy_handler.py
--- old/pydicom-2.3.0/pydicom/pixel_data_handlers/numpy_handler.py      
2022-03-29 18:59:37.000000000 +0200
+++ new/pydicom-2.3.1/pydicom/pixel_data_handlers/numpy_handler.py      
2022-11-14 17:38:39.000000000 +0100
@@ -184,7 +184,7 @@
         'SamplesPerPixel', 'PhotometricInterpretation'
     ]
     if px_keyword[0] == 'PixelData':
-        # Attributess required by Image Pixel Description Macro Attributes
+        # Attributes required by Image Pixel Description Macro Attributes
         required_elements.extend(['PixelRepresentation', 'BitsStored'])
     missing = [elem for elem in required_elements if elem not in ds]
     if missing:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pydicom-2.3.0/pydicom/tests/test_fileset.py 
new/pydicom-2.3.1/pydicom/tests/test_fileset.py
--- old/pydicom-2.3.0/pydicom/tests/test_fileset.py     2022-03-29 
18:59:37.000000000 +0200
+++ new/pydicom-2.3.1/pydicom/tests/test_fileset.py     2022-11-14 
17:38:39.000000000 +0100
@@ -1,5 +1,6 @@
 
 import os
+import sys
 from pathlib import Path
 import shutil
 from tempfile import TemporaryDirectory
@@ -1225,7 +1226,9 @@
         """Test setting the File-set's path."""
         fs = FileSet()
         assert fs.path is None
-        with pytest.raises(AttributeError, match=r"can't set attribute"):
+        msg = (r"can't set attribute" if sys.version_info < (3, 11)
+               else r"property 'path' of 'FileSet' object has no setter")
+        with pytest.raises(AttributeError, match=msg):
             fs.path = tdir.name
 
         # Test with str
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pydicom-2.3.0/pydicom/valuerep.py 
new/pydicom-2.3.1/pydicom/valuerep.py
--- old/pydicom-2.3.0/pydicom/valuerep.py       2022-03-29 18:59:37.000000000 
+0200
+++ new/pydicom-2.3.1/pydicom/valuerep.py       2022-11-14 17:38:39.000000000 
+0100
@@ -621,9 +621,9 @@
     """
     _RE_TIME = re.compile(
         r"(?P<h>^([01][0-9]|2[0-3]))"
-        r"((?P<m>([0-5][0-9]))?"
-        r"(?(5)(?P<s>([0-5][0-9]|60))?)"
-        r"(?(7)(\.(?P<ms>([0-9]{1,6})?))?))$"
+        r"((?P<m>([0-5][0-9]))"
+        r"((?P<s>([0-5][0-9]|60))"
+        r"(\.(?P<ms>([0-9]{1,6})?))?)?)?$"
     )
 
     def __new__(  # type: ignore[misc]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pydicom-2.3.0/pydicom.egg-info/PKG-INFO 
new/pydicom-2.3.1/pydicom.egg-info/PKG-INFO
--- old/pydicom-2.3.0/pydicom.egg-info/PKG-INFO 2022-03-29 18:59:46.000000000 
+0200
+++ new/pydicom-2.3.1/pydicom.egg-info/PKG-INFO 2022-11-14 17:38:47.000000000 
+0100
@@ -1,14 +1,13 @@
 Metadata-Version: 2.1
 Name: pydicom
-Version: 2.3.0
+Version: 2.3.1
 Summary: A pure Python package for reading and writing DICOM data
 Home-page: https://github.com/pydicom/pydicom
+Download-URL: https://github.com/pydicom/pydicom/archive/master.zip
 Author: Darcy Mason and contributors
 Author-email: darcyma...@gmail.com
 License: MIT
-Download-URL: https://github.com/pydicom/pydicom/archive/master.zip
 Keywords: dicom python medical imaging
-Platform: UNKNOWN
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Intended Audience :: Developers
 Classifier: Intended Audience :: Healthcare Industry
@@ -20,6 +19,7 @@
 Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Operating System :: OS Independent
 Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
 Classifier: Topic :: Scientific/Engineering :: Physics
@@ -35,7 +35,7 @@
 
[![test-coverage](https://codecov.io/gh/pydicom/pydicom/branch/master/graph/badge.svg)](https://codecov.io/gh/pydicom/pydicom)
 [![Python 
version](https://img.shields.io/pypi/pyversions/pydicom.svg)](https://img.shields.io/pypi/pyversions/pydicom.svg)
 [![PyPI 
version](https://badge.fury.io/py/pydicom.svg)](https://badge.fury.io/py/pydicom)
-[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5164413.svg)](https://doi.org/10.5281/zenodo.5164413)
+[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.6394735.svg)](https://doi.org/10.5281/zenodo.6394735)
 
[![Gitter](https://badges.gitter.im/pydicom/Lobby.svg)](https://gitter.im/pydicom/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
 
 # *pydicom*
@@ -145,5 +145,3 @@
 
 To contribute an example or extension of *pydicom* that doesn't belong with 
the core software, see our contribution repository:
 [contrib-pydicom](https://www.github.com/pydicom/contrib-pydicom).
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pydicom-2.3.0/pydicom.egg-info/entry_points.txt 
new/pydicom-2.3.1/pydicom.egg-info/entry_points.txt
--- old/pydicom-2.3.0/pydicom.egg-info/entry_points.txt 2022-03-29 
18:59:46.000000000 +0200
+++ new/pydicom-2.3.1/pydicom.egg-info/entry_points.txt 2022-11-14 
17:38:47.000000000 +0100
@@ -4,4 +4,3 @@
 [pydicom_subcommands]
 codify = pydicom.cli.codify:add_subparser
 show = pydicom.cli.show:add_subparser
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pydicom-2.3.0/setup.py new/pydicom-2.3.1/setup.py
--- old/pydicom-2.3.0/setup.py  2022-03-29 18:59:37.000000000 +0200
+++ new/pydicom-2.3.1/setup.py  2022-11-14 17:38:39.000000000 +0100
@@ -51,6 +51,7 @@
         "Programming Language :: Python :: 3.8",
         "Programming Language :: Python :: 3.9",
         "Programming Language :: Python :: 3.10",
+        "Programming Language :: Python :: 3.11",
         "Operating System :: OS Independent",
         "Topic :: Scientific/Engineering :: Medical Science Apps.",
         "Topic :: Scientific/Engineering :: Physics",

Reply via email to