Internationalized Domain Names in Applications (IDNA)

Edit Package python-idna

A library to support the Internationalised Domain Names in
Applications (IDNA) protocol as specified in RFC 5891
http://tools.ietf.org/html/rfc5891. This version of the protocol
is often referred to as “IDNA2008” and can produce different
results from the earlier standard from 2003.

The library is also intended to act as a suitable drop-in replacement
for the “encodings.idna” module that comes with the Python standard
library but currently only supports the older 2003 specification.

Refresh
Refresh
Source Files
Filename Size Changed
idna-3.10.tar.gz 0000190490 186 KB
python-idna.changes 0000007865 7.68 KB
python-idna.spec 0000002188 2.14 KB
Revision 2 (latest revision is 39)
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 317270 from Rusmir Duško's avatar Rusmir Duško (nemysis) (revision 2)
initialized devel package after accepting 317270
Comments 4

Hans-Peter Jansen's avatar

This update broke a lot of packages.

Typical traceback: [ 46s] + /usr/bin/python3 setup.py build_sphinx [ 47s] Traceback (most recent call last): [ 47s] File "setup.py", line 55, in <module> [ 47s] 'docs': docs_extras, [ 47s] File "/usr/lib/python3.6/site-packages/setuptools/__init__.py", line 129, in setup [ 47s] return distutils.core.setup(**attrs) [ 47s] File "/usr/lib/python3.6/distutils/core.py", line 134, in setup [ 47s] ok = dist.parse_command_line() [ 47s] File "/usr/lib/python3.6/site-packages/setuptools/dist.py", line 500, in parse_command_line [ 47s] result = _Distribution.parse_command_line(self) [ 47s] File "/usr/lib/python3.6/distutils/dist.py", line 472, in parse_command_line [ 47s] args = self._parse_command_opts(parser, args) [ 47s] File "/usr/lib/python3.6/site-packages/setuptools/dist.py", line 815, in _parse_command_opts [ 47s] nargs = _Distribution._parse_command_opts(self, parser, args) [ 47s] File "/usr/lib/python3.6/distutils/dist.py", line 528, in _parse_command_opts [ 47s] cmd_class = self.get_command_class(command) [ 47s] File "/usr/lib/python3.6/site-packages/setuptools/dist.py", line 634, in get_command_class [ 47s] ep.require(installer=self.fetch_build_egg) [ 47s] File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2340, in require [ 47s] items = working_set.resolve(reqs, env, installer, extras=self.extras) [ 47s] File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 779, in resolve [ 47s] raise VersionConflict(dist, req).with_context(dependent_req) [ 47s] pkg_resources.ContextualVersionConflict: (idna 2.7 (/usr/lib/python3.6/site-packages), Requirement.parse('idna<2.7,>=2.5'), {'requests'})


Stefan Brüns's avatar

more specifically, everything depending on python-requests. python-requests has to be updated first ...


John Vandenberg's avatar

v3.4 results in: /usr/lib/python3.10/site-packages/idna-0.0.0-py3.10.egg-info which then causes other code which uses pkg_resources to fail. e.g. [ 56s] E pkg_resources.ContextualVersionConflict: (idna 0.0.0 (/usr/lib/python3.10/site-packages), Requirement.parse('idna>=2.5'), {'hyperlink'}) [ 56s] [ 56s] /usr/lib/python3.10/site-packages/pkg_resources/init.py:800: ContextualVersionConflict


openSUSE Build Service is sponsored by