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 2022-07-26 19:44:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tldextract (Old)
and /work/SRC/openSUSE:Factory/.python-tldextract.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tldextract"
Tue Jul 26 19:44:10 2022 rev:15 rq:990894 version:3.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tldextract/python-tldextract.changes
2022-06-16 18:22:15.716254862 +0200
+++
/work/SRC/openSUSE:Factory/.python-tldextract.new.1533/python-tldextract.changes
2022-07-26 19:44:36.114159443 +0200
@@ -1,0 +2,8 @@
+Sun Jul 24 17:00:27 UTC 2022 - Mia Herkt <[email protected]>
+
+- Update to 3.3.1
+Bugfixes
+ * Fix documented types, in README and in exception message
+ #gh/john-kurkowski/tldextract#265
+
+-------------------------------------------------------------------
Old:
----
tldextract-3.3.0.tar.gz
New:
----
tldextract-3.3.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-tldextract.spec ++++++
--- /var/tmp/diff_new_pack.bWVkxM/_old 2022-07-26 19:44:36.558090844 +0200
+++ /var/tmp/diff_new_pack.bWVkxM/_new 2022-07-26 19:44:36.562090226 +0200
@@ -20,7 +20,7 @@
%define skip_python2 1
%define oldpython python
Name: python-tldextract
-Version: 3.3.0
+Version: 3.3.1
Release: 0
Summary: Python module to separate the TLD of a URL
License: BSD-3-Clause
++++++ tldextract-3.3.0.tar.gz -> tldextract-3.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.3.0/.github/FUNDING.yml
new/tldextract-3.3.1/.github/FUNDING.yml
--- old/tldextract-3.3.0/.github/FUNDING.yml 1970-01-01 01:00:00.000000000
+0100
+++ new/tldextract-3.3.1/.github/FUNDING.yml 2022-06-06 01:30:19.000000000
+0200
@@ -0,0 +1 @@
+github: [john-kurkowski]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.3.0/CHANGELOG.md
new/tldextract-3.3.1/CHANGELOG.md
--- old/tldextract-3.3.0/CHANGELOG.md 2022-05-05 01:27:25.000000000 +0200
+++ new/tldextract-3.3.1/CHANGELOG.md 2022-07-08 20:56:46.000000000 +0200
@@ -3,6 +3,13 @@
After upgrading, update your cache file by deleting it or via `tldextract
--update`.
+## 3.3.1 (2022-07-08)
+
+* Bugfixes
+ * Fix documented types, in README and in exception message
([#265](https://github.com/john-kurkowski/tldextract/issues/265))
+* Misc.
+ * Format source code
+
## 3.3.0 (2022-05-04)
* Features
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.3.0/PKG-INFO
new/tldextract-3.3.1/PKG-INFO
--- old/tldextract-3.3.0/PKG-INFO 2022-05-05 01:27:53.283423000 +0200
+++ new/tldextract-3.3.1/PKG-INFO 2022-07-08 20:58:25.247439100 +0200
@@ -1,13 +1,12 @@
Metadata-Version: 2.1
Name: tldextract
-Version: 3.3.0
+Version: 3.3.1
Summary: Accurately separates a URL's subdomain, domain, and public suffix,
using the Public Suffix List (PSL). 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
Author-email: [email protected]
License: BSD License
Keywords: tld domain subdomain url parse extract urlparse urlsplit public
suffix list publicsuffix publicsuffixlist
-Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: BSD License
@@ -45,5 +44,3 @@
By default, this package supports the public ICANN TLDs and their exceptions.
You can optionally support the Public Suffix List's private domains as well.
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.3.0/README.md
new/tldextract-3.3.1/README.md
--- old/tldextract-3.3.0/README.md 2022-05-05 01:05:12.000000000 +0200
+++ new/tldextract-3.3.1/README.md 2022-06-06 01:36:58.000000000 +0200
@@ -116,7 +116,7 @@
```python
# extract callable that falls back to the included TLD snapshot, no live HTTP
fetching
-no_fetch_extract = tldextract.TLDExtract(suffix_list_urls=None)
+no_fetch_extract = tldextract.TLDExtract(suffix_list_urls=())
no_fetch_extract('http://www.google.com')
# extract callable that reads/writes the updated TLD set to a different path
@@ -264,3 +264,12 @@
tox -l
tox -e py37
```
+
+### Code Style
+
+Automatically format all code:
+
+```zsh
+pip install black
+black .
+```
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.3.0/tests/main_test.py
new/tldextract-3.3.1/tests/main_test.py
--- old/tldextract-3.3.0/tests/main_test.py 2022-05-03 21:53:33.000000000
+0200
+++ new/tldextract-3.3.1/tests/main_test.py 2022-06-06 01:30:19.000000000
+0200
@@ -308,7 +308,7 @@
def test_result_as_dict():
result = extract(
- "http://admin:[email protected]:666"
"/secret/admin/interface?param1=42"
+
"http://admin:[email protected]:666/secret/admin/interface?param1=42"
)
expected_dict = {"subdomain": "www", "domain": "google", "suffix": "com"}
assert result._asdict() == expected_dict
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.3.0/tldextract/__main__.py
new/tldextract-3.3.1/tldextract/__main__.py
--- old/tldextract-3.3.0/tldextract/__main__.py 2022-03-03 20:36:27.000000000
+0100
+++ new/tldextract-3.3.1/tldextract/__main__.py 2022-06-06 01:36:58.000000000
+0200
@@ -1,8 +1,7 @@
-'''tldextract __main__.'''
+"""tldextract __main__."""
from .cli import main
-
-if __name__ == '__main__':
+if __name__ == "__main__":
main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.3.0/tldextract/_version.py
new/tldextract-3.3.1/tldextract/_version.py
--- old/tldextract-3.3.0/tldextract/_version.py 2022-05-05 01:27:52.000000000
+0200
+++ new/tldextract-3.3.1/tldextract/_version.py 2022-07-08 20:58:25.000000000
+0200
@@ -1,5 +1,5 @@
# coding: utf-8
# file generated by setuptools_scm
# don't change, don't track in version control
-version = '3.3.0'
-version_tuple = (3, 3, 0)
+__version__ = version = '3.3.1'
+__version_tuple__ = version_tuple = (3, 3, 1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.3.0/tldextract/remote.py
new/tldextract-3.3.1/tldextract/remote.py
--- old/tldextract-3.3.0/tldextract/remote.py 2022-05-03 21:53:33.000000000
+0200
+++ new/tldextract-3.3.1/tldextract/remote.py 2022-06-06 01:36:58.000000000
+0200
@@ -2,10 +2,8 @@
import re
import socket
-
from urllib.parse import scheme_chars
-
IP_RE = re.compile(
# pylint: disable-next=line-too-long
r"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.3.0/tldextract/suffix_list.py
new/tldextract-3.3.1/tldextract/suffix_list.py
--- old/tldextract-3.3.0/tldextract/suffix_list.py 2022-05-03
21:53:33.000000000 +0200
+++ new/tldextract-3.3.1/tldextract/suffix_list.py 2022-06-06
01:30:19.000000000 +0200
@@ -40,8 +40,8 @@
except requests.exceptions.RequestException:
LOG.exception("Exception reading Public Suffix List url %s",
url)
raise SuffixListNotFound(
- "No Public Suffix List found. Consider using a mirror or constructing "
- "your TLDExtract with `suffix_list_urls=None`."
+ "No remote Public Suffix List found. Consider using a mirror, or avoid
this"
+ " fetch by constructing your TLDExtract with `suffix_list_urls=()`."
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.3.0/tldextract.egg-info/PKG-INFO
new/tldextract-3.3.1/tldextract.egg-info/PKG-INFO
--- old/tldextract-3.3.0/tldextract.egg-info/PKG-INFO 2022-05-05
01:27:52.000000000 +0200
+++ new/tldextract-3.3.1/tldextract.egg-info/PKG-INFO 2022-07-08
20:58:25.000000000 +0200
@@ -1,13 +1,12 @@
Metadata-Version: 2.1
Name: tldextract
-Version: 3.3.0
+Version: 3.3.1
Summary: Accurately separates a URL's subdomain, domain, and public suffix,
using the Public Suffix List (PSL). 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
Author-email: [email protected]
License: BSD License
Keywords: tld domain subdomain url parse extract urlparse urlsplit public
suffix list publicsuffix publicsuffixlist
-Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: BSD License
@@ -45,5 +44,3 @@
By default, this package supports the public ICANN TLDs and their exceptions.
You can optionally support the Public Suffix List's private domains as well.
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.3.0/tldextract.egg-info/SOURCES.txt
new/tldextract-3.3.1/tldextract.egg-info/SOURCES.txt
--- old/tldextract-3.3.0/tldextract.egg-info/SOURCES.txt 2022-05-05
01:27:53.000000000 +0200
+++ new/tldextract-3.3.1/tldextract.egg-info/SOURCES.txt 2022-07-08
20:58:25.000000000 +0200
@@ -10,6 +10,7 @@
setup.cfg
setup.py
tox.ini
+.github/FUNDING.yml
tests/__init__.py
tests/cli_test.py
tests/conftest.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tldextract-3.3.0/tox.ini new/tldextract-3.3.1/tox.ini
--- old/tldextract-3.3.0/tox.ini 2022-05-03 21:53:33.000000000 +0200
+++ new/tldextract-3.3.1/tox.ini 2022-06-06 01:36:58.000000000 +0200
@@ -13,8 +13,12 @@
commands = pytest --pylint {posargs}
[testenv:codestyle]
-deps = pycodestyle
-commands = pycodestyle tldextract tests {posargs}
+deps =
+ black
+ pycodestyle
+commands =
+ pycodestyle tldextract tests {posargs}
+ black --check {posargs:.}
[testenv:lint]
deps =