Internationalized Domain Names in Applications (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.
- Devel package for openSUSE:Factory
-
23
derived packages
- Links to openSUSE:Factory / python-idna
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:python/python-idna && cd $_
- Create Badge
Refresh
Refresh
Source Files
Sources could not be expanded: conflict in file python-idna.spec
Comments 4
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'})
more specifically, everything depending on python-requests. python-requests has to be updated first ...
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
Thanks for fixing. I've raised an issue upstream https://github.com/kjd/idna/issues/129