public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-sqlglot] f44: Update to 30.23.0
Date: Tue, 03 Nov 2026 19:01:36 GMT [thread overview]
Message-ID: <179373249619.1.9681322081619339986.rpms-python-sqlglot-4f042d63327b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-sqlglot
Branch : f44
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=f44
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
reply other threads:[~2026-11-03 19:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179373249619.1.9681322081619339986.rpms-python-sqlglot-4f042d63327b@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox