Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warnings from paramiko #1778

Closed
rahearn opened this issue Dec 9, 2024 · 0 comments · Fixed by #1705
Closed

Deprecation warnings from paramiko #1778

rahearn opened this issue Dec 9, 2024 · 0 comments · Fixed by #1705
Labels
bug Something isn't working

Comments

@rahearn
Copy link
Contributor

rahearn commented Dec 9, 2024

Describe the bug

A clear and concise description of what the bug is.

Paramiko 3.4.0 is throwing deprecation warnings about

/usr/local/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
  "class": algorithms.TripleDES,

Upgrading the dependency to 3.4.1 should address it.

To Reproduce

Steps to reproduce the behavior:

  1. Do just about anything, but certainly an import
  2. See deprecation message

Expected behavior

No deprecation warnings are printed in normal use.

Screenshots / Logs.

If applicable, add screenshots to help explain your problem.

Environment

  • OS: [e.g. iOS] python-3.11.10-slim docker image
  • Python version: 3.11.10
  • Installed packages:
appuser@1d94b0a84bca:/app/docs$ pip list
WARNING: The directory '/nonexistent/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Package                  Version
------------------------ ---------
annotated-types          0.7.0
anyio                    4.7.0
argcomplete              3.5.2
attrs                    24.2.0
bcrypt                   4.2.1
black                    24.10.0
certifi                  2024.8.30
cffi                     1.17.1
charset-normalizer       3.4.0
click                    8.1.7
cmarkgfm                 2024.1.14
compliance-trestle       3.6.0
compliance-trestle-gsa   0.0.1
cryptography             43.0.3
datamodel-code-generator 0.25.3
defusedxml               0.7.1
dnspython                2.7.0
email_validator          2.2.0
et_xmlfile               2.0.0
furl                     2.1.3
genson                   1.3.0
h11                      0.14.0
httpcore                 1.0.7
httpx                    0.28.1
idna                     3.10
ilcli                    0.3.2
importlib_resources      6.4.5
inflect                  5.6.2
isort                    5.13.2
Jinja2                   3.1.4
MarkupSafe               3.0.2
mypy-extensions          1.0.0
openpyxl                 3.1.5
orderedmultidict         1.0.1
orjson                   3.10.12
packaging                24.2
paramiko                 3.4.0
pathspec                 0.12.1
pip                      24.0
platformdirs             4.3.6
pycparser                2.22
pydantic                 2.10.3
pydantic_core            2.27.1
PyNaCl                   1.5.0
python-dotenv            1.0.1
python-frontmatter       1.1.0
PyYAML                   6.0.2
requests                 2.32.3
ruamel.yaml              0.18.6
ruamel.yaml.clib         0.2.12
setuptools               65.5.1
six                      1.17.0
sniffio                  1.3.1
typing_extensions        4.12.2
urllib3                  2.2.3
wheel                    0.45.1
@jpower432 jpower432 linked a pull request Dec 9, 2024 that will close this issue
@jpower432 jpower432 added the bug Something isn't working label Dec 11, 2024
@jpower432 jpower432 moved this from New to In review in Trestle Roadmap Dec 11, 2024
@github-project-automation github-project-automation bot moved this from In review to Done in Trestle Roadmap Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants