Hello community,
here is the log from the commit of package python-mypy_extensions for openSUSE:Factory checked in at 2019-11-04 17:07:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mypy_extensions (Old)
and /work/SRC/openSUSE:Factory/.python-mypy_extensions.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mypy_extensions"
Mon Nov 4 17:07:28 2019 rev:3 rq:741142 version:0.4.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mypy_extensions/python-mypy_extensions.changes 2018-08-28 09:24:28.688834323 +0200
+++ /work/SRC/openSUSE:Factory/.python-mypy_extensions.new.2990/python-mypy_extensions.changes 2019-11-04 17:07:33.844335334 +0100
@@ -1,0 +2,6 @@
+Fri Oct 18 18:12:52 UTC 2019 - Ondřej Súkup
+
+- update to 0.4.3
+- removed redudant LICENSE file
+
+-------------------------------------------------------------------
Old:
----
LICENSE
mypy_extensions-0.4.1.tar.gz
New:
----
mypy_extensions-0.4.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mypy_extensions.spec ++++++
--- /var/tmp/diff_new_pack.LW16Js/_old 2019-11-04 17:07:34.644336189 +0100
+++ /var/tmp/diff_new_pack.LW16Js/_new 2019-11-04 17:07:34.648336193 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-mypy_extensions
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,20 +12,19 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-mypy_extensions
-Version: 0.4.1
+Version: 0.4.3
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/
Source: https://files.pythonhosted.org/packages/source/m/mypy_extensions/mypy_extensions-%{version}.tar.gz
-Source1: https://raw.githubusercontent.com/python/mypy/release-0.560/extensions/LICEN...
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -39,7 +38,6 @@
%prep
%setup -q -n mypy_extensions-%{version}
-cp %{SOURCE1} .
%build
%python_build
++++++ mypy_extensions-0.4.1.tar.gz -> mypy_extensions-0.4.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mypy_extensions-0.4.1/PKG-INFO new/mypy_extensions-0.4.3/PKG-INFO
--- old/mypy_extensions-0.4.1/PKG-INFO 2018-08-23 16:08:57.000000000 +0200
+++ new/mypy_extensions-0.4.3/PKG-INFO 2019-10-18 00:24:59.652138000 +0200
@@ -1,8 +1,8 @@
Metadata-Version: 1.1
Name: mypy_extensions
-Version: 0.4.1
+Version: 0.4.3
Summary: Experimental type system extensions for programs checked with the mypy typechecker.
-Home-page: http://www.mypy-lang.org/
+Home-page: https://github.com/python/mypy_extensions
Author: The mypy developers
Author-email: jukka.lehtosalo@iki.fi
License: MIT License
@@ -23,4 +23,6 @@
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: Topic :: Software Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mypy_extensions-0.4.1/mypy_extensions.egg-info/PKG-INFO new/mypy_extensions-0.4.3/mypy_extensions.egg-info/PKG-INFO
--- old/mypy_extensions-0.4.1/mypy_extensions.egg-info/PKG-INFO 2018-08-23 16:08:56.000000000 +0200
+++ new/mypy_extensions-0.4.3/mypy_extensions.egg-info/PKG-INFO 2019-10-18 00:24:59.000000000 +0200
@@ -1,8 +1,8 @@
Metadata-Version: 1.1
Name: mypy-extensions
-Version: 0.4.1
+Version: 0.4.3
Summary: Experimental type system extensions for programs checked with the mypy typechecker.
-Home-page: http://www.mypy-lang.org/
+Home-page: https://github.com/python/mypy_extensions
Author: The mypy developers
Author-email: jukka.lehtosalo@iki.fi
License: MIT License
@@ -23,4 +23,6 @@
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: Topic :: Software Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mypy_extensions-0.4.1/mypy_extensions.py new/mypy_extensions-0.4.3/mypy_extensions.py
--- old/mypy_extensions-0.4.1/mypy_extensions.py 2018-08-09 22:26:56.000000000 +0200
+++ new/mypy_extensions-0.4.3/mypy_extensions.py 2019-10-02 00:08:38.000000000 +0200
@@ -36,8 +36,15 @@
elif kwargs:
raise TypeError("TypedDict takes either a dict or keyword arguments,"
" but not both")
- return _TypedDictMeta(_typename, (), {'__annotations__': dict(_fields),
- '__total__': total})
+
+ ns = {'__annotations__': dict(_fields), '__total__': total}
+ try:
+ # Setting correct module is necessary to make typed dict classes pickleable.
+ ns['__module__'] = sys._getframe(1).f_globals.get('__name__', '__main__')
+ except (AttributeError, ValueError):
+ pass
+
+ return _TypedDictMeta(_typename, (), ns)
class _TypedDictMeta(type):
@@ -50,11 +57,7 @@
# via _dict_new.
ns['__new__'] = _typeddict_new if name == 'TypedDict' else _dict_new
tp_dict = super(_TypedDictMeta, cls).__new__(cls, name, (dict,), ns)
- try:
- # Setting correct module is necessary to make typed dict classes pickleable.
- tp_dict.__module__ = sys._getframe(2).f_globals.get('__name__', '__main__')
- except (AttributeError, ValueError):
- pass
+
anns = ns.get('__annotations__', {})
msg = "TypedDict('Name', {f0: t0, f1: t1, ...}); each t must be a type"
anns = {n: _type_check(tp, msg) for n, tp in anns.items()}
@@ -141,6 +144,10 @@
return cls
+def mypyc_attr(*attrs, **kwattrs):
+ return lambda x: x
+
+
# TODO: We may want to try to properly apply this to any type
# variables left over...
class _FlexibleAliasClsApplied:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mypy_extensions-0.4.1/setup.py new/mypy_extensions-0.4.3/setup.py
--- old/mypy_extensions-0.4.1/setup.py 2018-08-23 16:05:13.000000000 +0200
+++ new/mypy_extensions-0.4.3/setup.py 2019-10-18 00:24:19.000000000 +0200
@@ -2,7 +2,7 @@
from setuptools import setup
-version = '0.4.1'
+version = '0.4.3'
description = 'Experimental type system extensions for programs checked with the mypy typechecker.'
long_description = '''
Mypy Extensions
@@ -23,6 +23,8 @@
'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',
'Topic :: Software Development',
]
@@ -33,7 +35,7 @@
long_description=long_description,
author='The mypy developers',
author_email='jukka.lehtosalo@iki.fi',
- url='http://www.mypy-lang.org/',
+ url='https://github.com/python/mypy_extensions',
license='MIT License',
py_modules=['mypy_extensions'],
classifiers=classifiers,