Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=OiN8W+FN; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=NQgAuIYg Received: by mail.netbsd.org (Postfix, from userid 605) id E33C084D95; Sun, 14 Apr 2024 18:10:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1713118211; bh=Mj+KngSEjxhFsrWWW25WDDr57j/uihM8KkBWc/j7NQA=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=OiN8W+FNiwSbaH69LSp5JDnmpX1cFjhEw0j9nQk1OpAjzdHHcHW/VIkRjDoffHszv ffE7dCb4F1YbKq2hdiD+yMF2wweYcnmxiEtjKLHnVNNViGGRu0wUlo3nMfKlqo2rPK VdOZdkgeVs/GxVzaT67Y7lKwM9e8o0H3JbWmhb/c= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D23EC84D1B for ; Sun, 14 Apr 2024 18:10:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id v4wN4IMBaE9w for ; Sun, 14 Apr 2024 18:10:09 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id E1D5084CCA for ; Sun, 14 Apr 2024 18:10:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1713118209; bh=Mj+KngSEjxhFsrWWW25WDDr57j/uihM8KkBWc/j7NQA=; h=Date:From:Subject:To:Reply-To; b=NQgAuIYgy/IuHdTMvm4rycDBsOZrjMhWh/5T1WgrpmF4rLGRORzly+DvFRaeHObID H44bYVRp+1WF1fuBzlNY16AwV+8UHzmbN5HnghnXV9khbiR8qPQPOvfB4Yl5BejWx5 iH7MIYKxU9OoRF1yXANne3lmIsbXajLkrZJF2YSg= Received: by cvs.NetBSD.org (Postfix, from userid 500) id CC629FA2C; Sun, 14 Apr 2024 18:10:08 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1713118208190020" MIME-Version: 1.0 Date: Sun, 14 Apr 2024 18:10:08 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/databases/py-sqlparse To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20240414181008.CC629FA2C@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1713118208190020 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Sun Apr 14 18:10:08 UTC 2024 Modified Files: pkgsrc/databases/py-sqlparse: Makefile PLIST distinfo Log Message: py-sqlparse: updated to 0.5.0 Release 0.5.0 (Apr 13, 2024) ---------------------------- Notable Changes * Drop support for Python 3.5, 3.6, and 3.7. * Python 3.12 is now supported (pr725, by hugovk). * IMPORTANT: Fixes a potential denial of service attack (DOS) due to recursion error for deeply nested statements. Instead of recursion error a generic SQLParseError is raised. See the security advisory for details: https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-2m57-hf25-phgg The vulnerability was discovered by @uriyay-jfrog. Thanks for reporting! Enhancements: * Splitting statements now allows to remove the semicolon at the end. Some database backends love statements without semicolon (issue742). * Support TypedLiterals in get_parameters (pr649, by Khrol). * Improve splitting of Transact SQL when using GO keyword (issue762). * Support for some JSON operators (issue682). * Improve formatting of statements containing JSON operators (issue542). * Support for BigQuery and Snowflake keywords (pr699, by griffatrasgo). * Support parsing of OVER clause (issue701, pr768 by r33s3n6). Bug Fixes * Ignore dunder attributes when creating Tokens (issue672). * Allow operators to precede dollar-quoted strings (issue763). * Fix parsing of nested order clauses (issue745, pr746 by john-bodley). * Thread-safe initialization of Lexer class (issue730). * Classify TRUNCATE as DDL and GRANT/REVOKE as DCL keywords (based on pr719 by josuc1, thanks for bringing this up!). * Fix parsing of PRIMARY KEY (issue740). Other * Optimize performance of matching function (pr799, by admachainz). To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 pkgsrc/databases/py-sqlparse/Makefile cvs rdiff -u -r1.4 -r1.5 pkgsrc/databases/py-sqlparse/PLIST cvs rdiff -u -r1.18 -r1.19 pkgsrc/databases/py-sqlparse/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1713118208190020 Content-Disposition: inline Content-Length: 3222 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/databases/py-sqlparse/Makefile diff -u pkgsrc/databases/py-sqlparse/Makefile:1.23 pkgsrc/databases/py-sqlparse/Makefile:1.24 --- pkgsrc/databases/py-sqlparse/Makefile:1.23 Sat Oct 28 19:56:56 2023 +++ pkgsrc/databases/py-sqlparse/Makefile Sun Apr 14 18:10:08 2024 @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.23 2023/10/28 19:56:56 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2024/04/14 18:10:08 adam Exp $ -DISTNAME= sqlparse-0.4.4 +DISTNAME= sqlparse-0.5.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_PYPI:=s/sqlparse/} @@ -11,8 +10,7 @@ HOMEPAGE= https://github.com/andialbrech COMMENT= Non-validating SQL parser LICENSE= modified-bsd -TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.2:../../devel/py-flit_core -TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test +TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov USE_LANGUAGES= # none @@ -25,9 +23,6 @@ post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} sqlformat sqlformat-${PYVERSSUFFIX} || ${TRUE} -do-test: - cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests - .include "../../lang/python/application.mk" .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" Index: pkgsrc/databases/py-sqlparse/PLIST diff -u pkgsrc/databases/py-sqlparse/PLIST:1.4 pkgsrc/databases/py-sqlparse/PLIST:1.5 --- pkgsrc/databases/py-sqlparse/PLIST:1.4 Sat Oct 28 19:56:56 2023 +++ pkgsrc/databases/py-sqlparse/PLIST Sun Apr 14 18:10:08 2024 @@ -1,10 +1,11 @@ -@comment $NetBSD: PLIST,v 1.4 2023/10/28 19:56:56 wiz Exp $ +@comment $NetBSD: PLIST,v 1.5 2024/04/14 18:10:08 adam Exp $ bin/sqlformat-${PYVERSSUFFIX} -${PYSITELIB}/${WHEEL_INFODIR}/LICENSE ${PYSITELIB}/${WHEEL_INFODIR}/METADATA ${PYSITELIB}/${WHEEL_INFODIR}/RECORD ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt +${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS +${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE ${PYSITELIB}/sqlparse/__init__.py ${PYSITELIB}/sqlparse/__init__.pyc ${PYSITELIB}/sqlparse/__init__.pyo Index: pkgsrc/databases/py-sqlparse/distinfo diff -u pkgsrc/databases/py-sqlparse/distinfo:1.18 pkgsrc/databases/py-sqlparse/distinfo:1.19 --- pkgsrc/databases/py-sqlparse/distinfo:1.18 Thu Sep 7 15:46:23 2023 +++ pkgsrc/databases/py-sqlparse/distinfo Sun Apr 14 18:10:08 2024 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.18 2023/09/07 15:46:23 adam Exp $ +$NetBSD: distinfo,v 1.19 2024/04/14 18:10:08 adam Exp $ -BLAKE2s (sqlparse-0.4.4.tar.gz) = 80ec96a4c299a7ab09ea2c76ac99b8b61065a4eab792c2985e6488aeb65e79d9 -SHA512 (sqlparse-0.4.4.tar.gz) = bb655f8de2466c2ed51aca901b6561b8ac7730bf65f1254d218d7b9dabbece609cadd8a52a092b301895ad83813ddf02691e2de49cf55a26e676a2661c240a2b -Size (sqlparse-0.4.4.tar.gz) = 72383 bytes +BLAKE2s (sqlparse-0.5.0.tar.gz) = d72d457becf0ba016f348c28397ddf3130c1c6a762cc3b63450c66d73f5bbab6 +SHA512 (sqlparse-0.5.0.tar.gz) = eade99e832054ddbc466d1c56a4d5ce6f79d31be8dbfa0b175b8413e4326af18baa20a42d9661bc09e91f04edd8329d4c0df2ca6f62983df3daef67d38342269 +Size (sqlparse-0.5.0.tar.gz) = 83475 bytes --_----------=_1713118208190020--