Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyenchant for 
openSUSE:Factory checked in at 2021-12-09 19:45:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyenchant (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyenchant.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyenchant"

Thu Dec  9 19:45:05 2021 rev:20 rq:934924 version:3.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyenchant/python-pyenchant.changes        
2021-01-27 18:56:58.128315852 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pyenchant.new.2520/python-pyenchant.changes  
    2021-12-09 19:45:10.777120845 +0100
@@ -1,0 +2,7 @@
+Wed Dec  1 07:59:05 UTC 2021 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Update to 3.2.2:
+  * Add support for Python 3.10
+  * Fix ``Dict.__del__`` sometimes raising `TypeError` upon exit.
+
+-------------------------------------------------------------------

Old:
----
  pyenchant-3.2.0.tar.gz

New:
----
  pyenchant-3.2.2.tar.gz

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

Other differences:
------------------
++++++ python-pyenchant.spec ++++++
--- /var/tmp/diff_new_pack.KlfllE/_old  2021-12-09 19:45:11.293121094 +0100
+++ /var/tmp/diff_new_pack.KlfllE/_new  2021-12-09 19:45:11.293121094 +0100
@@ -19,11 +19,10 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-pyenchant
-Version:        3.2.0
+Version:        3.2.2
 Release:        0
 Summary:        Python bindings for the Enchant spellchecking system
 License:        LGPL-2.1-or-later
-Group:          Development/Languages/Python
 URL:            https://pyenchant.github.io/pyenchant
 Source:         
https://github.com/pyenchant/pyenchant/archive/v%{version}.tar.gz#/pyenchant-%{version}.tar.gz
 BuildRequires:  %{python_module pytest}

++++++ pyenchant-3.2.0.tar.gz -> pyenchant-3.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenchant-3.2.0/.github/workflows/linters.yml 
new/pyenchant-3.2.2/.github/workflows/linters.yml
--- old/pyenchant-3.2.0/.github/workflows/linters.yml   2020-12-08 
13:25:32.000000000 +0100
+++ new/pyenchant-3.2.2/.github/workflows/linters.yml   2021-10-05 
19:24:12.000000000 +0200
@@ -10,13 +10,12 @@
     - uses: actions/checkout@v2.3.3
 
     - name: Set up Python
-      uses: actions/setup-python@v2.1.3
+      uses: actions/setup-python@v2.2.2
       with:
-        python-version: 3.7
+        python-version: "3.10"
 
     - name: Install tox
       run: |
-        python -m pip install --upgrade pip
         pip install tox
 
     - name: Run linters
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenchant-3.2.0/.github/workflows/tests.yml 
new/pyenchant-3.2.2/.github/workflows/tests.yml
--- old/pyenchant-3.2.0/.github/workflows/tests.yml     2020-12-08 
13:25:32.000000000 +0100
+++ new/pyenchant-3.2.2/.github/workflows/tests.yml     2021-10-05 
19:24:12.000000000 +0200
@@ -10,20 +10,22 @@
       fail-fast: false
       matrix:
         os: [ubuntu-latest, macos-latest, windows-latest]
-        python: [3.5, 3.6, 3.7, 3.8, 3.9, pypy3]
+        python: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]
         include:
-         - python: 3.5
-           tox_env: py35
-         - python: 3.6
-           tox_env: py36
-         - python: 3.7
-           tox_env: py37
-         - python: 3.8
-           tox_env: py38
-         - python: 3.9
-           tox_env: py39
-         - python: pypy3
-           tox_env: pypy3
+         - python: "3.5"
+           tox_env: "py35"
+         - python: "3.6"
+           tox_env: "py36"
+         - python: "3.7"
+           tox_env: "py37"
+         - python: "3.8"
+           tox_env: "py38"
+         - python: "3.9"
+           tox_env: "py39"
+         - python: "3.10"
+           tox_env: "py310"
+         - python: "pypy3"
+           tox_env: "pypy3"
          - os: ubuntu-latest
            platform: linux
          - os: macos-latest
@@ -33,7 +35,7 @@
     - uses: actions/checkout@v2.3.3
 
     - name: Set up Python ${{ matrix.python }}
-      uses: actions/setup-python@v2.1.3
+      uses: actions/setup-python@v2.2.2
       with:
         python-version: ${{ matrix.python }}
 
