diff options
| author | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-03-01 00:37:58 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-03-01 00:37:58 +0000 |
| commit | 8ddb1a3d1229412a438971f82d37d518a0223726 (patch) | |
| tree | 83438b5ddb9d23a390f1a3fc505303d3d2223bf2 /dev-db/pgcli/files | |
| parent | 9acab46e1a820daece7b2e631485c157ce2210ad (diff) | |
| download | baldeagleos-repo-21.1.5.tar.gz baldeagleos-repo-21.1.5.tar.xz baldeagleos-repo-21.1.5.zip | |
Adding metadatav21.1.5
Diffstat (limited to 'dev-db/pgcli/files')
| -rw-r--r-- | dev-db/pgcli/files/pgcli-3.0.0-sqlparse.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/dev-db/pgcli/files/pgcli-3.0.0-sqlparse.patch b/dev-db/pgcli/files/pgcli-3.0.0-sqlparse.patch deleted file mode 100644 index 4403a2e9c037..000000000000 --- a/dev-db/pgcli/files/pgcli-3.0.0-sqlparse.patch +++ /dev/null @@ -1,37 +0,0 @@ -Taken from: https://github.com/dbcli/pgcli/pull/1224 -Author: Kevin Marsh <kevinmarsh3@gmail.com> - ---- a/pgcli/packages/parseutils/ctes.py -+++ b/pgcli/packages/parseutils/ctes.py -@@ -16,7 +16,7 @@ - def isolate_query_ctes(full_text, text_before_cursor): - """Simplify a query by converting CTEs into table metadata objects""" - -- if not full_text: -+ if not full_text or not full_text.strip(): - return full_text, text_before_cursor, tuple() - - ctes, remainder = extract_ctes(full_text) ---- a/setup.py -+++ b/setup.py -@@ -13,7 +13,7 @@ - # see: https://github.com/dbcli/pgcli/pull/1197 - "prompt_toolkit>=2.0.6,<4.0.0", - "psycopg2 >= 2.8", -- "sqlparse >=0.3.0,<0.4", -+ "sqlparse >=0.3.0,<0.5", - "configobj >= 5.0.6", - "pendulum>=2.1.0", - "cli_helpers[styles] >= 2.0.0", ---- a/tests/test_sqlcompletion.py -+++ b/tests/test_sqlcompletion.py -@@ -816,7 +816,7 @@ def test_create_db_with_template(): - assert set(suggestions) == set((Database(),)) - - --@pytest.mark.parametrize("initial_text", ("", " ", "\t \t")) -+@pytest.mark.parametrize("initial_text", ("", " ", "\t \t", "\n")) - def test_specials_included_for_initial_completion(initial_text): - suggestions = suggest_type(initial_text, initial_text) - - |
