pgadmin-org / pgadmin-org/pgadmin4
/venv/lib/python3.14/site-packages/sshtunnel.py:1040: SyntaxWarning: 'return' in a 'finally' block
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 891
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 8
Description
Describe the bug
A SyntaxWarning shows up when booting the latest pg_admin4 official docker image:
pgadmin4 | /venv/lib/python3.14/site-packages/sshtunnel.py:1040: SyntaxWarning: 'return' in a 'finally' block
pgadmin4 | return (ssh_host,
A clear and concise description of what the bug is.
Simply boot the latest official docker image of pgadmin4 ( dpage/pgadmin4:9.14 )
Expected behavior
No such SyntaxWarning get printed to stdout.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by booting the official dpage/pgadmin4:9.14 image and reproducing the warning at /venv/lib/python3.14/site-packages/sshtunnel.py:1040. Trace how sshtunnel is bundled and determine the project-owned dependency or packaging entry point involved. Done means the image starts without this SyntaxWarning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100