@@ -45,12 +47,10 @@
     - name: Install enchant (macOS)
       if: matrix.platform == 'macos'
       run: |
-        brew update
         brew install enchant
 
     - name: Install tox
       run: |
-        python -m pip install --upgrade pip
         pip install tox
 
     - name: Run tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenchant-3.2.0/.github/workflows/website.yml 
new/pyenchant-3.2.2/.github/workflows/website.yml
--- old/pyenchant-3.2.0/.github/workflows/website.yml   2020-12-08 
13:25:32.000000000 +0100
+++ new/pyenchant-3.2.2/.github/workflows/website.yml   2021-10-05 
19:24:12.000000000 +0200
@@ -11,24 +11,23 @@
     - uses: actions/checkout@v2.3.3
 
     - name: Set up Python
-      uses: actions/setup-python@v2.1.3
+      uses: actions/setup-python@v2.2.2
       with:
-        python-version: 3.7
+        python-version: "3.10"
 
     - name: Install tox
       run: |
-        python -m pip install --upgrade pip
         pip install tox
 
     - name: Build website
       run: |
         tox -e website
 
-    - name: Deploy (if master)
-      if: github.ref == 'refs/heads/master'
+    - name: Deploy (if stable)
+      if: github.ref == 'refs/heads/stable'
       uses: JamesIves/github-pages-deploy-action@releases/v3
       with:
         ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
-        BASE_BRANCH: master
+        BASE_BRANCH: stable
         BRANCH: gh-pages
         FOLDER: website/html/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenchant-3.2.0/CONTRIBUTING.md 
new/pyenchant-3.2.2/CONTRIBUTING.md
--- old/pyenchant-3.2.0/CONTRIBUTING.md 2020-12-08 13:25:32.000000000 +0100
+++ new/pyenchant-3.2.2/CONTRIBUTING.md 2021-10-05 19:24:12.000000000 +0200
@@ -24,7 +24,7 @@
 ## Updating the website
 
 The PyEnchant website is hosted on GitHub pages and there's a GitHub workflow
-to automatically update it every time a commit is pushed on the master branch.
+to automatically update it every time a commit is pushed on the `main` branch.
 
 You can also run `tox -e website-dev` locally to spawn a process that will 
watch
 the changes in the `website/` directory and auto-refresh connected browsers.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenchant-3.2.0/bootstrap.py 
new/pyenchant-3.2.2/bootstrap.py
--- old/pyenchant-3.2.0/bootstrap.py    2020-12-08 13:25:32.000000000 +0100
+++ new/pyenchant-3.2.2/bootstrap.py    2021-10-05 19:24:12.000000000 +0200
@@ -49,7 +49,7 @@
 
 
 def cleanup_data(data_path, bits):
-    """ Remove extraneous files from the enchant artifact """
+    """Remove extraneous files from the enchant artifact"""
     print(":: Cleaning up ...")
     mingw_path = os.path.join(data_path, "mingw" + bits)
     # Better filter extra files there than in the appveyor script
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenchant-3.2.0/enchant/__init__.py 
new/pyenchant-3.2.2/enchant/__init__.py
--- old/pyenchant-3.2.0/enchant/__init__.py     2020-12-08 13:25:32.000000000 
+0100
+++ new/pyenchant-3.2.2/enchant/__init__.py     2021-10-05 19:24:12.000000000 
+0200
@@ -72,7 +72,7 @@
 """
 _DOC_ERRORS = ["enchnt", "enchnt", "incant", "fr"]
 
-__version__ = "3.2.0"
+__version__ = "3.2.2"
 
 import os
 import warnings
@@ -158,12 +158,12 @@
     def _raise_error(self, default="Unspecified Error", eclass=Error):
         """Raise an exception based on available error messages.
 
-         This method causes an Error to be raised.  Subclasses should
-         override it to retrieve an error indication from the underlying
-         API if possible.  If such a message cannot be retrieved, the
-         argument value <default> is used.  The class of the exception
-         can be specified using the argument <eclass>
-         """
+        This method causes an Error to be raised.  Subclasses should
+        override it to retrieve an error indication from the underlying
+        API if possible.  If such a message cannot be retrieved, the
+        argument value <default> is used.  The class of the exception
+        can be specified using the argument <eclass>
+        """
         raise eclass(default)
 
     _raise_error._DOC_ERRORS = ["eclass"]
@@ -554,7 +554,7 @@
         # Calling free() might fail if python is shutting down
         try:
             self._free()
-        except AttributeError:
+        except (AttributeError, TypeError):
             pass
 
     def _switch_this(self, this, broker):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyenchant-3.2.0/enchant/checker/GtkSpellCheckerDialog.py 
new/pyenchant-3.2.2/enchant/checker/GtkSpellCheckerDialog.py
--- old/pyenchant-3.2.0/enchant/checker/GtkSpellCheckerDialog.py        
2020-12-08 13:25:32.000000000 +0100
+++ new/pyenchant-3.2.2/enchant/checker/GtkSpellCheckerDialog.py        
2021-10-05 19:24:12.000000000 +0200
@@ -35,7 +35,9 @@
 COLUMN_SUGGESTION = 0
 
 
-def create_list_view(col_label,):
+def create_list_view(
+    col_label,
+):
     # create list widget
     list_ = gtk.ListStore(str)
     list_view = gtk.TreeView(model=list_)
@@ -222,7 +224,9 @@
         for suggestion in suggestions:
             value = "%s" % (suggestion,)
             model.append(
-                [value,]
+                [
+                    value,
+                ]
             )
 
     def setSpellChecker(self, checker):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenchant-3.2.0/release.py 
new/pyenchant-3.2.2/release.py
--- old/pyenchant-3.2.0/release.py      2020-12-08 13:25:32.000000000 +0100
+++ new/pyenchant-3.2.2/release.py      2021-10-05 19:24:12.000000000 +0200
@@ -39,7 +39,7 @@
 
 
 def main():
-    """ Build artifacts that we need to upload to  pypi """
+    """Build artifacts that we need to upload to  pypi"""
     ensure_empty("build/")
     ensure_empty("dist/")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenchant-3.2.0/setup.cfg 
new/pyenchant-3.2.2/setup.cfg
--- old/pyenchant-3.2.0/setup.cfg       2020-12-08 13:25:32.000000000 +0100
+++ new/pyenchant-3.2.2/setup.cfg       2021-10-05 19:24:12.000000000 +0200
@@ -1,6 +1,6 @@
 [metadata]
 name = pyenchant
-version = 3.2.0
+version = 3.2.2
 description = Python bindings for the Enchant spellchecking system
 long_description = file: README.rst
 author = Dimitri Merejkowsky
@@ -21,6 +21,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
   Topic :: Software Development :: Libraries
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenchant-3.2.0/tbump.toml 
new/pyenchant-3.2.2/tbump.toml
--- old/pyenchant-3.2.0/tbump.toml      2020-12-08 13:25:32.000000000 +0100
+++ new/pyenchant-3.2.2/tbump.toml      2021-10-05 19:24:12.000000000 +0200
@@ -1,5 +1,7 @@
+github_url = "https://github.com/pyenchant/pyenchant";
+
 [version]
