Closed pawelrubin closed 2 years ago
Looks to me like sshpubkeys
is an optional dependency of moto
. So to install it you would have to specify an extra for moto
. From reading the (unnecesarily complicated) setup.py
file for moto 1..3.16 looks you might want the extra ec2
or all
or server
. So I don't think there is anything wrong with poetry here.
On the other hand, I do not understand why pip check
thinks that sshpubkeys
is needed and missing. This looks like it might be a pip bug. I don't think there is anything wrong with poetry here either.
Thanks for the quick response @sinoroc!
moto setup.py
is indeed complicated and it looks like sshpubkeys
is an optional dependency.
However, when installing moto
via pip install moto
, pip will install sshpubkeys
dependency.
This might be a pip bug regarding the installation of extra dependencies
Closing, since Poetry's behavior is correct here.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
-vvv
option).Issue
Poetry does not install all requirements for
moto
package.Result of
pip check
:Result of
poetry show moto
Result of
poetry run pip show moto