Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-check-manifest for 
openSUSE:Factory checked in at 2022-09-27 20:14:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-check-manifest (Old)
 and      /work/SRC/openSUSE:Factory/.python-check-manifest.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-check-manifest"

Tue Sep 27 20:14:02 2022 rev:12 rq:1006301 version:0.48

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-check-manifest/python-check-manifest.changes  
    2022-03-11 11:31:51.201956669 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-check-manifest.new.2275/python-check-manifest.changes
    2022-09-27 20:14:04.889846972 +0200
@@ -1,0 +2,11 @@
+Mon Sep 26 21:17:21 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- version update to 0.48
+
+  Add Python 3.10 support.
+  Switch to tomli instead of toml, after hearing about PEP-680. tomli will be 
included in the Python 3.11 standard library as
+  tomllib, while toml is apparently unmaintained.
+  Fix submodule support when .gitmodules exists in a subdirectory (#153). Note 
that this reverts a fix for #124: git versions
+  before 2.11 are no longer supported. 
+
+-------------------------------------------------------------------

Old:
----
  check-manifest-0.47.tar.gz

New:
----
  check-manifest-0.48.tar.gz

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

Other differences:
------------------
++++++ python-check-manifest.spec ++++++
--- /var/tmp/diff_new_pack.8DTAqB/_old  2022-09-27 20:14:05.357848005 +0200
+++ /var/tmp/diff_new_pack.8DTAqB/_new  2022-09-27 20:14:05.361848013 +0200
@@ -27,7 +27,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-check-manifest%{psuffix}
-Version:        0.47
+Version:        0.48
 Release:        0
 Summary:        Tool to check Python source package MANIFEST.in for 
completeness
 License:        MIT

++++++ check-manifest-0.47.tar.gz -> check-manifest-0.48.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/check-manifest-0.47/CHANGES.rst 
new/check-manifest-0.48/CHANGES.rst
--- old/check-manifest-0.47/CHANGES.rst 2021-09-22 10:49:35.000000000 +0200
+++ new/check-manifest-0.48/CHANGES.rst 2022-03-13 11:01:57.000000000 +0100
@@ -2,6 +2,22 @@
 =========
 
 
+0.48 (2022-03-13)
+-----------------
+
+- Add Python 3.10 support.
+
+- Switch to tomli instead of toml, after hearing about PEP-680.  tomli will be
+  included in the Python 3.11 standard library as tomllib, while toml is
+  apparently unmaintained.
+
+- Fix submodule support when ``.gitmodules`` exists in a subdirectory
+  (`#153 <https://github.com/mgedmin/check-manifest/issues/153>`_).
+  Note that this reverts a fix for `#124
+  <https://github.com/mgedmin/check-manifest/issues/124>`_: git versions before
+  2.11 are no longer supported.
+
+
 0.47 (2021-09-22)
 -----------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/check-manifest-0.47/PKG-INFO 
new/check-manifest-0.48/PKG-INFO
--- old/check-manifest-0.47/PKG-INFO    2021-09-22 11:08:44.181592200 +0200
+++ new/check-manifest-0.48/PKG-INFO    2022-03-13 11:09:27.875639700 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: check-manifest
-Version: 0.47
+Version: 0.48
 Summary: Check MANIFEST.in in a Python source package for completeness
 Home-page: https://github.com/mgedmin/check-manifest
 Author: Marius Gedminas
@@ -143,7 +143,7 @@
         
             repos:
             -   repo: https://github.com/mgedmin/check-manifest
-                rev: "0.47"
+                rev: "0.48"
                 hooks:
                 -   id: check-manifest
         
@@ -177,6 +177,22 @@
         =========
         
         
+        0.48 (2022-03-13)
+        -----------------
+        
+        - Add Python 3.10 support.
+        
+        - Switch to tomli instead of toml, after hearing about PEP-680.  tomli 
will be
+          included in the Python 3.11 standard library as tomllib, while toml 
is
+          apparently unmaintained.
+        
+        - Fix submodule support when ``.gitmodules`` exists in a subdirectory
+          (`#153 <https://github.com/mgedmin/check-manifest/issues/153>`_).
+          Note that this reverts a fix for `#124
+          <https://github.com/mgedmin/check-manifest/issues/124>`_: git 
versions before
+          2.11 are no longer supported.
+        
+        
         0.47 (2021-09-22)
         -----------------
         
@@ -638,6 +654,7 @@
 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 :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/check-manifest-0.47/README.rst 
new/check-manifest-0.48/README.rst
--- old/check-manifest-0.47/README.rst  2021-09-22 10:49:50.000000000 +0200
+++ new/check-manifest-0.48/README.rst  2022-03-13 11:03:43.000000000 +0100
@@ -135,7 +135,7 @@
 
     repos:
     -   repo: https://github.com/mgedmin/check-manifest
-        rev: "0.47"
+        rev: "0.48"
         hooks:
         -   id: check-manifest
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/check-manifest-0.47/appveyor.yml 
new/check-manifest-0.48/appveyor.yml
--- old/check-manifest-0.47/appveyor.yml        2020-10-29 20:16:49.000000000 
+0100
+++ new/check-manifest-0.48/appveyor.yml        2021-10-18 13:25:16.000000000 
+0200
@@ -8,6 +8,7 @@
     - PYTHON: "C:\\Python37"
     - PYTHON: "C:\\Python38"
     - PYTHON: "C:\\Python39"
+    - PYTHON: "C:\\Python310"
 
 init:
   - "echo %PYTHON%"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/check-manifest-0.47/check_manifest.egg-info/PKG-INFO 
new/check-manifest-0.48/check_manifest.egg-info/PKG-INFO
--- old/check-manifest-0.47/check_manifest.egg-info/PKG-INFO    2021-09-22 
11:08:44.000000000 +0200
+++ new/check-manifest-0.48/check_manifest.egg-info/PKG-INFO    2022-03-13 
11:09:27.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: check-manifest
-Version: 0.47
+Version: 0.48
 Summary: Check MANIFEST.in in a Python source package for completeness
 Home-page: https://github.com/mgedmin/check-manifest
 Author: Marius Gedminas
@@ -143,7 +143,7 @@
         
             repos:
             -   repo: https://github.com/mgedmin/check-manifest
-                rev: "0.47"
+                rev: "0.48"
                 hooks:
                 -   id: check-manifest
         
@@ -177,6 +177,22 @@
         =========
         
         
+        0.48 (2022-03-13)
+        -----------------
+        
+        - Add Python 3.10 support.
+        
+        - Switch to tomli instead of toml, after hearing about PEP-680.  tomli 
will be
+          included in the Python 3.11 standard library as tomllib, while toml 
is
+          apparently unmaintained.
+        
+        - Fix submodule support when ``.gitmodules`` exists in a subdirectory
+          (`#153 <https://github.com/mgedmin/check-manifest/issues/153>`_).
+          Note that this reverts a fix for `#124
+          <https://github.com/mgedmin/check-manifest/issues/124>`_: git 
versions before
+          2.11 are no longer supported.
+        
+        
         0.47 (2021-09-22)
         -----------------
         
@@ -638,6 +654,7 @@
 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 :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/check-manifest-0.47/check_manifest.egg-info/requires.txt 
new/check-manifest-0.48/check_manifest.egg-info/requires.txt
--- old/check-manifest-0.47/check_manifest.egg-info/requires.txt        
2021-09-22 11:08:44.000000000 +0200
+++ new/check-manifest-0.48/check_manifest.egg-info/requires.txt        
2022-03-13 11:09:27.000000000 +0100
@@ -1,6 +1,6 @@
 build>=0.1
 setuptools
-toml
+tomli
 
 [test]
 mock>=3.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/check-manifest-0.47/check_manifest.py 
new/check-manifest-0.48/check_manifest.py
--- old/check-manifest-0.47/check_manifest.py   2021-09-22 10:49:35.000000000 
+0200
+++ new/check-manifest-0.48/check_manifest.py   2022-03-13 11:01:57.000000000 
+0100
@@ -34,7 +34,7 @@
 from typing import List, Optional, Union
 from xml.etree import ElementTree as ET
 
-import toml
+import tomli
 from setuptools.command.egg_info import translate_pattern
 
 
@@ -42,7 +42,7 @@
 from distutils.text_file import TextFile  # isort:skip
 
 
-__version__ = '0.47'
+__version__ = '0.48'
 __author__ = 'Marius Gedminas <[email protected]>'
 __licence__ = 'MIT'
 __url__ = 'https://github.com/mgedmin/check-manifest'
@@ -395,14 +395,10 @@
         # .git can be a file for submodules
         return os.path.exists(os.path.join(location, cls.metadata_name))
 
-    def _has_submodules(cls):
-        return os.path.exists(".gitmodules")
-
     def get_versioned_files(self):
         """List all files versioned by git in the current directory."""
-        extra_args = ["--recurse-submodules"] if self._has_submodules() else []
         output = run(
-            ["git", "ls-files", "-z"] + extra_args,
+            ["git", "ls-files", "-z", "--recurse-submodules"],
             encoding=self._encoding,
         )
         # -z tells git to use \0 as a line terminator; split() treats it as a
@@ -699,7 +695,8 @@
 
     """
     if os.path.exists("pyproject.toml"):
-        config = toml.load("pyproject.toml")
+        with open('pyproject.toml', 'rb') as f:
+            config = tomli.load(f)
         if CFG_SECTION_CHECK_MANIFEST in config.get("tool", {}):
             return config["tool"][CFG_SECTION_CHECK_MANIFEST]
 
@@ -890,7 +887,8 @@
     # should revert to the legacy behaviour of running setup.py".
     if not os.path.exists('pyproject.toml'):
         return False
-    config = toml.load("pyproject.toml")
+    with open('pyproject.toml', 'rb') as f:
+        config = tomli.load(f)
     if "build-system" not in config:
         return False
     if "build-backend" not in config["build-system"]:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/check-manifest-0.47/setup.py 
new/check-manifest-0.48/setup.py
--- old/check-manifest-0.47/setup.py    2021-06-13 15:28:04.000000000 +0200
+++ new/check-manifest-0.48/setup.py    2022-02-24 14:47:09.000000000 +0100
@@ -49,6 +49,7 @@
         'Programming Language :: Python :: 3.7',
         'Programming Language :: Python :: 3.8',
         'Programming Language :: Python :: 3.9',
+        'Programming Language :: Python :: 3.10',
         'Programming Language :: Python :: Implementation :: CPython',
         'Programming Language :: Python :: Implementation :: PyPy',
     ],
@@ -60,7 +61,7 @@
     install_requires=[
         'build>=0.1',
         'setuptools',
-        'toml',
+        'tomli',
     ],
     extras_require={
         'test': [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/check-manifest-0.47/tox.ini 
new/check-manifest-0.48/tox.ini
--- old/check-manifest-0.47/tox.ini     2021-06-13 15:28:02.000000000 +0200
+++ new/check-manifest-0.48/tox.ini     2022-02-24 14:47:09.000000000 +0100
@@ -1,6 +1,6 @@
 [tox]
 envlist =
-    py36,py37,py38,py39,pypy3,flake8
+    py36,py37,py38,py39,py310,pypy3,flake8
 
 [testenv]
 passenv = LANG LC_CTYPE LC_ALL MSYSTEM
@@ -38,7 +38,6 @@
 skip_install = true
 deps =
     mypy
-    types-toml
 commands = mypy {posargs:check_manifest.py}
 
 [testenv:isort]

Reply via email to