14
0

- update to 1.4.3:

* Render common table expression in combining query
  * Add support for Python 3.12
  * Restore usage of alias in returning expression
  * Do not use alias in returning expression
  * Support Select queries in conditionals and functions
- Version 1.2.0
- Version 0.9
- corrected name/metaname
  correct License
- Version 0.8
- update to version 0.3

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-sql?expand=0&rev=17
This commit is contained in:
2024-01-09 22:05:09 +00:00
committed by Git OBS Bridge
parent 2e788e9388
commit 3a20ef9405
5 changed files with 29 additions and 22 deletions

View File

@@ -1,3 +0,0 @@
<services>
<service name="download_files" mode="localonly" /></services>

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Jan 9 22:04:57 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.4.3:
* Render common table expression in combining query
* Add support for Python 3.12
* Restore usage of alias in returning expression
* Do not use alias in returning expression
-------------------------------------------------------------------
Tue May 3 15:06:06 UTC 2022 - Axel Braun <axel.braun@gmx.de>
@@ -16,7 +25,7 @@ Tue Sep 14 10:18:53 UTC 2021 - Axel Braun <axel.braun@gmx.de>
* Add exclude to Window
* Add method for each type of join
* Remove support for Python older than 3.5
* Support Select queries in conditionals and functions
* Support Select queries in conditionals and functions
-------------------------------------------------------------------
Fri Sep 10 07:14:18 UTC 2021 - pgajdos@suse.com
@@ -32,7 +41,7 @@ Fri Sep 10 07:14:18 UTC 2021 - pgajdos@suse.com
-------------------------------------------------------------------
Tue Oct 6 08:20:02 UTC 2020 - Axel Braun <axel.braun@gmx.de>
- Version 1.2.0
- Version 1.2.0
* Add explicit Windows to Select
* Fix missing Windows definitions in nested expressions
@@ -57,7 +66,7 @@ Mon Oct 1 08:59:59 UTC 2018 - Axel Braun <axel.braun@gmx.de>
-------------------------------------------------------------------
Mon Apr 24 11:49:18 UTC 2017 - axel.braun@gmx.de
- Version 0.9
- Version 0.9
* Add distinct_on on Select
* Allow to use Select as Column of Select query
* Support Select without from clause
@@ -71,18 +80,18 @@ Mon Apr 17 08:32:08 UTC 2017 - axel.braun@gmx.de
-------------------------------------------------------------------
Thu Jun 30 14:09:28 UTC 2016 - axel.braun@gmx.de
- corrected name/metaname
- corrected name/metaname
-------------------------------------------------------------------
Thu Jun 30 13:11:32 UTC 2016 - axel.braun@gmx.de
- correct naming to python-python-sql
correct License
correct License
-------------------------------------------------------------------
Sat Sep 19 16:17:47 UTC 2015 - axel.braun@gmx.de
- Version 0.8
- Version 0.8
* Add DISTINCT qualifier to aggregate expressions
* Allow to order on select queries
* Add NULL ordering
@@ -126,7 +135,7 @@ Fri Sep 12 08:04:20 UTC 2014 - axel.braun@gmx.de
-------------------------------------------------------------------
Mon Mar 24 13:12:58 UTC 2014 - axel.braun@gmx.de
- update to version 0.3
- update to version 0.3
-------------------------------------------------------------------
Mon Oct 28 15:08:46 UTC 2013 - axel.braun@gmx.de

View File

@@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,18 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Requires python >= 3.5
%define skip_python2 1
%define base_name python-sql
Name: python-%{base_name}
Version: 1.4.0
Version: 1.4.3
Release: 0
Summary: Library to write SQL queries
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://pypi.io/project/python-sql
Source: https://pypi.io/packages/source/p/%{base_name}/%{base_name}-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
@@ -40,10 +39,10 @@ python-sql is a library to write SQL queries in a pythonic way.
%setup -q -n %{base_name}-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%check
mv sql sql_hide
@@ -51,7 +50,9 @@ mv sql sql_hide
mv sql_hide sql
%files %{python_files}
%doc README
%{python_sitelib}/*
%license COPYRIGHT
%doc README.rst
%{python_sitelib}/sql
%{python_sitelib}/python_sql-%{version}.dist-info
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6fe764082f48891d857ea7e6fa425fa54f13531ddf6b89f24c098e646ad1b4b6
size 32599

3
python-sql-1.4.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6260beff835a35d3a0aec4f1da351b0be9caa1a0d94a6cba940a7cd8dcf66269
size 33404