From 909dca2c0dec97548f1136291e91bad1cd63ce487377062ed8316af8ca4de5f3 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 26 Feb 2025 04:12:34 +0000 Subject: [PATCH] - Update to 0.6.1 * S3SelectParser now returns the number of BytesProcessed OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py-partiql-parser?expand=0&rev=17 --- .gitattributes | 23 +++++++++ .gitignore | 1 + py-partiql-parser-0.5.2.tar.gz | 3 ++ py-partiql-parser-0.5.6.tar.gz | 3 ++ py-partiql-parser-0.6.1.tar.gz | 3 ++ python-py-partiql-parser.changes | 84 ++++++++++++++++++++++++++++++++ python-py-partiql-parser.spec | 57 ++++++++++++++++++++++ 7 files changed, 174 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 py-partiql-parser-0.5.2.tar.gz create mode 100644 py-partiql-parser-0.5.6.tar.gz create mode 100644 py-partiql-parser-0.6.1.tar.gz create mode 100644 python-py-partiql-parser.changes create mode 100644 python-py-partiql-parser.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/py-partiql-parser-0.5.2.tar.gz b/py-partiql-parser-0.5.2.tar.gz new file mode 100644 index 0000000..bf27a8e --- /dev/null +++ b/py-partiql-parser-0.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0075dbeacceb8d2e3c9a141bd46273da41367df1588f6d3b530ff36eacd51842 +size 27351 diff --git a/py-partiql-parser-0.5.6.tar.gz b/py-partiql-parser-0.5.6.tar.gz new file mode 100644 index 0000000..7c2786d --- /dev/null +++ b/py-partiql-parser-0.5.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d54a9e6835a26bb9e0aa446ca35df53c37da641befe78a81a23e7139a7b2b1b2 +size 27507 diff --git a/py-partiql-parser-0.6.1.tar.gz b/py-partiql-parser-0.6.1.tar.gz new file mode 100644 index 0000000..b2df2cf --- /dev/null +++ b/py-partiql-parser-0.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d81caa5a5f01501ed0fc1a82d1662a86a21aa799fb63e73222172eda5c4a7290 +size 27829 diff --git a/python-py-partiql-parser.changes b/python-py-partiql-parser.changes new file mode 100644 index 0000000..9d017b7 --- /dev/null +++ b/python-py-partiql-parser.changes @@ -0,0 +1,84 @@ +------------------------------------------------------------------- +Tue Feb 25 12:32:50 UTC 2025 - Markéta Machová + +- Update to 0.6.1 + * S3SelectParser now returns the number of BytesProcessed + +------------------------------------------------------------------- +Tue Oct 8 05:19:20 UTC 2024 - Steve Kowalik + +- Update to 0.5.6: + * DynamoDB table names can now be MixedCased. + * Add JsonParser to public API. + * Improve performance for JsonParser when parsing a source with many + documents. + * Switch to hatchling. + +------------------------------------------------------------------- +Mon Mar 25 13:24:21 UTC 2024 - Dirk Müller + +- update to 0.5.2: + * Add json_to_csv converter + +------------------------------------------------------------------- +Sun Feb 4 11:43:50 UTC 2024 - Dirk Müller + +- update to 0.5.1: + * Support INSERT/DELETE/UPDATE queries: + * that contain a table name without quotes + * that contain parameters + * when calling get_query_metadata() + +------------------------------------------------------------------- +Wed Dec 27 13:51:19 UTC 2023 - Dirk Müller + +- update to 0.5.0: + * Improved typing support + * Support for INSERT/UPDATE/DELETE statements + +------------------------------------------------------------------- +Sat Dec 2 10:31:09 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Sun Nov 5 02:19:14 UTC 2023 - Ben Greiner + +- Update to 0.4.2 + * Support for Python 3.12 +- Release 0.4.1 + * Increased support for WHERE-clauses: + - Nested clauses + - OR-clauses + - Functions: attribute_type, IF (NOT) MISSING, comparison + operators (<, >) +- Release 0.4.0 + * The DynamoDBStatementParser now expects a document in the + DynamoDB format: {"a1": {"S": "b1"}, "a2": {"S": "b2"}} + * Adds validation for tables that start with a number + * Adds support for queries that have a table name surrounded by + quotes +- Release 0.3.8 + * Support JSON documents containing (lists of) BOOLeans +- Release 0.3.6 + * Allow where-clauses for lists, such as where a[1] = '..' +- The `test` top-level install has been fixed. Remove rm command. + +------------------------------------------------------------------- +Thu Jul 20 02:17:52 UTC 2023 - Steve Kowalik + +- Update to 0.3.5: + * Packaging improvements: Include source-files in the release +- Drop patch correct-packages-decl.patch: + * Included upstream. +- Drop patch correct-version-to-tag.patch: + * No longer required. + +------------------------------------------------------------------- +Mon Jul 17 05:23:17 UTC 2023 - Steve Kowalik + +- Initial release of 0.3.4 +- Add patch correct-packages-decl.patch: + * Specify all packages in pyproject.toml. +- Add patch correct-version-to-tag.patch: + * Version is tagged, but pyproject.toml was not updated. diff --git a/python-py-partiql-parser.spec b/python-py-partiql-parser.spec new file mode 100644 index 0000000..2aed4ff --- /dev/null +++ b/python-py-partiql-parser.spec @@ -0,0 +1,57 @@ +# +# spec file for package python-py-partiql-parser +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-py-partiql-parser +Version: 0.6.1 +Release: 0 +Summary: Pure Python PartiQL Parser +License: MIT +URL: https://github.com/getmoto/py-partiql-parser +Source: https://github.com/getmoto/py-partiql-parser/archive/refs/tags/%{version}.tar.gz#/py-partiql-parser-%{version}.tar.gz +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +Pure Python PartiQL Parser + +%prep +%autosetup -p1 -n py-partiql-parser-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitelib}/py_partiql_parser +%{python_sitelib}/py_partiql_parser-%{version}.dist-info + +%changelog