public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-sqlglot] f45: Update to 30.23.0
@ 2026-11-03 19:01 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-03 19:01 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-sqlglot
Branch : f45
Commit : 4f042d63327b7d57b4a62b1a1543c1d5c8d94f8f
Author : Terje Røsten <terjeros@gmail.com>
Date   : 2026-10-19T20:00:38+02:00
Stats  : +12/-7 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-sqlglot/c/4f042d63327b7d57b4a62b1a1543c1d5c8d94f8f?branch=f45

Log:
Update to 30.23.0

---
diff --git a/.gitignore b/.gitignore
index 67ab45c..a9183ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /sqlglot-5.2.0.tar.gz
+/v30.23.0.tar.gz

diff --git a/python-sqlglot.spec b/python-sqlglot.spec
index fbdcc1c..0eb751d 100644
--- a/python-sqlglot.spec
+++ b/python-sqlglot.spec
@@ -1,17 +1,19 @@
 %global debug_package %{nil}
 
 Name:           python-sqlglot
-Version:        5.2.0
-Release:        17%{?dist}
+Version:        30.23.0
+Release:        1%{?dist}
 Summary:        SQL Parser and Transpiler
 
 License:        MIT
 URL:            https://github.com/tobymao/sqlglot
-Source0:        %{url}/archive/v%{version}/sqlglot-%{version}.tar.gz
+Source0:        https://github.com/tobymao/sqlglot/archive/refs/tags/v%{version}.tar.gz
 
 BuildRequires:  python3-devel
 # for tests
 BuildRequires:  python3-pytest
+BuildRequires:  python3-pytz
+BuildRequires:  python-unversioned-command
 
 Recommends:     python3-dateutil
 
@@ -43,20 +45,22 @@ Summary: %{summary}
 %autosetup -n sqlglot-%{version}
 
 %generate_buildrequires
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
 %pyproject_buildrequires
 
 
 %build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
 %pyproject_wheel
 
 
 %check
-%pytest --pyargs --ignore tests/test_executor.py -k "not test_simplify and not test_tpch"
-# pkgs not available in fedora \
-# not sure why these 2nd two fail
+# Two files needs python-duckdb which is too complex to build at the moment
+%pytest --pyargs --ignore tests/test_optimizer.py --ignore tests/test_executor.py
 
 
 %install
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
 %pyproject_install
 %pyproject_save_files sqlglot
 

diff --git a/sources b/sources
index 5db9b60..8b9e799 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sqlglot-5.2.0.tar.gz) = 96f8985ea103e5e1f8e9925487f6b432dcd1813433c6c523c7d3c9d3704ff2bc3b90de59a530a4cfe5b84e14da61bd427698595fbf47a0e88f6cfb94d0bad11f
+SHA512 (v30.23.0.tar.gz) = 5cb912b1831bb0a6ad2c6d0305cdcf84db972df3a076e96359a60a830e20f460f762c393f128b7aa3745bd4474087e165f7e5ec4884a4df110a69d063b374719

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-03 19:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 19:01 [rpms/python-sqlglot] f45: Update to 30.23.0 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox