Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-traitlets for 
openSUSE:Factory checked in at 2024-05-21 18:34:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-traitlets (Old)
 and      /work/SRC/openSUSE:Factory/.python-traitlets.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-traitlets"

Tue May 21 18:34:34 2024 rev:23 rq:1175274 version:5.14.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-traitlets/python-traitlets.changes        
2024-04-02 16:37:47.771023978 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-traitlets.new.1880/python-traitlets.changes  
    2024-05-21 18:34:47.990790992 +0200
@@ -1,0 +2,7 @@
+Mon May 20 05:50:43 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Update 5.14.3:
+  * Fix assigning string value to Set #903
+- Remove upper bound from pytest, it works.
+
+-------------------------------------------------------------------

Old:
----
  traitlets-5.14.2.tar.gz

New:
----
  traitlets-5.14.3.tar.gz

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

Other differences:
------------------
++++++ python-traitlets.spec ++++++
--- /var/tmp/diff_new_pack.JXEuck/_old  2024-05-21 18:34:48.678816002 +0200
+++ /var/tmp/diff_new_pack.JXEuck/_new  2024-05-21 18:34:48.682816148 +0200
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-traitlets
-Version:        5.14.2
+Version:        5.14.3
 Release:        0
 Summary:        Traitlets Python configuration system
 License:        BSD-3-Clause
@@ -29,7 +29,7 @@
 BuildRequires:  %{python_module base >= 3.8}
 BuildRequires:  %{python_module hatchling >= 1.5}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module pytest >= 7 with %python-pytest < 8.1}
+BuildRequires:  %{python_module pytest >= 7}
 BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -59,5 +59,5 @@
 %doc examples/
 %license LICENSE
 %{python_sitelib}/traitlets/
-%{python_sitelib}/traitlets-%{version}*-info
+%{python_sitelib}/traitlets-%{version}.dist-info
 

++++++ traitlets-5.14.2.tar.gz -> traitlets-5.14.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traitlets-5.14.2/CHANGELOG.md 
new/traitlets-5.14.3/CHANGELOG.md
--- old/traitlets-5.14.2/CHANGELOG.md   2020-02-02 01:00:00.000000000 +0100
+++ new/traitlets-5.14.3/CHANGELOG.md   2020-02-02 01:00:00.000000000 +0100
@@ -2,6 +2,26 @@
 
 <!-- <START NEW CHANGELOG ENTRY> -->
 