-current = "3.2.0"
+current = "3.2.2"
 
 regex = '''
   (?P<major>\d+)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenchant-3.2.0/tests/test_pwl.py 
new/pyenchant-3.2.2/tests/test_pwl.py
--- old/pyenchant-3.2.0/tests/test_pwl.py       2020-12-08 13:25:32.000000000 
+0100
+++ new/pyenchant-3.2.2/tests/test_pwl.py       2021-10-05 19:24:12.000000000 
+0200
@@ -31,6 +31,12 @@
     assert not d.check("hello")
 
 
+@pytest.mark.skipif(
+    sys.implementation.name == "pypy" and sys.platform == "win32",
+    reason="failing for an unknown reason",
+)
+# This test only fails on mypy3 and Windows. Not sure if it's
+# a bug in PyEnchant, Enchant or pypy3
 def test_unicodefn(tmp_path):
     """Test that unicode PWL filenames are accepted."""
     unicode_path = tmp_path / "?????????"
@@ -117,15 +123,3 @@
     assert len(ws) == 2
     assert "hello" in ws
     assert "there" in ws
-
-
-@pytest.mark.skipif(
-    sys.platform == "win32",
-    reason="See https://github.com/pyenchant/pyenchant/issues/140";,
-)
-def test_unicode_chars_in_path(tmp_path):
-    """Test that unicode chars in PWL paths are accepted."""
-    filename = r"test_\xe5\xe4\xf6_ing"
-    path = tmp_path / filename
-    d = request_pwl_dict(str(path))
-    assert d
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenchant-3.2.0/tests/test_tokenize.py 
new/pyenchant-3.2.2/tests/test_tokenize.py
--- old/pyenchant-3.2.0/tests/test_tokenize.py  2020-12-08 13:25:32.000000000 
+0100
+++ new/pyenchant-3.2.2/tests/test_tokenize.py  2021-10-05 19:24:12.000000000 
+0200
@@ -457,7 +457,7 @@
 
 
 def test_typographic_apostrophe():
-    """"Typographic apostrophes should be word separators in English."""
+    """ "Typographic apostrophes should be word separators in English."""
     text = "They\u2019re here"
     expected_tokens = [("They", 0), ("re", 5), ("here", 8)]
     assert list(tokenize_en(text)) == expected_tokens
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenchant-3.2.0/tox.ini new/pyenchant-3.2.2/tox.ini
--- old/pyenchant-3.2.0/tox.ini 2020-12-08 13:25:32.000000000 +0100
+++ new/pyenchant-3.2.2/tox.ini 2021-10-05 19:24:12.000000000 +0200
@@ -1,5 +1,5 @@
 [tox]
-envlist = py{35,36,37,38,39,py3}
+envlist = py{35,36,37,38,39,310,py3}
 
 [testenv]
 # pytest-cov does not seem to work if we
@@ -36,10 +36,9 @@
 [testenv:linters]
 basepython = python3
 deps =
-  black==19.10b0
+  black==21.6b0
   flake8==3.7.9
   pep8-naming
-  regex==2019.11.1
 commands =
   black --check .
   flake8 enchant tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenchant-3.2.0/website/content/changelog.rst 
new/pyenchant-3.2.2/website/content/changelog.rst
--- old/pyenchant-3.2.0/website/content/changelog.rst   2020-12-08 
13:25:32.000000000 +0100
+++ new/pyenchant-3.2.2/website/content/changelog.rst   2021-10-05 
19:24:12.000000000 +0200
@@ -1,6 +1,18 @@
 Changelog
 =========
 
+3.2.2 (2021-10-05)
+------------------
+
+* Add support for Python 3.10
+
+3.2.1 (2021-06-24)
+--------------------
+
+* Fix ``Dict.__del__`` sometimes raising `TypeError` upon exit (#98). Patch by 
@rr-
+* Default development branch is now called ``main``
+* Bump ``black`` to 21.6b0
+
 3.2.0 (2020-12-08)
 -------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenchant-3.2.0/website/content/install.rst 
new/pyenchant-3.2.2/website/content/install.rst
--- old/pyenchant-3.2.0/website/content/install.rst     2020-12-08 
13:25:32.000000000 +0100
+++ new/pyenchant-3.2.2/website/content/install.rst     2021-10-05 
19:24:12.000000000 +0200
@@ -2,7 +2,7 @@
 =============
 
 PyEnchant is compatible with Python versions **3.5** and above at
-the time of writing - `tox.ini 
<https://github.com/pyenchant/pyenchant/blob/master/tox.ini>`_
+the time of writing - `tox.ini 
<https://github.com/pyenchant/pyenchant/blob/main/tox.ini>`_
 being the authoritative source.
 
 The PyEnchant package is available `on pypi 
<https://pypi.org/project/pyenchant>`_.
@@ -19,6 +19,15 @@
 Installing the Enchant C library
 --------------------------------
 
+On FreeBSD
++++++++++++
+
+The quickest way is to install `libenchant` using `pkg(8) 
<man.freebsd.org/pkg/8>`_:
+
+.. code-block:: console
+
+    pkg install enchant2
+
 On Linux
 ++++++++
 
@@ -126,8 +135,8 @@
 So for instance, if the ``hunspell`` is listed as a Enchant provider, you
 should install the German dictionary for the ``hunspell`` provider.
 
-On **Linux** and **macOS**, this can be done by installing the ``hunspell-de``
-package.
+On **FreeBSD**, **Linux**, and **macOS**,this can be done
+by installing the ``hunspell-de`` or the ``de-hunspell`` package.
 
 On **Windows**, if you have installed PyEnchant from a
 wheel, you can download the hunspell dictionary files you need

Reply via email to