From 77467209c2bca1a28b978ff8e53ea71e1622a4a4 Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Fri, 25 Aug 2023 11:14:54 +0530 Subject: [PATCH] 1) Added release note for v7.7 2) Added exception handling while removing the test database file. --- docs/en_US/release_notes.rst | 1 + docs/en_US/release_notes_7_7.rst | 31 +++++++++++++++++++ .../python_test_utils/test_utils.py | 6 +++- 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 docs/en_US/release_notes_7_7.rst diff --git a/docs/en_US/release_notes.rst b/docs/en_US/release_notes.rst index e32345ee8..09e9069ad 100644 --- a/docs/en_US/release_notes.rst +++ b/docs/en_US/release_notes.rst @@ -11,6 +11,7 @@ notes for it. .. toctree:: :maxdepth: 1 + release_notes_7_7 release_notes_7_6 release_notes_7_5 release_notes_7_4 diff --git a/docs/en_US/release_notes_7_7.rst b/docs/en_US/release_notes_7_7.rst new file mode 100644 index 000000000..73dbfadcc --- /dev/null +++ b/docs/en_US/release_notes_7_7.rst @@ -0,0 +1,31 @@ +*********** +Version 7.7 +*********** + +Release date: 2023-09-21 + +This release contains a number of bug fixes and new features since the release of pgAdmin 4 v7.6. + +Supported Database Servers +************************** +**PostgreSQL**: 11, 12, 13, 14 and 15 + +**EDB Advanced Server**: 11, 12, 13, 14 and 15 + +Bundled PostgreSQL Utilities +**************************** +**psql**, **pg_dump**, **pg_dumpall**, **pg_restore**: 15.3 + + +New features +************ + + +Housekeeping +************ + + +Bug fixes +********* + + | `Issue #6704 `_ - Ensure user is redirected to login page after failed login. diff --git a/web/regression/python_test_utils/test_utils.py b/web/regression/python_test_utils/test_utils.py index f8a392c2b..bfa72deaa 100644 --- a/web/regression/python_test_utils/test_utils.py +++ b/web/regression/python_test_utils/test_utils.py @@ -954,7 +954,11 @@ def reset_layout_db(user_id=None): def remove_db_file(): """This function use to remove SQLite DB file""" if os.path.isfile(config.TEST_SQLITE_PATH): - os.remove(config.TEST_SQLITE_PATH) + try: + os.remove(config.TEST_SQLITE_PATH) + except PermissionError: + # TODO: Added for issue 6164 + pass def _cleanup(tester, app_starter):