Hello community,

here is the log from the commit of package python-textile for openSUSE:Factory 
checked in at 2020-01-25 13:25:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-textile (Old)
 and      /work/SRC/openSUSE:Factory/.python-textile.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-textile"

Sat Jan 25 13:25:41 2020 rev:7 rq:767036 version:4.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-textile/python-textile.changes    
2019-06-17 10:34:41.953223432 +0200
+++ /work/SRC/openSUSE:Factory/.python-textile.new.26092/python-textile.changes 
2020-01-25 13:25:45.636078638 +0100
@@ -1,0 +2,8 @@
+Sat Jan 18 10:49:22 UTC 2020 - Sebastian Wagner <[email protected]>
+
+- drop python 2, not supported anymore upstream
+- update to version 4.0.0:
+ - Drop support for Python 2, hence the version bump. Update list of PY3K 
versions to currently-supported versions. If you need to use textile on Python 
2.7 or Python 3.3 or 3.4, please use textile Version 3.0.4.
+ - For use in PyPy environments, textile used to work well with the regex 
package. Lately, it's running into trouble. Please uninstall regex if this is 
the case for you.
+
+-------------------------------------------------------------------

Old:
----
  textile-3.0.4.tar.gz

New:
----
  textile-4.0.0.tar.gz

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

Other differences:
------------------
++++++ python-textile.spec ++++++
--- /var/tmp/diff_new_pack.KATwDu/_old  2020-01-25 13:25:46.232078898 +0100
+++ /var/tmp/diff_new_pack.KATwDu/_new  2020-01-25 13:25:46.232078898 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-textile
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,26 +18,25 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without test
+%define skip_python2 1
 Name:           python-textile
-Version:        3.0.4
+Version:        4.0.0
 Release:        0
 Summary:        Textile processing for python
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-Url:            http://github.com/textile/python-textile
+URL:            http://github.com/textile/python-textile
 Source:         
https://files.pythonhosted.org/packages/source/t/textile/textile-%{version}.tar.gz
 Requires:       python-Pillow
-Requires:       python-html5lib >= 0.999999999
+Requires:       python-html5lib >= 1.0.1
 Requires:       python-six
 Recommends:     python-regex
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module pytest-cov}
-BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module setuptools}
 %if %{with test}
-# not needed as the test requires internet connection
-#BuildRequires:  %%{python_module Pillow}
-BuildRequires:  %{python_module html5lib >= 0.999999999}
+BuildRequires:  %{python_module html5lib >= 1.0.1}
+BuildRequires:  %{python_module pytest-cov}
+BuildRequires:  %{python_module pytest-runner}
+BuildRequires:  %{python_module regex >= 1.0}
 %endif
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros

++++++ textile-3.0.4.tar.gz -> textile-4.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/CHANGELOG.textile 
new/textile-4.0.0/CHANGELOG.textile
--- old/textile-3.0.4/CHANGELOG.textile 2019-06-08 18:32:59.000000000 +0200
+++ new/textile-4.0.0/CHANGELOG.textile 2020-01-12 20:37:33.000000000 +0100
@@ -1,5 +1,9 @@
 h1. Textile Changelog
 
+h2. Version 4.0.0
+* Drop support for Python 2, hence the version bump. Update list of PY3K 
versions to currently-supported versions. If you need to use textile on Python 
2.7 or Python 3.3 or 3.4, please use textile Version 3.0.4.
+* For use in PyPy environments, textile used to work well with the regex 
package. Lately, it's running into trouble. Please uninstall regex if this is 
the case for you.
+
 h2. Version 3.0.4
 * BUGFIX: Restricted mode strips out CSS attributes again.
 * Update travis to more current versions and test against current Pillow 
version.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/CONTRIBUTORS.txt 
new/textile-4.0.0/CONTRIBUTORS.txt
--- old/textile-3.0.4/CONTRIBUTORS.txt  2019-06-08 18:32:59.000000000 +0200
+++ new/textile-4.0.0/CONTRIBUTORS.txt  2020-01-12 20:57:26.000000000 +0100
@@ -6,4 +6,5 @@
 Alex Shiels
 Jason Samsa
 Kurt Raschke
-Dave Brondsema
\ No newline at end of file
+Dave Brondsema
+Dmitry Shachnev
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/MANIFEST.in 
new/textile-4.0.0/MANIFEST.in
--- old/textile-3.0.4/MANIFEST.in       2019-06-08 19:08:02.000000000 +0200
+++ new/textile-4.0.0/MANIFEST.in       2019-06-08 19:37:33.000000000 +0200
@@ -1,10 +1,2 @@
 include MANIFEST.in
 include tests/fixtures/README.txt
-recursive-include tests *.py
-include .coveragerc
-include CHANGELOG.textile
-include CONTRIBUTORS.txt
-include LICENSE.txt
-include pytest.ini
-include README.textile
-include requirements.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/PKG-INFO new/textile-4.0.0/PKG-INFO
--- old/textile-3.0.4/PKG-INFO  2019-06-08 19:08:12.000000000 +0200
+++ new/textile-4.0.0/PKG-INFO  2020-01-12 21:34:30.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: textile
-Version: 3.0.4
+Version: 4.0.0
 Summary: Textile processing for python.
 Home-page: http://github.com/textile/python-textile
 Author: Dennis Burke
@@ -15,17 +15,13 @@
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
-Classifier: Topic :: Software Development :: Libraries :: Python Modules
-Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.6
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.2
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
-Provides-Extra: regex
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Requires-Python: ~=3.5
 Provides-Extra: develop
 Provides-Extra: imagesize
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/README.textile 
new/textile-4.0.0/README.textile
--- old/textile-3.0.4/README.textile    2018-04-23 03:53:52.000000000 +0200
+++ new/textile-4.0.0/README.textile    2020-01-12 19:42:15.000000000 +0100
@@ -1,4 +1,4 @@
-!https://travis-ci.org/textile/python-textile.svg!:https://travis-ci.org/textile/python-textile
 
!https://coveralls.io/repos/github/textile/python-textile/badge.svg!:https://coveralls.io/github/textile/python-textile?branch=master
 
!https://codecov.io/github/textile/python-textile/coverage.svg!:https://codecov.io/github/textile/python-textile
+!https://travis-ci.org/textile/python-textile.svg!:https://travis-ci.org/textile/python-textile
 
!https://coveralls.io/repos/github/textile/python-textile/badge.svg!:https://coveralls.io/github/textile/python-textile?branch=master
 
!https://codecov.io/github/textile/python-textile/coverage.svg!:https://codecov.io/github/textile/python-textile
 !https://img.shields.io/pypi/pyversions/textile! 
!https://img.shields.io/pypi/wheel/textile!
 
 h1. python-textile
 
@@ -8,9 +8,12 @@
 
 @pip install textile@
 
+Dependencies:
+* "html5lib":https://pypi.org/project/html5lib/
+* "regex":https://pypi.org/project/regex/ (The regex package causes problems 
with PyPy, and is not installed as a dependency in such environments. If you 
are upgrading a textile install on PyPy which had regex previously included, 
you may need to uninstall it.)
+
 Optional dependencies include:
-* "PIL/Pillow":http://python-pillow.github.io/ (for checking images size)
-* "regex":https://pypi.python.org/pypi/regex (for faster unicode-aware string 
matching).
+* "PIL/Pillow":http://python-pillow.github.io/ (for checking image sizes). If 
needed, install via @pip install 'textile[imagesize]'@
 
 h2. Usage
 
@@ -39,4 +42,4 @@
 
 h3. Notes:
 
-* Active development supports Python 2.7 or later (including Python 3.3+).
+* Active development supports Python 3.5 or later.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/requirements.txt 
new/textile-4.0.0/requirements.txt
--- old/textile-3.0.4/requirements.txt  2019-06-08 17:58:53.000000000 +0200
+++ new/textile-4.0.0/requirements.txt  1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-html5lib>=1.0b10
-Pillow
-regex
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/setup.cfg new/textile-4.0.0/setup.cfg
--- old/textile-3.0.4/setup.cfg 2019-06-08 19:08:12.000000000 +0200
+++ new/textile-4.0.0/setup.cfg 2020-01-12 21:34:30.000000000 +0100
@@ -1,9 +1,6 @@
 [aliases]
 test = pytest
 
-[bdist_wheel]
-universal = 1
-
 [egg_info]
 tag_build = 
 tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/setup.py new/textile-4.0.0/setup.py
--- old/textile-3.0.4/setup.py  2018-04-23 03:53:52.000000000 +0200
+++ new/textile-4.0.0/setup.py  2020-01-12 21:33:52.000000000 +0100
@@ -42,28 +42,22 @@
         'License :: OSI Approved :: BSD License',
         'Operating System :: OS Independent',
         'Programming Language :: Python',
-        'Topic :: Software Development :: Libraries :: Python Modules',
-        'Programming Language :: Python',
-        'Programming Language :: Python :: 2',
-        'Programming Language :: Python :: 2.6',
-        'Programming Language :: Python :: 2.7',
         'Programming Language :: Python :: 3',
-        'Programming Language :: Python :: 3.2',
-        'Programming Language :: Python :: 3.3',
-        'Programming Language :: Python :: 3.4',
+        'Programming Language :: Python :: 3 :: Only',
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
+        'Programming Language :: Python :: 3.7',
+        'Programming Language :: Python :: 3.8',
+        'Topic :: Software Development :: Libraries :: Python Modules',
     ],
     keywords='textile,text,html markup',
     install_requires=[
-        'six',
-        'html5lib>=0.999999999',
+        'html5lib>=1.0.1',
+        'regex>1.0; implementation_name != "pypy"',
         ],
     extras_require={
-        ':python_version=="2.6"': ['ordereddict>=1.1'],
         'develop': ['pytest', 'pytest-cov'],
         'imagesize': ['Pillow>=3.0.0'],
-        'regex': ['regex'],
     },
     entry_points={'console_scripts': ['pytextile=textile.__main__:main']},
     setup_requires=['pytest-runner'],
@@ -71,4 +65,5 @@
     cmdclass = {'test': PyTest},
     include_package_data=True,
     zip_safe=False,
+    python_requires='~=3.5',
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/tests/fixtures/README.txt 
new/textile-4.0.0/tests/fixtures/README.txt
--- old/textile-3.0.4/tests/fixtures/README.txt 2018-04-23 03:53:52.000000000 
+0200
+++ new/textile-4.0.0/tests/fixtures/README.txt 2020-01-12 19:52:44.000000000 
+0100
@@ -1,4 +1,4 @@
-       <p><a href="https://travis-ci.org/textile/python-textile";><img alt="" 
src="https://travis-ci.org/textile/python-textile.svg"; /></a> <a 
href="https://coveralls.io/github/textile/python-textile?branch=master";><img 
alt="" src="https://coveralls.io/repos/github/textile/python-textile/badge.svg"; 
/></a> <a href="https://codecov.io/github/textile/python-textile";><img alt="" 
src="https://codecov.io/github/textile/python-textile/coverage.svg"; /></a></p>
+       <p><a href="https://travis-ci.org/textile/python-textile";><img alt="" 
src="https://travis-ci.org/textile/python-textile.svg"; /></a> <a 
href="https://coveralls.io/github/textile/python-textile?branch=master";><img 
alt="" src="https://coveralls.io/repos/github/textile/python-textile/badge.svg"; 
/></a> <a href="https://codecov.io/github/textile/python-textile";><img alt="" 
src="https://codecov.io/github/textile/python-textile/coverage.svg"; /></a> <img 
alt="" src="https://img.shields.io/pypi/pyversions/textile"; /> <img alt="" 
src="https://img.shields.io/pypi/wheel/textile"; /></p>
 
        <h1>python-textile</h1>
 
@@ -8,10 +8,15 @@
 
        <p><code>pip install textile</code></p>
 
+       <p>Dependencies:
+       <ul>
+               <li><a 
href="https://pypi.org/project/html5lib/";>html5lib</a></li>
+               <li><a href="https://pypi.org/project/regex/";>regex</a> (The 
regex package causes problems with PyPy, and is not installed as a dependency 
in such environments. If you are upgrading a textile install on PyPy which had 
regex previously included, you may need to uninstall it.)</li>
+       </ul></p>
+
        <p>Optional dependencies include:
        <ul>
-               <li><a href="http://python-pillow.github.io/";><span 
class="caps">PIL</span>/Pillow</a> (for checking images size)</li>
-               <li><a href="https://pypi.python.org/pypi/regex";>regex</a> (for 
faster unicode-aware string matching).</li>
+               <li><a href="http://python-pillow.github.io/";><span 
class="caps">PIL</span>/Pillow</a> (for checking image sizes). If needed, 
install via <code>pip install 'textile[imagesize]'</code></li>
        </ul></p>
 
        <h2>Usage</h2>
@@ -42,5 +47,5 @@
        <h3>Notes:</h3>
 
        <ul>
-               <li>Active development supports Python 2.7 or later (including 
Python 3.3+).</li>
+               <li>Active development supports Python 3.5 or later.</li>
        </ul>
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/tests/test_cli.py 
new/textile-4.0.0/tests/test_cli.py
--- old/textile-3.0.4/tests/test_cli.py 2018-04-23 03:53:52.000000000 +0200
+++ new/textile-4.0.0/tests/test_cli.py 2020-01-12 16:07:01.000000000 +0100
@@ -1,4 +1,3 @@
-import six
 import subprocess
 import sys
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/textile/core.py 
new/textile-4.0.0/textile/core.py
--- old/textile-3.0.4/textile/core.py   2019-06-08 18:32:59.000000000 +0200
+++ new/textile-4.0.0/textile/core.py   2020-01-12 16:29:57.000000000 +0100
@@ -19,9 +19,7 @@
 """
 
 import uuid
-import six
-from six.moves.urllib_parse import (urlparse, urlsplit, urlunsplit, quote,
-        unquote)
+from urllib.parse import urlparse, urlsplit, urlunsplit, quote, unquote
 
 from textile.tools import sanitizer, imagesize
 from textile.regex_strings import (align_re_s, cls_re_s, pnct_re_s,
@@ -962,12 +960,12 @@
         text = self.glyphs(text)
         url = self.shelveURL(self.encode_url(urlunsplit(uri_parts)))
         attributes = parse_attributes(atts, restricted=self.restricted)
+        attributes['href'] = url
         if title:
             # if the title contains unicode data, it is annoying to get Python
             # 2.6 and all the latter versions working properly.  But shelving
             # the title is a quick and dirty solution.
             attributes['title'] = self.shelve(title)
-        attributes['href'] = url
         if self.rel:
             attributes['rel'] = self.rel
         a_text = generate_tag('a', text, attributes)
@@ -985,10 +983,6 @@
         Fixed version of the following code fragment from Stack Overflow:
             http://stackoverflow.com/a/804380/72656
         """
-        # turn string into unicode
-        if not isinstance(url, six.text_type):
-            url = url.decode('utf8')
-
         # parse it
         parsed = urlsplit(url)
 
@@ -1017,12 +1011,8 @@
         # slashes, and this is a way to clean that up. It branches for PY2/3
         # because the quote and unquote functions expects different input
         # types: unicode strings for PY2 and str for PY3.
-        if six.PY2:
-            path_parts = (quote(unquote(pce.encode('utf8')), b'') for pce in
-                    parsed.path.split('/'))
-        else:
-            path_parts = (quote(unquote(pce), b'') for pce in
-                    parsed.path.split('/'))
+        path_parts = (quote(unquote(pce), b'') for pce in
+                parsed.path.split('/'))
         path = '/'.join(path_parts)
 
         # put it back together
@@ -1128,14 +1118,14 @@
             atts.update(align=alignments[align])
         atts.update(alt=title)
         if size:
-            atts.update(height=six.text_type(size[1]))
+            atts.update(height="{0}".format(size[1]))
         atts.update(src=url)
         if attributes:
             atts.update(parse_attributes(attributes, 
restricted=self.restricted))
         if title:
             atts.update(title=title)
         if size:
-            atts.update(width=six.text_type(size[0]))
+            atts.update(width="{0}".format(size[0]))
         img = generate_tag('img', ' /', atts)
         if href:
             a_atts = OrderedDict(href=href)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/textile/objects/table.py 
new/textile-4.0.0/textile/objects/table.py
--- old/textile-3.0.4/textile/objects/table.py  2019-06-08 18:32:59.000000000 
+0200
+++ new/textile-4.0.0/textile/objects/table.py  2020-01-12 16:06:31.000000000 
+0100
@@ -1,7 +1,6 @@
 # -*- coding: utf-8 -*-
 from __future__ import unicode_literals
 
-import six
 from xml.etree import ElementTree
 
 from textile.regex_strings import (align_re_s, cls_re_s, regex_snippets,
@@ -157,8 +156,6 @@
 
     def process(self):
         enc = 'unicode'
-        if six.PY2: # pragma: no branch
-            enc = 'UTF-8'
 
         group_atts = parse_attributes(self.attributes, 'col', 
restricted=self.restricted)
         colgroup = ElementTree.Element('colgroup', attrib=group_atts)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/textile/regex_strings.py 
new/textile-4.0.0/textile/regex_strings.py
--- old/textile-3.0.4/textile/regex_strings.py  2018-04-23 03:53:52.000000000 
+0200
+++ new/textile-4.0.0/textile/regex_strings.py  2020-01-12 16:46:10.000000000 
+0100
@@ -1,8 +1,6 @@
 # -*- coding: utf-8 -*-
 from __future__ import unicode_literals
 
-import six
-
 try:
     # Use regex module for matching uppercase characters if installed,
     # otherwise fall back to finding all the uppercase chars in a loop.
@@ -21,8 +19,8 @@
 except ImportError:
     from sys import maxunicode
     upper_re_s = "".join(
-            [six.unichr(c) for c in six.moves.range(maxunicode) if six.unichr(
-                c).isupper()])
+                [chr(c) for c in range(maxunicode) if chr(c).isupper()]
+            )
     regex_snippets = {
         'acr': r'{0}0-9'.format(upper_re_s),
         'abr': r'{0}'.format(upper_re_s),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/textile/tools/imagesize.py 
new/textile-4.0.0/textile/tools/imagesize.py
--- old/textile-3.0.4/textile/tools/imagesize.py        2018-04-23 
03:53:52.000000000 +0200
+++ new/textile-4.0.0/textile/tools/imagesize.py        2020-01-01 
21:03:09.000000000 +0100
@@ -11,10 +11,7 @@
     except ImportError:
         return ''
 
-    try:
-        from urllib.request import urlopen
-    except (ImportError):
-        from urllib2 import urlopen
+    from urllib.request import urlopen
 
     try:
         p = ImageFile.Parser()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/textile/utils.py 
new/textile-4.0.0/textile/utils.py
--- old/textile-3.0.4/textile/utils.py  2019-06-08 18:32:59.000000000 +0200
+++ new/textile-4.0.0/textile/utils.py  2020-01-12 16:05:08.000000000 +0100
@@ -1,14 +1,12 @@
 from __future__ import unicode_literals
-import six
 
 try:
     import regex as re
 except ImportError:
     import re
 
-from six.moves import urllib, html_parser
-urlparse = urllib.parse.urlparse
-HTMLParser = html_parser.HTMLParser
+from urllib.parse import urlparse
+import html
 
 from collections import OrderedDict
 
@@ -19,9 +17,8 @@
 
 def decode_high(text):
     """Decode encoded HTML entities."""
-    h = HTMLParser()
     text = '&#{0};'.format(text)
-    return h.unescape(text)
+    return html.unescape(text)
 
 def encode_high(text):
     """Encode the text so that it is an appropriate HTML entity."""
@@ -46,23 +43,23 @@
     """Generate a complete html tag using the ElementTree module.  tag and
     content are strings, the attributes argument is a dictionary.  As
     a convenience, if the content is ' /', a self-closing tag is generated."""
-    content = six.text_type(content)
-    # In PY2, ElementTree tostringlist only works with bytes, not with
-    # unicode().
     enc = 'unicode'
-    if six.PY2:
-        enc = 'UTF-8'
     if not tag:
         return content
     element = ElementTree.Element(tag, attrib=attributes)
+    # Sort attributes for Python 3.8+, as suggested in
+    # https://docs.python.org/3/library/xml.etree.elementtree.html
+    if len(element.attrib) > 1:
+        # adjust attribute order, e.g. by sorting
+        attribs = sorted(element.attrib.items())
+        element.attrib.clear()
+        element.attrib.update(attribs)
     # FIXME: Kind of an ugly hack.  There *must* be a cleaner way.  I tried
     # adding text by assigning it to element_tag.text.  That results in
     # non-ascii text being html-entity encoded.  Not bad, but not entirely
     # matching php-textile either.
     element_tag = ElementTree.tostringlist(element, encoding=enc,
             method='html')
-    if six.PY2:
-        element_tag = [v.decode(enc) for v in element_tag]
     element_tag.insert(len(element_tag) - 1, content)
     element_text = ''.join(element_tag)
     return element_text
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/textile/version.py 
new/textile-4.0.0/textile/version.py
--- old/textile-3.0.4/textile/version.py        2019-06-08 18:34:25.000000000 
+0200
+++ new/textile-4.0.0/textile/version.py        2020-01-12 20:13:03.000000000 
+0100
@@ -1 +1 @@
-VERSION = '3.0.4'
+VERSION = '4.0.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/textile.egg-info/PKG-INFO 
new/textile-4.0.0/textile.egg-info/PKG-INFO
--- old/textile-3.0.4/textile.egg-info/PKG-INFO 2019-06-08 19:08:12.000000000 
+0200
+++ new/textile-4.0.0/textile.egg-info/PKG-INFO 2020-01-12 21:34:30.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: textile
-Version: 3.0.4
+Version: 4.0.0
 Summary: Textile processing for python.
 Home-page: http://github.com/textile/python-textile
 Author: Dennis Burke
@@ -15,17 +15,13 @@
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
-Classifier: Topic :: Software Development :: Libraries :: Python Modules
-Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.6
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.2
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
-Provides-Extra: regex
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Requires-Python: ~=3.5
 Provides-Extra: develop
 Provides-Extra: imagesize
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/textile.egg-info/SOURCES.txt 
new/textile-4.0.0/textile.egg-info/SOURCES.txt
--- old/textile-3.0.4/textile.egg-info/SOURCES.txt      2019-06-08 
19:08:12.000000000 +0200
+++ new/textile-4.0.0/textile.egg-info/SOURCES.txt      2020-01-12 
21:34:30.000000000 +0100
@@ -5,7 +5,6 @@
 MANIFEST.in
 README.textile
 pytest.ini
-requirements.txt
 setup.cfg
 setup.py
 tests/test_attributes.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/textile-3.0.4/textile.egg-info/requires.txt 
new/textile-4.0.0/textile.egg-info/requires.txt
--- old/textile-3.0.4/textile.egg-info/requires.txt     2019-06-08 
19:08:12.000000000 +0200
+++ new/textile-4.0.0/textile.egg-info/requires.txt     2020-01-12 
21:34:30.000000000 +0100
@@ -1,8 +1,7 @@
-six
-html5lib>=0.999999999
+html5lib>=1.0.1
 
-[:python_version=="2.6"]
-ordereddict>=1.1
+[:implementation_name != "pypy"]
+regex>1.0
 
 [develop]
 pytest
@@ -10,6 +9,3 @@
 
 [imagesize]
 Pillow>=3.0.0
-
-[regex]
-regex


Reply via email to