+## 5.14.3
+
+([Full 
Changelog](https://github.com/ipython/traitlets/compare/v5.14.2...5cf34f6c42b6e39aa1e53394443efca3d7329e3b))
+
+### Bugs fixed
+
+- Fix assigning string value to Set 
[#903](https://github.com/ipython/traitlets/pull/903) 
([@azjps](https://github.com/azjps))
+
+### Maintenance and upkeep improvements
+
+- Bump the actions group with 1 update 
[#899](https://github.com/ipython/traitlets/pull/899) 
([@dependabot](https://github.com/dependabot))
+
+### Contributors to this release
+
+([GitHub contributors page for this 
release](https://github.com/ipython/traitlets/graphs/contributors?from=2024-03-12&to=2024-04-19&type=c))
+
+[@azjps](https://github.com/search?q=repo%3Aipython%2Ftraitlets+involves%3Aazjps+updated%3A2024-03-12..2024-04-19&type=Issues)
 | 
[@dependabot](https://github.com/search?q=repo%3Aipython%2Ftraitlets+involves%3Adependabot+updated%3A2024-03-12..2024-04-19&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
 ## 5.14.2
 
 ([Full 
Changelog](https://github.com/ipython/traitlets/compare/v5.14.1...2d0fb91f39a71c5528860e23bf9c2138e441b319))
@@ -18,8 +38,6 @@
 
 
[@blink1073](https://github.com/search?q=repo%3Aipython%2Ftraitlets+involves%3Ablink1073+updated%3A2024-01-02..2024-03-12&type=Issues)
 | 
[@dependabot](https://github.com/search?q=repo%3Aipython%2Ftraitlets+involves%3Adependabot+updated%3A2024-01-02..2024-03-12&type=Issues)
 | 
[@pre-commit-ci](https://github.com/search?q=repo%3Aipython%2Ftraitlets+involves%3Apre-commit-ci+updated%3A2024-01-02..2024-03-12&type=Issues)
 
-<!-- <END NEW CHANGELOG ENTRY> -->
-
 ## 5.14.1
 
 ([Full 
Changelog](https://github.com/ipython/traitlets/compare/v5.14.0...a1108c92013f9da56a9dccb79f7a5453ffe8d1db))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traitlets-5.14.2/PKG-INFO 
new/traitlets-5.14.3/PKG-INFO
--- old/traitlets-5.14.2/PKG-INFO       2020-02-02 01:00:00.000000000 +0100
+++ new/traitlets-5.14.3/PKG-INFO       2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.3
 Name: traitlets
-Version: 5.14.2
+Version: 5.14.3
 Summary: Traitlets Python configuration system
 Project-URL: Homepage, https://github.com/ipython/traitlets
 Project-URL: Documentation, https://traitlets.readthedocs.io
@@ -60,7 +60,7 @@
 Requires-Dist: pre-commit; extra == 'test'
 Requires-Dist: pytest-mock; extra == 'test'
 Requires-Dist: pytest-mypy-testing; extra == 'test'
-Requires-Dist: pytest<8.1,>=7.0; extra == 'test'
+Requires-Dist: pytest<8.2,>=7.0; extra == 'test'
 Description-Content-Type: text/markdown
 
 # Traitlets
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traitlets-5.14.2/pyproject.toml 
new/traitlets-5.14.3/pyproject.toml
--- old/traitlets-5.14.2/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
+++ new/traitlets-5.14.3/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
@@ -37,7 +37,7 @@
     "pre-commit",
     "pytest-mock",
     "pytest-mypy-testing",
-    "pytest>=7.0,<8.1",
+    "pytest>=7.0,<8.2",
 ]
 docs = [
     "myst-parser",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traitlets-5.14.2/tests/test_traitlets.py 
new/traitlets-5.14.3/tests/test_traitlets.py
--- old/traitlets-5.14.2/tests/test_traitlets.py        2020-02-02 
01:00:00.000000000 +0100
+++ new/traitlets-5.14.3/tests/test_traitlets.py        2020-02-02 
01:00:00.000000000 +0100
@@ -1658,6 +1658,24 @@
         return value
 
 
+class SetTrait(HasTraits):
+    value = Set(Unicode())
+
+
+class TestSet(TraitTestBase):
+    obj = SetTrait()
+
+    _default_value: t.Set[str] = set()
+    _good_values = [{"a", "b"}, "ab"]
+    _bad_values = [1]
+
+    def coerce(self, value):
+        if isinstance(value, str):
+            # compatibility handling: convert string to set containing string
+            value = {value}
+        return value
+
+
 class Foo:
     pass
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traitlets-5.14.2/traitlets/_version.py 
new/traitlets-5.14.3/traitlets/_version.py
--- old/traitlets-5.14.2/traitlets/_version.py  2020-02-02 01:00:00.000000000 
+0100
+++ new/traitlets-5.14.3/traitlets/_version.py  2020-02-02 01:00:00.000000000 
+0100
@@ -7,7 +7,7 @@
 from typing import List
 
 # Version string must appear intact for hatch versioning
-__version__ = "5.14.2"
+__version__ = "5.14.3"
 
 # Build up version_info tuple for backwards compatibility
 pattern = r"(?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(?P<rest>.*)"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traitlets-5.14.2/traitlets/traitlets.py 
new/traitlets-5.14.3/traitlets/traitlets.py
--- old/traitlets-5.14.2/traitlets/traitlets.py 2020-02-02 01:00:00.000000000 
+0100
+++ new/traitlets-5.14.3/traitlets/traitlets.py 2020-02-02 01:00:00.000000000 
+0100
@@ -3698,12 +3698,7 @@
 
     def set(self, obj: t.Any, value: t.Any) -> None:
         if isinstance(value, str):
-            return super().set(
-                obj,
-                set(
-                    value,
-                ),
-            )
+            return super().set(obj, {value})
         else:
             return super().set(obj, value)
 

Reply via email to