You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.
[package.dependencies]
aiomcache = {version = ">=0.5.2", optional = true, markers = "extra == \"memcached\""}
aioredis = [
{version = ">=0.3.3", optional = true, markers = "python_version < \"3.7\" or python_version < \"3.7\" and extra == \"redis\""},
{version = ">=1.0.0", optional = true, markers = "python_version >= \"3.7\" or python_version >= \"3.7\" and extra == \"redis\""},
]
Traceback
Traceback (most recent call last):
File "/home/user/.cache/pypoetry/virtualenvs/hoqfXXHy-py3.8/lib/python3.8/site-packages/dephell/cli.py", line 66, in main
result = handler()
File "/home/user/.cache/pypoetry/virtualenvs/hoqfXXHy-py3.8/lib/python3.8/site-packages/dephell/commands/deps_convert.py", line 45, in __call__
resolver = loader.load_resolver(path=self.config['from']['path'])
File "/home/user/.cache/pypoetry/virtualenvs/hoqfXXHy-py3.8/lib/python3.8/site-packages/dephell/converters/base.py", line 94, in load_resolver
root = self.load(path=path)
File "/home/user/.cache/pypoetry/virtualenvs/hoqfXXHy-py3.8/lib/python3.8/site-packages/dephell/converters/base.py", line 54, in load
root = self.loads(content=stream.read())
File "/home/user/.cache/pypoetry/virtualenvs/hoqfXXHy-py3.8/lib/python3.8/site-packages/dephell/converters/poetrylock.py", line 62, in loads
deps.extend(self._make_deps(
File "/home/user/.cache/pypoetry/virtualenvs/hoqfXXHy-py3.8/lib/python3.8/site-packages/dephell/converters/poetrylock.py", line 167, in _make_deps
subcontent = ','.join(set(subcontent))
TypeError: unhashable type: 'Container'
Short description
Hello,
When I try to convert a poetry.lock I got
TypeError: unhashable type: 'Container'
when peotry.lock has multiple versionsAdding a simple
print(subname, subcontent, )
print before the exception showPython can't convert a
subcontent
item of container typeto a set.
Maybe check the type before applying set and enforce using for exampe
items()
to convert it ?Output
Steps to reproduce
Add in peotry.lock
Traceback
Config
Versions
The text was updated successfully, but these errors were encountered: