Invalid syntax in sshtunnel

Open Beginner friendly
#10,797 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
postgresql, python
Domain
database

Research direction

The warning points to /venv/lib/python3.15/site-packages/sshtunnel.py:1044, a dependency file outside the repository. Start by checking how pgAdmin declares and installs sshtunnel, then determine whether the warning can be resolved through a dependency update or an upstream fix. Done when starting pgAdmin no longer logs this warning; the issue does not identify a repository file or test.

Written by the indexing model from the issue text.

Description

Bug

When starting pgadmin it logs the following:

/venv/lib/python3.15/site-packages/sshtunnel.py:1044: SyntaxWarning: 'return' in a 'finally' block
  return (ssh_host,
Dominant language
Python
Stars
3.9k
Forks
922
Avg merge
2d 3h
Merged PRs (30d)
33

Getting set up

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.

More from pgadmin-org/pgadmin4

All issues in pgadmin-org/pgadmin4

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.