Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mypy_extensions for 
openSUSE:Factory checked in at 2023-05-05 15:59:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mypy_extensions (Old)
 and      /work/SRC/openSUSE:Factory/.python-mypy_extensions.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mypy_extensions"

Fri May  5 15:59:13 2023 rev:5 rq:1085015 version:1.0.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-mypy_extensions/python-mypy_extensions.changes
    2023-04-21 18:48:22.400377198 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-mypy_extensions.new.1533/python-mypy_extensions.changes
  2023-05-05 15:59:28.872840049 +0200
@@ -1,0 +2,8 @@
+Fri May  5 09:30:55 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 1.0.0:
+  * Drop python 2 and 3.4 support
+  * Add Python 3.9, 3.10, 3.11
+  * Add mypyc native int types ia64, i32, i16 and u8
+
+-------------------------------------------------------------------

Old:
----
  mypy_extensions-0.4.3.tar.gz

New:
----
  mypy_extensions-1.0.0.tar.gz

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

Other differences:
------------------
++++++ python-mypy_extensions.spec ++++++
--- /var/tmp/diff_new_pack.iLJzxM/_old  2023-05-05 15:59:29.372842914 +0200
+++ /var/tmp/diff_new_pack.iLJzxM/_new  2023-05-05 15:59:29.380842960 +0200
@@ -16,15 +16,14 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %{?sle15_python_module_pythons}
 Name:           python-mypy_extensions
-Version:        0.4.3
+Version:        1.0.0
 Release:        0
 Summary:        Experimental type system extensions for programs checked with 
mypy typechecker
 License:        MIT
 Group:          Development/Languages/Python
-URL:            http://www.mypy-lang.org/
+URL:            https://www.mypy-lang.org/
 Source:         
https://files.pythonhosted.org/packages/source/m/mypy_extensions/mypy_extensions-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes

++++++ mypy_extensions-0.4.3.tar.gz -> mypy_extensions-1.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mypy_extensions-0.4.3/PKG-INFO 
new/mypy_extensions-1.0.0/PKG-INFO
--- old/mypy_extensions-0.4.3/PKG-INFO  2019-10-18 00:24:59.652138000 +0200
+++ new/mypy_extensions-1.0.0/PKG-INFO  2023-02-04 13:09:09.374855000 +0100
@@ -1,28 +1,29 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: mypy_extensions
-Version: 0.4.3
-Summary: Experimental type system extensions for programs checked with the 
mypy typechecker.
+Version: 1.0.0
+Summary: Type system extensions for programs checked with the mypy type 
checker.
 Home-page: https://github.com/python/mypy_extensions
 Author: The mypy developers
 Author-email: jukka.lehtos...@iki.fi
 License: MIT License
-Description: Mypy Extensions
-        ===============
-        
-        The "mypy_extensions" module defines experimental extensions to the
-        standard "typing" module that are supported by the mypy typechecker.
-        
-Platform: UNKNOWN
-Classifier: Development Status :: 2 - Pre-Alpha
+Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :: Console
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: MIT License
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.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: Topic :: Software Development
+Requires-Python: >=3.5
+License-File: LICENSE
+
+Mypy Extensions
+===============
+
+The "mypy_extensions" module defines extensions to the standard "typing" module
+that are supported by the mypy type checker and the mypyc compiler.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mypy_extensions-0.4.3/README.md 
new/mypy_extensions-1.0.0/README.md
--- old/mypy_extensions-0.4.3/README.md 2019-01-15 02:03:58.000000000 +0100
+++ new/mypy_extensions-1.0.0/README.md 2023-02-04 12:57:12.000000000 +0100
@@ -1,6 +1,6 @@
 Mypy Extensions
 ===============
 
