Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
import paramiko
File "/Users/ruiyang/Go/src/github.com/ascend-io/ascend-core/.venv/lib/python3.14/site-packages/paramiko/__init__.py", line 24, in <module>
from paramiko.transport import (
...<3 lines>...
)
File "/Users/ruiyang/Go/src/github.com/ascend-io/ascend-core/.venv/lib/python3.14/site-packages/paramiko/transport.py", line 98, in <module>
from paramiko.ed25519key import Ed25519Key
File "/Users/ruiyang/Go/src/github.com/ascend-io/ascend-core/.venv/lib/python3.14/site-packages/paramiko/ed25519key.py", line 22, in <module>
import nacl.signing
File "/Users/ruiyang/Go/src/github.com/ascend-io/ascend-core/.venv/lib/python3.14/site-packages/nacl/signing.py", line 16, in <module>
import nacl.bindings
File "/Users/ruiyang/Go/src/github.com/ascend-io/ascend-core/.venv/lib/python3.14/site-packages/nacl/bindings/__init__.py", line 186, in <module>
from nacl.bindings.crypto_secretstream import (
...<15 lines>...
)
File "/Users/ruiyang/Go/src/github.com/ascend-io/ascend-core/.venv/lib/python3.14/site-packages/nacl/bindings/crypto_secretstream.py", line 14, in <module>
from typing import ByteString, Optional, Tuple, cast
ImportError: cannot import name 'ByteString' from 'typing' (/Users/ruiyang/.local/share/uv/python/cpython-3.14.0b1-macos-aarch64-none/lib/python3.14/typing.py)
i am trying to upgrade to latest stable python release 3.14 and facing import error for the paramiko package
Are you using paramiko as a client or server?
Client
What feature(s) aren't working right?
Something else
What version(s) of paramiko are you using?
4.0.0
What version(s) of Python are you using?
3.14
What operating system and version are you using?
MacOS
If you're connecting as a client, which SSH server are you connecting to?
SFTP
If you're using paramiko as part of another tool, which tool/version?
No response
What are you trying to do with paramiko?
when import paramiko in python 3.14, getting following import error:
How are you trying to do it, and what's happening instead?
i am trying to upgrade to latest stable python release 3.14 and facing import error for the paramiko package
Anything else?
No response