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.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| constraints | Loading commit data... | |
| utils | Loading commit data... | |
| __init__.py | Loading commit data... | |
| dependency.py | Loading commit data... | |
| dependency_package.py | Loading commit data... | |
| directory_dependency.py | Loading commit data... | |
| file_dependency.py | Loading commit data... | |
| locker.py | Loading commit data... | |
| package.py | Loading commit data... | |
| package_collection.py | Loading commit data... | |
| project_package.py | Loading commit data... | |
| url_dependency.py | Loading commit data... | |
| vcs_dependency.py | Loading commit data... |