Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-tldextract for
openSUSE:Factory checked in at 2021-10-01 22:29:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tldextract (Old)
and /work/SRC/openSUSE:Factory/.python-tldextract.new.2443 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tldextract"
Fri Oct 1 22:29:05 2021 rev:13 rq:922516 version:3.1.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tldextract/python-tldextract.changes
2021-02-07 15:24:21.898222880 +0100
+++
/work/SRC/openSUSE:Factory/.python-tldextract.new.2443/python-tldextract.changes
2021-10-01 22:29:21.821408440 +0200
@@ -1,0 +2,9 @@
+Fri Oct 1 07:26:20 UTC 2021 - Mia Herkt <[email protected]>
+
+- Update to 3.1.2 (no visible changes)
+- Changes in 3.1.1:
+ * Bugfixes
+ + Support Python 3.9
+ + Drop support for EOL Python 3.5
+
+-------------------------------------------------------------------
Old:
----
tldextract-3.1.0.tar.gz
New:
----
tldextract-3.1.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-tldextract.spec ++++++
--- /var/tmp/diff_new_pack.e8oYyY/_old 2021-10-01 22:29:22.333409386 +0200
+++ /var/tmp/diff_new_pack.e8oYyY/_new 2021-10-01 22:29:22.337409394 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-tldextract
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
%define skip_python2 1
%define oldpython python
Name: python-tldextract
-Version: 3.1.0
+Version: 3.1.2
Release: 0
Summary: Python module to separate the TLD of a URL
License: BSD-3-Clause
@@ -30,8 +30,8 @@
Source1: %{name}-rpmlintrc
BuildRequires: %{python_module filelock >= 3.0.8}
BuildRequires: %{python_module idna >= 2.1.0}
-BuildRequires: %{python_module requests-file >= 1.4}
BuildRequires: %{python_module requests >= 2.1.0}
+BuildRequires: %{python_module requests-file >= 1.4}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
### SECTION test requirements
@@ -47,7 +47,7 @@
Requires: python-requests-file >= 1.4
Requires: python-setuptools
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
Obsoletes: %{oldpython}-tldextract <= 2.0.1
BuildArch: noarch
%python_subpackages
++++++ tldextract-3.1.0.tar.gz -> tldextract-3.1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.1.0/.travis.yml
new/tldextract-3.1.2/.travis.yml
--- old/tldextract-3.1.0/.travis.yml 2020-11-22 17:28:50.000000000 +0100
+++ new/tldextract-3.1.2/.travis.yml 2021-09-01 18:20:50.000000000 +0200
@@ -2,18 +2,18 @@
language: python
matrix:
include:
- - python: 3.5
- env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
- python: 3.8
env: TOXENV=py38
+ - python: 3.9
+ env: TOXENV=py39
- python: pypy3
env: TOXENV=pypy3
- env: TOXENV=codestyle
- env: TOXENV=lint
-python: 3.7
+python: 3.9
install: pip install tox
script: tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.1.0/CHANGELOG.md
new/tldextract-3.1.2/CHANGELOG.md
--- old/tldextract-3.1.0/CHANGELOG.md 2020-11-22 21:38:24.000000000 +0100
+++ new/tldextract-3.1.2/CHANGELOG.md 2021-09-01 18:28:49.000000000 +0200
@@ -3,6 +3,17 @@
After upgrading, update your cache file by deleting it or via `tldextract
--update`.
+## 3.1.2 (2021-09-01)
+
+* Misc.
+ * Only run pylint in Tox environments, i.e. CI, not by default in tests
([#230](https://github.com/john-kurkowski/tldextract/issues/230))
+
+## 3.1.1 (2021-08-27)
+
+* Bugfixes
+ * Support Python 3.9
+ * Drop support for EOL Python 3.5
+
## 3.1.0 (2020-11-22)
* Features
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.1.0/PKG-INFO
new/tldextract-3.1.2/PKG-INFO
--- old/tldextract-3.1.0/PKG-INFO 2020-11-22 21:38:49.000000000 +0100
+++ new/tldextract-3.1.2/PKG-INFO 2021-09-01 18:29:26.077394000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: tldextract
-Version: 3.1.0
+Version: 3.1.2
Summary: Accurately separate the TLD from the registered domain and subdomains
of a URL, using the Public Suffix List. By default, this includes the public
ICANN TLDs and their exceptions. You can optionally support the Public Suffix
List's private domains as well.
Home-page: https://github.com/john-kurkowski/tldextract
Author: John Kurkowski
@@ -38,9 +38,9 @@
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
-Requires-Python: >=3.5
+Classifier: Programming Language :: Python :: 3.9
+Requires-Python: >=3.6
Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.1.0/pytest.ini
new/tldextract-3.1.2/pytest.ini
--- old/tldextract-3.1.0/pytest.ini 2020-10-10 05:19:06.000000000 +0200
+++ new/tldextract-3.1.2/pytest.ini 2021-09-01 18:20:52.000000000 +0200
@@ -1,2 +1,2 @@
[pytest]
-addopts = --doctest-modules --pylint
+addopts = --doctest-modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.1.0/setup.py
new/tldextract-3.1.2/setup.py
--- old/tldextract-3.1.0/setup.py 2020-10-10 04:54:22.000000000 +0200
+++ new/tldextract-3.1.2/setup.py 2021-09-01 18:20:50.000000000 +0200
@@ -54,7 +54,7 @@
url="https://github.com/john-kurkowski/tldextract",
packages=["tldextract"],
include_package_data=True,
- python_requires=">=3.5",
+ python_requires=">=3.6",
long_description=__doc__,
long_description_content_type="text/markdown",
classifiers=[
@@ -62,13 +62,13 @@
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
- "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",
],
- entry_points={"console_scripts": ["tldextract = tldextract.cli:main",]},
+ entry_points={"console_scripts": ["tldextract = tldextract.cli:main", ]},
setup_requires=["setuptools_scm"],
- use_scm_version={"write_to": "tldextract/_version.py",},
+ use_scm_version={"write_to": "tldextract/_version.py", },
install_requires=INSTALL_REQUIRES,
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.1.0/tests/main_test.py
new/tldextract-3.1.2/tests/main_test.py
--- old/tldextract-3.1.0/tests/main_test.py 2020-11-22 17:28:50.000000000
+0100
+++ new/tldextract-3.1.2/tests/main_test.py 2021-09-01 18:20:50.000000000
+0200
@@ -102,7 +102,7 @@
def test_looks_like_ip():
- assert_extract(u'1\xe9', ('', '', u'1\xe9', ''))
+ assert_extract('1\xe9', ('', '', '1\xe9', ''))
def test_punycode():
@@ -134,9 +134,9 @@
def test_puny_with_non_puny():
- assert_extract(u'http://xn--zckzap6140b352by.blog.so-net.??????.hk',
- (u'xn--zckzap6140b352by.blog.so-net.??????.hk',
- 'xn--zckzap6140b352by.blog', 'so-net', u'??????.hk'))
+ assert_extract('http://xn--zckzap6140b352by.blog.so-net.??????.hk',
+ ('xn--zckzap6140b352by.blog.so-net.??????.hk',
+ 'xn--zckzap6140b352by.blog', 'so-net', '??????.hk'))
def test_idna_2008():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.1.0/tests/test_parallel.py
new/tldextract-3.1.2/tests/test_parallel.py
--- old/tldextract-3.1.0/tests/test_parallel.py 2020-11-22 17:28:50.000000000
+0100
+++ new/tldextract-3.1.2/tests/test_parallel.py 2021-07-04 22:51:11.000000000
+0200
@@ -12,9 +12,8 @@
def test_multiprocessing_makes_one_request(tmpdir):
"""Ensure there aren't duplicate download requests"""
process_count = 3
- pool = Pool(processes=process_count)
-
- http_request_counts = pool.map(_run_extractor, [str(tmpdir)] *
process_count)
+ with Pool(processes=process_count) as pool:
+ http_request_counts = pool.map(_run_extractor, [str(tmpdir)] *
process_count)
assert sum(http_request_counts) == 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.1.0/tldextract/_version.py
new/tldextract-3.1.2/tldextract/_version.py
--- old/tldextract-3.1.0/tldextract/_version.py 2020-11-22 21:38:49.000000000
+0100
+++ new/tldextract-3.1.2/tldextract/_version.py 2021-09-01 18:29:25.000000000
+0200
@@ -1,4 +1,5 @@
# coding: utf-8
# file generated by setuptools_scm
# don't change, don't track in version control
-version = '3.1.0'
+version = '3.1.2'
+version_tuple = (3, 1, 2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.1.0/tldextract/cache.py
new/tldextract-3.1.2/tldextract/cache.py
--- old/tldextract-3.1.0/tldextract/cache.py 2020-11-22 17:28:50.000000000
+0100
+++ new/tldextract-3.1.2/tldextract/cache.py 2021-09-01 18:20:50.000000000
+0200
@@ -31,13 +31,15 @@
tldextract_version = "tldextract-" + version
python_env_name = os.path.basename(sys.prefix)
# just to handle the edge case of two identically named python environments
- python_binary_path_short_hash =
hashlib.md5(sys.prefix.encode("utf-8")).hexdigest()[:6]
+ python_binary_path_short_hash =
hashlib.md5(sys.prefix.encode("utf-8")).hexdigest()[
+ :6
+ ]
python_version = ".".join([str(v) for v in sys.version_info[:-1]])
identifier_parts = [
python_version,
python_env_name,
python_binary_path_short_hash,
- tldextract_version
+ tldextract_version,
]
pkg_identifier = "__".join(identifier_parts)
@@ -62,7 +64,9 @@
xdg_cache_home = os.path.join(user_home, ".cache")
if xdg_cache_home is not None:
- return os.path.join(xdg_cache_home, "python-tldextract",
get_pkg_unique_identifier())
+ return os.path.join(
+ xdg_cache_home, "python-tldextract", get_pkg_unique_identifier()
+ )
# fallback to trying to use package directory itself
return os.path.join(os.path.dirname(__file__), ".suffix_cache/")
@@ -88,7 +92,7 @@
if not os.path.isfile(cache_filepath):
raise KeyError("namespace: " + namespace + " key: " + repr(key))
try:
- with open(cache_filepath) as cache_file:
+ with open(cache_filepath) as cache_file: # pylint:
disable=unspecified-encoding
return json.load(cache_file)
except (OSError, ValueError) as exc:
LOG.error("error reading TLD cache file %s: %s", cache_filepath,
exc)
@@ -104,7 +108,7 @@
try:
_make_dir(cache_filepath)
- with open(cache_filepath, "w") as cache_file:
+ with open(cache_filepath, "w") as cache_file: # pylint:
disable=unspecified-encoding
json.dump(value, cache_file)
except OSError as ioe:
global _DID_LOG_UNABLE_TO_CACHE # pylint: disable=global-statement
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.1.0/tldextract/remote.py
new/tldextract-3.1.2/tldextract/remote.py
--- old/tldextract-3.1.0/tldextract/remote.py 2020-11-22 17:28:50.000000000
+0100
+++ new/tldextract-3.1.2/tldextract/remote.py 2021-07-04 22:51:11.000000000
+0200
@@ -24,4 +24,6 @@
if IP_RE.match(maybe_ip):
return True
except socket.error:
- return False
+ pass
+
+ return False
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.1.0/tldextract.egg-info/PKG-INFO
new/tldextract-3.1.2/tldextract.egg-info/PKG-INFO
--- old/tldextract-3.1.0/tldextract.egg-info/PKG-INFO 2020-11-22
21:38:49.000000000 +0100
+++ new/tldextract-3.1.2/tldextract.egg-info/PKG-INFO 2021-09-01
18:29:25.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: tldextract
-Version: 3.1.0
+Version: 3.1.2
Summary: Accurately separate the TLD from the registered domain and subdomains
of a URL, using the Public Suffix List. By default, this includes the public
ICANN TLDs and their exceptions. You can optionally support the Public Suffix
List's private domains as well.
Home-page: https://github.com/john-kurkowski/tldextract
Author: John Kurkowski
@@ -38,9 +38,9 @@
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
-Requires-Python: >=3.5
+Classifier: Programming Language :: Python :: 3.9
+Requires-Python: >=3.6
Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.1.0/tox.ini new/tldextract-3.1.2/tox.ini
--- old/tldextract-3.1.0/tox.ini 2020-11-22 17:28:50.000000000 +0100
+++ new/tldextract-3.1.2/tox.ini 2021-09-01 18:20:52.000000000 +0200
@@ -1,5 +1,5 @@
[tox]
-envlist = py{35,36,37,38,py3},codestyle,lint
+envlist = py{36,37,38,39,py3},codestyle,lint
[testenv]
deps =
@@ -10,7 +10,7 @@
pytest-pylint
responses
-commands = pytest {posargs}
+commands = pytest --pylint {posargs}
[testenv:codestyle]
deps = pycodestyle