-The "mypy_extensions" module defines experimental extensions to the
-standard "typing" module that are supported by the mypy typechecker.
-
+The `mypy_extensions` module defines extensions to the Python standard
+library `typing` module that are supported by the mypy type checker and
+the mypyc compiler.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mypy_extensions-0.4.3/mypy_extensions.egg-info/PKG-INFO 
new/mypy_extensions-1.0.0/mypy_extensions.egg-info/PKG-INFO
--- old/mypy_extensions-0.4.3/mypy_extensions.egg-info/PKG-INFO 2019-10-18 
00:24:59.000000000 +0200
+++ new/mypy_extensions-1.0.0/mypy_extensions.egg-info/PKG-INFO 2023-02-04 
13:09:09.000000000 +0100
@@ -1,28 +1,29 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: mypy-extensions
-Version: 0.4.3
-Summary: Experimental type system extensions for programs checked with the 
mypy typechecker.
+Version: 1.0.0
+Summary: Type system extensions for programs checked with the mypy type 
checker.
 Home-page: https://github.com/python/mypy_extensions
 Author: The mypy developers
 Author-email: jukka.lehtos...@iki.fi
 License: MIT License
-Description: Mypy Extensions
-        ===============
-        
-        The "mypy_extensions" module defines experimental extensions to the
-        standard "typing" module that are supported by the mypy typechecker.
-        
-Platform: UNKNOWN
-Classifier: Development Status :: 2 - Pre-Alpha
+Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :: Console
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: MIT License
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.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: Topic :: Software Development
+Requires-Python: >=3.5
+License-File: LICENSE
+
+Mypy Extensions
+===============
+
+The "mypy_extensions" module defines extensions to the standard "typing" module
+that are supported by the mypy type checker and the mypyc compiler.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mypy_extensions-0.4.3/mypy_extensions.egg-info/SOURCES.txt 
new/mypy_extensions-1.0.0/mypy_extensions.egg-info/SOURCES.txt
--- old/mypy_extensions-0.4.3/mypy_extensions.egg-info/SOURCES.txt      
2019-10-18 00:24:59.000000000 +0200
+++ new/mypy_extensions-1.0.0/mypy_extensions.egg-info/SOURCES.txt      
2023-02-04 13:09:09.000000000 +0100
@@ -7,5 +7,4 @@
 mypy_extensions.egg-info/PKG-INFO
 mypy_extensions.egg-info/SOURCES.txt
 mypy_extensions.egg-info/dependency_links.txt
-mypy_extensions.egg-info/requires.txt
 mypy_extensions.egg-info/top_level.txt
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mypy_extensions-0.4.3/mypy_extensions.egg-info/requires.txt 
new/mypy_extensions-1.0.0/mypy_extensions.egg-info/requires.txt
--- old/mypy_extensions-0.4.3/mypy_extensions.egg-info/requires.txt     
2019-10-18 00:24:59.000000000 +0200
+++ new/mypy_extensions-1.0.0/mypy_extensions.egg-info/requires.txt     
1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-
-[:python_version < "3.5"]
-typing>=3.5.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mypy_extensions-0.4.3/mypy_extensions.py 
new/mypy_extensions-1.0.0/mypy_extensions.py
--- old/mypy_extensions-0.4.3/mypy_extensions.py        2019-10-02 
00:08:38.000000000 +0200
+++ new/mypy_extensions-1.0.0/mypy_extensions.py        2023-02-04 
12:57:12.000000000 +0100
@@ -7,8 +7,6 @@
 
 from typing import Any
 
-# NOTE: This module must support Python 2.7 in addition to Python 3.x
-
 import sys
 # _type_check is NOT a part of public typing API, it is used here only to mimic
 # the (convenient) behavior of types provided by typing module.
@@ -98,7 +96,7 @@
             label: str
 
     The latter syntax is only supported in Python 3.6+, while two other
-    syntax forms work for Python 2.7 and 3.2+
+    syntax forms work for 3.2+
     """
 
 # Argument constructors for making more-detailed Callables. These all just
@@ -164,3 +162,52 @@
 
 
 FlexibleAlias = _FlexibleAliasCls()
+
+
+class _NativeIntMeta(type):
+    def __instancecheck__(cls, inst):
+        return isinstance(inst, int)
+
+
+_sentinel = object()
+
+
+class i64(metaclass=_NativeIntMeta):
+    def __new__(cls, x=0, base=_sentinel):
+        if base is not _sentinel:
+            return int(x, base)
+        return int(x)
+
+
+class i32(metaclass=_NativeIntMeta):
+    def __new__(cls, x=0, base=_sentinel):
+        if base is not _sentinel:
+            return int(x, base)
+        return int(x)
+
+
+class i16(metaclass=_NativeIntMeta):
+    def __new__(cls, x=0, base=_sentinel):
+        if base is not _sentinel:
+            return int(x, base)
+        return int(x)
+
+
+class u8(metaclass=_NativeIntMeta):
+    def __new__(cls, x=0, base=_sentinel):
+        if base is not _sentinel:
+            return int(x, base)
+        return int(x)
+
+
+for _int_type in i64, i32, i16, u8:
+    _int_type.__doc__ = \
+        """A native fixed-width integer type when used with mypyc.
+
+        In code not compiled with mypyc, behaves like the 'int' type in these
+        runtime contexts:
+
+        * {name}(x[, base=n]) converts a number or string to 'int'
+        * isinstance(x, {name}) is the same as isinstance(x, int)
+        """.format(name=_int_type.__name__)
+del _int_type
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mypy_extensions-0.4.3/setup.cfg 
new/mypy_extensions-1.0.0/setup.cfg
--- old/mypy_extensions-0.4.3/setup.cfg 2019-10-18 00:24:59.656138200 +0200
+++ new/mypy_extensions-1.0.0/setup.cfg 2023-02-04 13:09:09.374855000 +0100
@@ -1,5 +1,5 @@
 [bdist_wheel]
-universal = 1
+universal = 0
 
 [egg_info]
 tag_build = 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mypy_extensions-0.4.3/setup.py 
new/mypy_extensions-1.0.0/setup.py
--- old/mypy_extensions-0.4.3/setup.py  2019-10-18 00:24:19.000000000 +0200
+++ new/mypy_extensions-1.0.0/setup.py  2023-02-04 12:57:12.000000000 +0100
@@ -1,35 +1,34 @@
-# NOTE: This package must support Python 2.7 in addition to Python 3.x
-
 from setuptools import setup
 
-version = '0.4.3'
-description = 'Experimental type system extensions for programs checked with 
the mypy typechecker.'
+version = '1.0.0'
+description = 'Type system extensions for programs checked with the mypy type 
checker.'
 long_description = '''
 Mypy Extensions
 ===============
 
-The "mypy_extensions" module defines experimental extensions to the
-standard "typing" module that are supported by the mypy typechecker.
+The "mypy_extensions" module defines extensions to the standard "typing" module
+that are supported by the mypy type checker and the mypyc compiler.
 '''.lstrip()
 
 classifiers = [
-    'Development Status :: 2 - Pre-Alpha',
+    'Development Status :: 5 - Production/Stable',
     'Environment :: Console',
     'Intended Audience :: Developers',
     'License :: OSI Approved :: MIT License',
-    'Programming Language :: Python :: 2',
-    'Programming Language :: Python :: 2.7',
     'Programming Language :: Python :: 3',
-    'Programming Language :: Python :: 3.4',
     'Programming Language :: Python :: 3.5',
     'Programming Language :: Python :: 3.6',
     'Programming Language :: Python :: 3.7',
     'Programming Language :: Python :: 3.8',
+    'Programming Language :: Python :: 3.9',
+    'Programming Language :: Python :: 3.10',
+    'Programming Language :: Python :: 3.11',
     'Topic :: Software Development',
 ]
 
 setup(
     name='mypy_extensions',
+    python_requires='>=3.5',
     version=version,
     description=description,
     long_description=long_description,
@@ -39,7 +38,4 @@
     license='MIT License',
     py_modules=['mypy_extensions'],
     classifiers=classifiers,
-    install_requires=[
-        'typing >= 3.5.3; python_version < "3.5"',
-    ],
 )

Reply via email to