https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250380

Sofian Brabez <s...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |In Progress

--- Comment #18 from Sofian Brabez <s...@freebsd.org> ---
Hi, 

This bug is now on my radar, somehow it never reached me. Where we at now?
Would an new update to the new release 6.0.2 available on GitHub here will
solved the issue and unblock?

I'm attaching a new up-to-date patch against `main` with all the changes from
James, does it looks good for you? So far it looks good with my tests with py37
and py39 flavor below:

- with python3.7

$ sudo make install clean FLAVOR=py37
$ python3.7
Python 3.7.10 (default, Mar  2 2021, 01:19:31) 
[Clang 10.0.1 (g...@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611a
on freebsd12
Type "help", "copyright", "credits" or "license" for more information.
>>> import feedparser
>>> print(feedparser.__file__)
/usr/local/lib/python3.7/site-packages/feedparser/__init__.py
>>> dir(feedparser)
['CharacterEncodingOverride', 'CharacterEncodingUnknown', 'FeedParserDict',
'NonXMLContentType', 'RESOLVE_RELATIVE_URIS', 'SANITIZE_HTML',
'ThingsNobodyCaresAboutButMe', 'USER_AGENT', 'UndeclaredNamespace',
'__author__', '__builtins__', '__cached__', '__doc__', '__file__',
'__license__', '__loader__', '__name__', '__package__', '__path__', '__spec__',
'__version__', 'api', 'datetimes', 'encodings', 'exceptions', 'html', 'http',
'mixin', 'namespaces', 'parse', 'parsers', 'registerDateHandler', 'sanitizer',
'sgml', 'urls', 'util']
>>> feedparser.parse('http://feedparser.org/docs/examples/atom10.xml')['feed']
{'html': {'lang': 'en'}, 'meta': {'name': 'viewport', 'content':
'width=device-width,initial-scale=1'}, 'links': [{'rel': 'shortcut icon',
'href': 'data:image/x-icon;,', 'type': 'image/x-icon'}], 'script': {'type':
'application/javascript'}, 'a': {'target': '_blank', 'href':
'https://www.enable-javascript.com/'}, 'summary': '<div
id="contentMain"></div>'}

- with python3.9

$ sudo make install FLAVOR=py39 BUILD_ALL_PYTHON_FLAVORS=1
$ python3.9
Python 3.9.2 (default, Feb 25 2021, 13:58:29) 
[Clang 10.0.1 (g...@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611a
on freebsd12
Type "help", "copyright", "credits" or "license" for more information.
>>> print(feedparser.__file__)
/usr/local/lib/python3.9/site-packages/feedparser/__init__.py
>>> feedparser.parse('http://feedparser.org/docs/examples/atom10.xml')['feed']
{'html': {'lang': 'en'}, 'meta': {'name': 'viewport', 'content':
'width=device-width,initial-scale=1'}, 'links': [{'rel': 'shortcut icon',
'href': 'data:image/x-icon;,', 'type': 'image/x-icon'}], 'script': {'type':
'application/javascript'}, 'a': {'target': '_blank', 'href':
'https://www.enable-javascript.com/'}, 'summary': '<div
id="contentMain"></div>'}

Also I have updated test targets:

make test
===>  Testing for py37-feedparser-6.0.2
===>   py37-feedparser-6.0.2 depends on file: /usr/local/bin/python3.7 - found
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
 
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
 ....................................................
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
 
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
 .....................................................
...............................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 4334 tests in 4.560s

OK


[1] https://github.com/kurtmckee/feedparser/releases/tag/6.0.2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to