Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-typing-inspection for
openSUSE:Factory checked in at 2025-12-16 15:49:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-typing-inspection (Old)
and /work/SRC/openSUSE:Factory/.python-typing-inspection.new.1939 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-typing-inspection"
Tue Dec 16 15:49:36 2025 rev:3 rq:1322567 version:0.4.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-typing-inspection/python-typing-inspection.changes
2025-08-01 22:40:01.592047215 +0200
+++
/work/SRC/openSUSE:Factory/.python-typing-inspection.new.1939/python-typing-inspection.changes
2025-12-16 15:49:44.566259064 +0100
@@ -1,0 +2,6 @@
+Fri Dec 12 09:37:22 UTC 2025 - Daniel Garcia <[email protected]>
+
+- Update to 0.4.2
+ * Add typing_objects.is_noextraitems() by @Viicos in #47
+
+-------------------------------------------------------------------
Old:
----
typing_inspection-0.4.1.tar.gz
New:
----
typing_inspection-0.4.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-typing-inspection.spec ++++++
--- /var/tmp/diff_new_pack.WQfsXs/_old 2025-12-16 15:49:46.474339862 +0100
+++ /var/tmp/diff_new_pack.WQfsXs/_new 2025-12-16 15:49:46.478340032 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-typing-inspection
#
-# 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-typing-inspection
-Version: 0.4.1
+Version: 0.4.2
Release: 0
Summary: Runtime typing introspection tools
License: MIT
++++++ typing_inspection-0.4.1.tar.gz -> typing_inspection-0.4.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/typing_inspection-0.4.1/HISTORY.md
new/typing_inspection-0.4.2/HISTORY.md
--- old/typing_inspection-0.4.1/HISTORY.md 2020-02-02 01:00:00.000000000
+0100
+++ new/typing_inspection-0.4.2/HISTORY.md 2020-02-02 01:00:00.000000000
+0100
@@ -1,5 +1,13 @@
+## v0.4.2 (2025-10-01)
+
+- Add `typing_objects.is_noextraitems()` by @Viicos in
[#47](https://github.com/pydantic/typing-inspection/pull/47)
+
## v0.4.1 (2025-05-21)
+- Fix compatibility with latest Python 3.14 release by @Viicos in
[#37](https://github.com/pydantic/typing-inspection/pull/37)
+- Add `typing_objects.is_forwardref()` by @Viicos in
[#38](https://github.com/pydantic/typing-inspection/pull/38)
+- Fix implementation of `is_union_origin()` by @Viicos in
[#40](https://github.com/pydantic/typing-inspection/pull/40)
+- Add SPDX license identifier by @cdce8p in
[#42](https://github.com/pydantic/typing-inspection/pull/42)
- Use `list` as a type hint for `InspectedAnnotation.metadata` by @Viicos in
[#43](https://github.com/pydantic/typing-inspection/pull/43)
## v0.4.0 (2025-02-25)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/typing_inspection-0.4.1/PKG-INFO
new/typing_inspection-0.4.2/PKG-INFO
--- old/typing_inspection-0.4.1/PKG-INFO 2020-02-02 01:00:00.000000000
+0100
+++ new/typing_inspection-0.4.2/PKG-INFO 2020-02-02 01:00:00.000000000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: typing-inspection
-Version: 0.4.1
+Version: 0.4.2
Summary: Runtime typing introspection tools
Project-URL: Homepage, https://github.com/pydantic/typing-inspection
Project-URL: Documentation, https://pydantic.github.io/typing-inspection/dev/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/typing_inspection-0.4.1/docs/api/typing_objects.md
new/typing_inspection-0.4.2/docs/api/typing_objects.md
--- old/typing_inspection-0.4.1/docs/api/typing_objects.md 2020-02-02
01:00:00.000000000 +0100
+++ new/typing_inspection-0.4.2/docs/api/typing_objects.md 2020-02-02
01:00:00.000000000 +0100
@@ -9,6 +9,7 @@
- is_concatenate
- is_deprecated
- is_final
+ - is_forwardref
- is_generic
- is_literal
- is_literalstring
@@ -16,6 +17,7 @@
- is_never
- is_newtype
- is_nodefault
+ - is_noextraitems
- is_noreturn
- is_notrequired
- is_paramspec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/typing_inspection-0.4.1/pyproject.toml
new/typing_inspection-0.4.2/pyproject.toml
--- old/typing_inspection-0.4.1/pyproject.toml 2020-02-02 01:00:00.000000000
+0100
+++ new/typing_inspection-0.4.2/pyproject.toml 2020-02-02 01:00:00.000000000
+0100
@@ -4,7 +4,7 @@
[project]
name = 'typing-inspection'
-version = '0.4.1'
+version = '0.4.2'
license = "MIT"
license-files = ['LICENSE']
description = 'Runtime typing introspection tools'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/typing_inspection-0.4.1/src/typing_inspection/typing_objects.py
new/typing_inspection-0.4.2/src/typing_inspection/typing_objects.py
--- old/typing_inspection-0.4.1/src/typing_inspection/typing_objects.py
2020-02-02 01:00:00.000000000 +0100
+++ new/typing_inspection-0.4.2/src/typing_inspection/typing_objects.py
2020-02-02 01:00:00.000000000 +0100
@@ -35,6 +35,7 @@
'is_never',
'is_newtype',
'is_nodefault',
+ 'is_noextraitems',
'is_noreturn',
'is_notrequired',
'is_paramspec',
@@ -57,7 +58,7 @@
def _compile_identity_check_function(member: LiteralString, function_name:
LiteralString) -> FunctionType:
- """Create a function checking that the function argument is the
(unparameterized) typing :paramref:`member`.
+ """Create a function checking that the function argument is the
(unparameterized) typing `member`.
The function will make sure to check against both the `typing` and
`typing_extensions`
variants as depending on the Python version, the `typing_extensions`
variant might be different.
@@ -367,6 +368,16 @@
True
```
"""
+
+is_noextraitems = _compile_identity_check_function('NoExtraItems',
'is_noextraitems')
+is_noextraitems.__doc__ = """
+Return whether the argument is the `NoExtraItems` sentinel object.
+
+```pycon
+>>> is_noextraitems(NoExtraItems)
+True
+```
+"""
is_noreturn = _compile_identity_check_function('NoReturn', 'is_noreturn')
is_noreturn.__doc__ = """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/typing_inspection-0.4.1/src/typing_inspection/typing_objects.pyi
new/typing_inspection-0.4.2/src/typing_inspection/typing_objects.pyi
--- old/typing_inspection-0.4.1/src/typing_inspection/typing_objects.pyi
2020-02-02 01:00:00.000000000 +0100
+++ new/typing_inspection-0.4.2/src/typing_inspection/typing_objects.pyi
2020-02-02 01:00:00.000000000 +0100
@@ -28,6 +28,7 @@
'is_never',
'is_newtype',
'is_nodefault',
+ 'is_noextraitems',
'is_noreturn',
'is_notrequired',
'is_paramspec',
@@ -254,6 +255,16 @@
True
```
"""
+
+def is_noextraitems(obj: Any, /) -> bool:
+ """
+ Return whether the argument is the `NoExtraItems` sentinel object.
+
+ ```pycon
+ >>> is_noextraitems(NoExtraItems)
+ True
+ ```
+ """
def is_noreturn(obj: Any, /) -> bool:
"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/typing_inspection-0.4.1/tests/typing_objects/test_member_checks.py
new/typing_inspection-0.4.2/tests/typing_objects/test_member_checks.py
--- old/typing_inspection-0.4.1/tests/typing_objects/test_member_checks.py
2020-02-02 01:00:00.000000000 +0100
+++ new/typing_inspection-0.4.2/tests/typing_objects/test_member_checks.py
2020-02-02 01:00:00.000000000 +0100
@@ -34,6 +34,7 @@
('LiteralString', typing_objects.is_literalstring),
('Never', typing_objects.is_never),
('NoDefault', typing_objects.is_nodefault),
+ ('NoExtraItems', typing_objects.is_noextraitems),
('NoReturn', typing_objects.is_noreturn),
('NotRequired', typing_objects.is_notrequired),
('ReadOnly', typing_objects.is_readonly),