Chaffelson / nipyapi

A convenient Python wrapper for Apache NiFi
Other
243 stars 76 forks source link

Deprecation warning from Cryptography package (Python 3.9) #264

Closed ChrisSamo632 closed 9 months ago

ChrisSamo632 commented 3 years ago

Description

Using nipyapi in Python 3.9 gives the following warning:

usr/local/lib/python3.9/site-packages/jose/backends/cryptography_backend.py:18: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes

What I Did

Connected to NiFi & NiFi Registry using nipyapi.

Urgency

Only a warning and Python 3.9 maybe not (intentionally) supported by nipyapi yet, so not high priority.

Chaffelson commented 2 years ago

I don't think this is actually NiPyAPI itself, but one of the dependencies - or at least, I cannot see where we import cryptography.utils directly in the project, it is most likely a specific version of requests doing it?

Chaffelson commented 9 months ago

Closing as old, please reopen if the issue persists