Open jsf9k opened 3 years ago
The setup.py
defines the cyhy-mailer
helper script as:
https://github.com/cisagov/cyhy-mailer/blob/59ec34362ae21735e710438c0125f5a4695b0e28/setup.py#L62
, the shebang for that file is
https://github.com/cisagov/cyhy-mailer/blob/59ec34362ae21735e710438c0125f5a4695b0e28/cyhy/mailer/cli.py#L1
, and the Dockerfile
installs it like so:
https://github.com/cisagov/cyhy-mailer/blob/59ec34362ae21735e710438c0125f5a4695b0e28/Dockerfile#L17
So as far as I can tell, cyhy-mailer
is running on Python 3 in the Docker image. I feel like the issue lies outside of this project. I believe that the installed version of docker-compose
is currently running under Python 2. The version currently installed as such in production, 1.26.2
, has a paramiko
requirement.
I think @mcdonnnj is correct. Transferring this issue to cisagov/cyhy-system.
I deleted my incorrect speculation about cisagov/cyhy-mailer being the cause of this issue.
🐛 Summary
The
cryptography
Python package will drop support for Python 2 in the next release. This package is used byparamiko
, and it's unknown ifparamiko
will pincryptography
or not.To reproduce