From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sqlglot/
Date: Thu, 27 Feb 2025 05:50:44 +0000 (UTC) [thread overview]
Message-ID: <1740635437.5abaa31a378289639d82cc3977fdbacb0839e65f.mgorny@gentoo> (raw)
commit: 5abaa31a378289639d82cc3977fdbacb0839e65f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 27 05:21:24 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Feb 27 05:50:37 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5abaa31a
dev-python/sqlglot: Bump to 26.7.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/sqlglot/Manifest | 1 +
dev-python/sqlglot/sqlglot-26.7.0.ebuild | 177 +++++++++++++++++++++++++++++++
2 files changed, 178 insertions(+)
diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest
index d770d0cb9af7..d6601a1e672f 100644
--- a/dev-python/sqlglot/Manifest
+++ b/dev-python/sqlglot/Manifest
@@ -56,6 +56,7 @@ DIST serde-1.0.216.crate 79000 BLAKE2B 98c0f5cee2f9212c6b7620d2068665379471ceb75
DIST serde_derive-1.0.216.crate 57674 BLAKE2B 12a9228679c16288c08c8b256707e276aec79f84ac7af0c4cfd1f109500dfea80438df17d798acdd30a9743c753e70093b22bd324217529bac483f257682a3e2 SHA512 80fcb552279ac7562297df878f2f5e9ac09241701f5cf1088fcbf473b638f58cd3092a7930d8937ca0df9a47b9ae1a42d490cd46a275259cd8089fe8f5426469
DIST serde_json-1.0.133.crate 150739 BLAKE2B 7891eb5b8edcc7fd09ab1e15d3881ffdcb629aa39f2bd758c0505700a5f2dfabd85b1b66c3b094268bc1627b346e204c792f4ca61efa76c54ab9cd5744fb0ee2 SHA512 20e65ec87bff319897a141960d13deb5cadcf821209c1ee8799f1dc7f458ce432bc62c16df5bdada1c8d3cc01ff23b8125e8fa0a03545d4614f32efd687dc69f
DIST sqlglot-26.6.0.tar.gz 5317429 BLAKE2B 5ce8516f9e03c55bed95cbb5f6c8904c1304a161e3809da11ad178c26629fa343be32bdd0418d23fd37826b84f94000e272f5687d85a147b1a9f7c57adad101c SHA512 f600f1c596c02c1668bc1236c5539b4e80f0b5d4a85c1faebd4273cdd08d04ebf6f5bdb2d6885be5eeefcc25d87ed47efd81fd4790f3d82a406bb05932f6a1b4
+DIST sqlglot-26.7.0.tar.gz 5322836 BLAKE2B c44996699bb9831e3bba1fbb8ea4eb8c88f47f2e27a30e61143606e576f5ea07d78fd9a180c1f9f13df4a610b9d33fb104ea44f3f50a5fee3886d7efcb10a378 SHA512 40b8a544b87510d5cb098d9ede8c0a00ab2d5a82b3fac816a1377d79377c4daad65b29a04f9dfbcad672d831f1d07104686fba80b29d1591d7922d7c58c66d72
DIST syn-2.0.87.crate 278076 BLAKE2B 93385f64103fdb482bec34c7912474ae7a5935948715e6eb9a54907e0db5c39f089f6cd393bab33c935c59a1bbb0f4099431f206343811c1a450554d96a35756 SHA512 bcfff545d6dfefd81e09f8f30a86bdd85759b3a7d4093ef3365ed02718e10dbd604c52b94c9d7fa955d339fdc5b6c079940c6f345b5a48c52b5c8607794ca6f2
DIST target-lexicon-0.12.16.crate 26488 BLAKE2B e7950e4a302059a1bfc9bc15618a3c1b971a17cffae117a6e8f5f63a0d82fd2bd02680301d15338612d5426d349dd24cfee30ee787a15a7d3187f2a6825e69ce SHA512 092639957c4a0391560b6442b31c47159c04d12e971010f730a6ec9cb5389e4be903ef3d7daa06db95e64dc78b6970731fb647179ebaad2b12e9ed5e9b24da27
DIST tinytemplate-1.2.1.crate 26490 BLAKE2B af39d96f33f63238e455a4e38fde1d1730fd9661ae68be7b05df6ef9d2ab1a04db1332cc4ec9deb6da3a8e22b124df81b0fa8916d8491b808742bb733c8e48be SHA512 0cc080057e096f0796e72004343e1a8332c2e8a12e43f6ade150ebf632e9c29c7ad04de0b940cd57df81efdc4d07a6607da9b86a30d8383e39ac3d7be185edb9
diff --git a/dev-python/sqlglot/sqlglot-26.7.0.ebuild b/dev-python/sqlglot/sqlglot-26.7.0.ebuild
new file mode 100644
index 000000000000..f66889c1ac68
--- /dev/null
+++ b/dev-python/sqlglot/sqlglot-26.7.0.ebuild
@@ -0,0 +1,177 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+CARGO_OPTIONAL=1
+CRATES="
+ aho-corasick@1.1.3
+ anes@0.1.6
+ anstyle@1.0.10
+ autocfg@1.1.0
+ bumpalo@3.16.0
+ cast@0.3.0
+ cfg-if@1.0.0
+ ciborium-io@0.2.2
+ ciborium-ll@0.2.2
+ ciborium@0.2.2
+ clap@4.5.23
+ clap_builder@4.5.23
+ clap_lex@0.7.4
+ criterion-plot@0.5.0
+ criterion@0.5.1
+ crossbeam-deque@0.8.6
+ crossbeam-epoch@0.9.18
+ crossbeam-utils@0.8.21
+ crunchy@0.2.2
+ either@1.13.0
+ half@2.4.1
+ heck@0.5.0
+ hermit-abi@0.4.0
+ indoc@2.0.4
+ is-terminal@0.4.13
+ itertools@0.10.5
+ itoa@1.0.14
+ js-sys@0.3.76
+ libc@0.2.169
+ log@0.4.22
+ memchr@2.7.4
+ memoffset@0.9.0
+ num-traits@0.2.19
+ once_cell@1.19.0
+ oorandom@11.1.4
+ plotters-backend@0.3.7
+ plotters-svg@0.3.7
+ plotters@0.3.7
+ portable-atomic@1.9.0
+ proc-macro2@1.0.89
+ pyo3-build-config@0.22.6
+ pyo3-ffi@0.22.6
+ pyo3-macros-backend@0.22.6
+ pyo3-macros@0.22.6
+ pyo3@0.22.6
+ quote@1.0.37
+ rayon-core@1.12.1
+ rayon@1.10.0
+ regex-automata@0.4.9
+ regex-syntax@0.8.5
+ regex@1.11.1
+ rustc-hash@2.1.0
+ ryu@1.0.18
+ same-file@1.0.6
+ serde@1.0.216
+ serde_derive@1.0.216
+ serde_json@1.0.133
+ syn@2.0.87
+ target-lexicon@0.12.16
+ tinytemplate@1.2.1
+ unicode-ident@1.0.12
+ unindent@0.2.3
+ walkdir@2.5.0
+ wasm-bindgen-backend@0.2.99
+ wasm-bindgen-macro-support@0.2.99
+ wasm-bindgen-macro@0.2.99
+ wasm-bindgen-shared@0.2.99
+ wasm-bindgen@0.2.99
+ web-sys@0.3.76
+ winapi-util@0.1.9
+ windows-sys@0.52.0
+ windows-sys@0.59.0
+ windows-targets@0.52.6
+ windows_aarch64_gnullvm@0.52.6
+ windows_aarch64_msvc@0.52.6
+ windows_i686_gnu@0.52.6
+ windows_i686_gnullvm@0.52.6
+ windows_i686_msvc@0.52.6
+ windows_x86_64_gnu@0.52.6
+ windows_x86_64_gnullvm@0.52.6
+ windows_x86_64_msvc@0.52.6
+"
+
+inherit cargo distutils-r1 pypi optfeature
+
+DESCRIPTION="An easily customizable SQL parser and transpiler"
+HOMEPAGE="
+ https://sqlglot.com/
+ https://github.com/tobymao/sqlglot/
+ https://pypi.org/project/sqlglot/
+"
+SRC_URI+="
+ native-extensions? (
+ ${CARGO_CRATE_URIS}
+ )
+"
+
+LICENSE="MIT"
+LICENSE+=" native-extensions? ("
+# Dependent crate licenses
+LICENSE+="
+ Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016
+"
+LICENSE+=" )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+native-extensions"
+
+BDEPEND="
+ native-extensions? (
+ ${RUST_DEPEND}
+ dev-util/maturin[${PYTHON_USEDEP}]
+ )
+ test? (
+ dev-python/pytz[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so"
+
+pkg_setup() {
+ use native-extensions && rust_pkg_setup
+}
+
+src_unpack() {
+ cargo_src_unpack
+}
+
+python_compile() {
+ distutils-r1_python_compile
+
+ if use native-extensions; then
+ local DISTUTILS_USE_PEP517=maturin
+ cd sqlglotrs || die
+ distutils-r1_python_compile
+ cd - >/dev/null || die
+ fi
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # timing, sigh
+ # https://github.com/tobymao/sqlglot/issues/3961
+ tests/test_generator.py::TestGenerator::test_generate_nested_binary
+ )
+ local EPYTEST_IGNORE=(
+ # Tests require pyspark or duckdb which aren't in the tree.
+ # Pandas would be a requirement normally, but it gets ignored by proxy.
+ "tests/dataframe/integration/test_dataframe.py"
+ "tests/dataframe/integration/test_grouped_data.py"
+ "tests/dataframe/integration/test_session.py"
+ "tests/test_executor.py"
+ "tests/test_optimizer.py"
+ )
+
+ # make sure not to use an earlier installed version
+ local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0)
+ rm -rf sqlglotrs || die
+ epytest
+}
+
+pkg_postinst() {
+ optfeature "simplifying timedelta expressions" dev-python/python-dateutil
+}
next reply other threads:[~2025-02-27 5:51 UTC|newest]
Thread overview: 251+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-27 5:50 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-18 7:31 [gentoo-commits] repo/gentoo:master commit in: dev-python/sqlglot/ Michał Górny
2025-03-14 6:32 Michał Górny
2025-03-13 20:03 Arthur Zamarin
2025-03-08 7:24 Michał Górny
2025-03-04 6:48 Michał Górny
2025-03-04 6:48 Michał Górny
2025-02-27 5:50 Michał Górny
2025-02-11 7:18 Michał Górny
2025-02-04 4:28 Michał Górny
2025-01-28 5:31 Michał Górny
2025-01-28 5:31 Michał Górny
2025-01-24 7:21 Michał Górny
2025-01-15 5:39 Michał Górny
2025-01-15 5:39 Michał Górny
2025-01-09 18:09 Arthur Zamarin
2025-01-09 5:26 Michał Górny
2025-01-09 5:26 Michał Górny
2024-12-19 5:12 Michał Górny
2024-12-11 7:54 Michał Górny
2024-12-11 7:54 Michał Górny
2024-12-10 4:35 Michał Górny
2024-12-07 7:07 Michał Górny
2024-12-07 7:07 Michał Górny
2024-12-05 5:39 Michał Górny
2024-12-05 5:39 Michał Górny
2024-11-28 6:43 Michał Górny
2024-11-23 7:10 Michał Górny
2024-11-23 7:10 Michał Górny
2024-11-18 5:15 Michał Górny
2024-11-17 3:20 Michał Górny
2024-11-17 3:20 Michał Górny
2024-11-12 5:35 Michał Górny
2024-11-12 5:35 Michał Górny
2024-11-06 7:11 Michał Górny
2024-11-06 7:11 Michał Górny
2024-10-26 5:50 Michał Górny
2024-10-26 5:50 Michał Górny
2024-10-23 6:16 Michał Górny
2024-10-23 6:16 Michał Górny
2024-10-22 3:10 Michał Górny
2024-10-16 4:54 Michał Górny
2024-10-15 7:00 Michał Górny
2024-10-15 7:00 Michał Górny
2024-10-09 6:31 Michał Górny
2024-10-05 4:58 Michał Górny
2024-10-05 4:58 Michał Górny
2024-10-04 3:12 Michał Górny
2024-10-03 3:31 Michał Górny
2024-10-02 11:22 Michał Górny
2024-09-27 6:32 Michał Górny
2024-09-27 6:32 Michał Górny
2024-09-26 4:50 Michał Górny
2024-09-25 4:39 Michał Górny
2024-09-20 5:12 Michał Górny
2024-09-20 5:12 Michał Górny
2024-09-15 2:22 Michał Górny
2024-09-14 6:27 Michał Górny
2024-09-13 13:47 Michał Górny
2024-09-13 3:12 Michał Górny
2024-09-13 3:12 Michał Górny
2024-09-07 6:23 Michał Górny
2024-09-04 3:13 Michał Górny
2024-09-04 3:13 Michał Górny
2024-08-29 4:52 Michał Górny
2024-08-27 7:39 Michał Górny
2024-08-27 7:39 Michał Górny
2024-08-23 4:57 Michał Górny
2024-08-20 1:29 Michał Górny
2024-08-18 6:04 Michał Górny
2024-08-18 6:04 Michał Górny
2024-08-16 3:18 Michał Górny
2024-08-15 3:47 Michał Górny
2024-08-15 3:47 Michał Górny
2024-08-14 6:05 Michał Górny
2024-08-14 6:05 Michał Górny
2024-08-09 3:10 Michał Górny
2024-08-09 3:10 Michał Górny
2024-08-06 4:45 Michał Górny
2024-07-31 5:52 Michał Górny
2024-07-30 2:47 Michał Górny
2024-07-30 2:47 Michał Górny
2024-07-26 1:57 Michał Górny
2024-07-26 1:57 Michał Górny
2024-07-19 4:25 Michał Górny
2024-07-18 1:56 Michał Górny
2024-07-18 1:56 Michał Górny
2024-07-05 16:29 Arthur Zamarin
2024-07-05 1:41 Michał Górny
2024-06-30 2:52 Michał Górny
2024-06-30 2:52 Michał Górny
2024-06-29 3:26 Michał Górny
2024-06-29 3:26 Michał Górny
2024-06-27 2:53 Michał Górny
2024-06-27 2:53 Michał Górny
2024-06-26 2:09 Michał Górny
2024-06-22 5:33 Michał Górny
2024-06-18 4:45 Michał Górny
2024-06-13 4:05 Michał Górny
2024-06-13 4:05 Michał Górny
2024-06-07 1:59 Michał Górny
2024-06-07 1:59 Michał Górny
2024-06-06 2:02 Michał Górny
2024-06-04 5:41 Michał Górny
2024-05-31 4:22 Michał Górny
2024-05-31 4:22 Michał Górny
2024-05-30 4:03 Michał Górny
2024-05-29 4:17 Michał Górny
2024-05-29 4:17 Michał Górny
2024-05-24 4:03 Michał Górny
2024-05-24 4:03 Michał Górny
2024-05-22 4:49 Michał Górny
2024-05-20 4:36 Michał Górny
2024-05-20 4:36 Michał Górny
2024-05-18 4:52 Michał Górny
2024-05-18 4:52 Michał Górny
2024-05-17 6:25 Michał Górny
2024-05-17 6:25 Michał Górny
2024-05-12 13:05 Michał Górny
2024-05-11 5:19 Michał Górny
2024-05-11 5:19 Michał Górny
2024-05-10 2:02 Michał Górny
2024-05-07 17:45 Michał Górny
2024-05-07 17:45 Michał Górny
2024-05-05 4:03 Michał Górny
2024-05-04 5:00 Michał Górny
2024-05-04 5:00 Michał Górny
2024-04-30 5:02 Michał Górny
2024-04-30 5:02 Michał Górny
2024-04-26 2:05 Michał Górny
2024-04-26 2:05 Michał Górny
2024-04-20 5:40 Michał Górny
2024-04-20 5:40 Michał Górny
2024-04-13 5:35 Arthur Zamarin
2024-04-11 4:25 Michał Górny
2024-04-10 6:15 Michał Górny
2024-04-09 6:01 Michał Górny
2024-04-09 6:01 Michał Górny
2024-04-05 2:45 Michał Górny
2024-04-04 4:16 Michał Górny
2024-04-03 5:31 Michał Górny
2024-03-29 5:16 Michał Górny
2024-03-27 3:37 Michał Górny
2024-03-27 3:37 Michał Górny
2024-03-21 5:39 Michał Górny
2024-03-20 19:21 Michał Górny
2024-03-20 6:28 Michał Górny
2024-03-20 6:28 Michał Górny
2024-03-19 20:09 Michał Górny
2024-03-19 7:20 Michał Górny
2024-03-15 5:06 Michał Górny
2024-03-12 17:51 Michał Górny
2024-03-09 16:20 Arthur Zamarin
2024-03-09 7:18 Michał Górny
2024-03-09 7:18 Michał Górny
2024-03-05 5:18 Michał Górny
2024-03-02 6:43 Michał Górny
2024-03-01 4:47 Michał Górny
2024-02-29 4:18 Michał Górny
2024-02-27 6:38 Michał Górny
2024-02-26 14:25 Michał Górny
2024-02-23 3:40 Michał Górny
2024-02-22 5:38 Michał Górny
2024-02-20 6:13 Michał Górny
2024-02-15 4:11 Michał Górny
2024-02-13 4:27 Michał Górny
2024-02-09 3:24 Michał Górny
2024-02-08 4:22 Michał Górny
2024-01-30 4:07 Michał Górny
2024-01-24 18:56 Michał Górny
2024-01-20 7:09 Michał Górny
2024-01-09 6:41 Michał Górny
2024-01-05 5:38 Michał Górny
2023-12-30 18:35 Michał Górny
2023-12-30 5:00 Michał Górny
2023-12-21 4:30 Michał Górny
2023-12-21 4:30 Michał Górny
2023-12-21 4:30 Michał Górny
2023-12-20 8:29 Michał Górny
2023-12-15 8:17 Michał Górny
2023-12-08 5:41 Michał Górny
2023-12-07 12:29 Michał Górny
2023-12-06 6:51 Michał Górny
2023-12-06 6:51 Michał Górny
2023-12-05 4:29 Michał Górny
2023-12-02 7:09 Michał Górny
2023-12-02 7:09 Michał Górny
2023-11-29 6:05 Michał Górny
2023-11-21 4:44 Michał Górny
2023-11-17 5:58 Michał Górny
2023-11-16 4:09 Michał Górny
2023-11-16 4:09 Michał Górny
2023-11-14 4:34 Michał Górny
2023-11-11 8:42 Michał Górny
2023-11-10 4:09 Michał Górny
2023-11-10 4:01 Michał Górny
2023-11-09 18:40 Arthur Zamarin
2023-11-09 4:15 Michał Górny
2023-11-03 7:06 Michał Górny
2023-11-02 5:44 Michał Górny
2023-11-01 5:08 Michał Górny
2023-10-31 6:25 Michał Górny
2023-10-26 3:12 Michał Górny
2023-10-22 6:55 Michał Górny
2023-10-21 3:40 Michał Górny
2023-10-20 4:42 Michał Górny
2023-10-18 5:06 Michał Górny
2023-10-17 18:57 Michał Górny
2023-10-14 6:29 Michał Górny
2023-10-14 6:29 Michał Górny
2023-10-11 3:22 Michał Górny
2023-10-07 4:43 Michał Górny
2023-10-06 4:23 Michał Górny
2023-10-05 2:58 Michał Górny
2023-10-04 5:18 Michał Górny
2023-09-29 19:13 Arthur Zamarin
2023-09-29 4:50 Michał Górny
2023-09-29 4:50 Michał Górny
2023-09-27 7:18 Michał Górny
2023-09-23 5:38 Michał Górny
2023-09-22 3:11 Michał Górny
2023-09-22 3:11 Michał Górny
2023-09-16 3:03 Michał Górny
2023-09-14 5:30 Michał Górny
2023-09-13 2:45 Michał Górny
2023-09-08 5:08 Michał Górny
2023-09-06 2:42 Michał Górny
2023-09-02 3:22 Michał Górny
2023-08-31 13:22 Michał Górny
2023-08-30 3:01 Michał Górny
2023-08-30 3:01 Michał Górny
2023-08-29 4:00 Michał Górny
2023-08-27 15:40 Michał Górny
2023-08-25 3:04 Michał Górny
2023-08-23 4:24 Michał Górny
2023-08-15 19:15 Michał Górny
2023-08-15 2:39 Michał Górny
2023-08-12 3:05 Michał Górny
2023-08-10 2:33 Michał Górny
2023-08-09 3:09 Michał Górny
2023-08-09 3:09 Michał Górny
2023-08-08 20:06 Michał Górny
2023-08-08 20:06 Michał Górny
2023-08-07 11:46 Michał Górny
2023-08-07 11:46 Michał Górny
2023-08-04 2:42 Michał Górny
2023-08-04 2:42 Michał Górny
2023-08-01 14:45 Michał Górny
2023-08-01 14:45 Michał Górny
2023-07-30 17:09 Sam James
2023-07-29 2:45 Michał Górny
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=1740635437.5abaa31a378289639d82cc3977fdbacb0839e65f.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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