Skip to content
Commit d1f9842f authored by Aliaksei Urbanski's avatar Aliaksei Urbanski Committed by Sébastien Eustace
Browse files

Fix adding requests with the security extra (#1439)

Using poetry from master/develop branches or any recent alpha/beta release,
you can't add the requests package with the security extra.
The requests package requires the idna twice
(as a main dependency and as an optional one) and this case wasn't handled
properly in Locker._dump_package function.
These changes make the _dump_package ensures that
all elements of the constraints list have the same type
in order to make them renderable as TOML.
parent 8a7764f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment