pgadmin-org / pgadmin-org/pgadmin4

/venv/lib/python3.14/site-packages/sshtunnel.py:1040: SyntaxWarning: 'return' in a 'finally' block

Open
#9,846 3 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.