BSD Ports

databases/py-sqlparse 0.6.0 NetBSD

Non-validating SQL parser

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
42c4171a0a
License
modified-bsd
Categories
databases, python
Package size
96.6 KiB, 563.4 KiB installed

Description

sqlparse is a non-validating SQL parser module for Python.

In the other systems

SystemPortVersion
NetBSDdatabases/py-sqlparse0.6.0
FreeBSDdatabases/py-sqlparse0.6.0
OpenBSDdatabases/py-sqlparse0.6.0
DragonFlydatabases/py-sqlparse0.5.3
MidnightBSDdatabases/py-sqlparse0.4.4_2

Install

Binary package:

pkgin install py311-sqlparse

From pkgsrc:

cd /usr/pkgsrc/databases/py-sqlparse && make install clean

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-sqlparse-0.6.0, py313-sqlparse-0.6.0, py314-sqlparse-0.6.0

Commit history 1

DateCommitCreditsLog message
42c4171a0a adam py-sqlparse: updated to 0.6.0
0.6.0 (Aug 13, 2026) Notable Changes * Drop support for Python 3.8 and 3.9. Python 3.10+ is now required. * IMPORTANT: Fixes a potential denial of service attack (DOS) in the lexer, which consumed CPU quadratically on statements containing many unclosed dollar-quoted literals or multiline comments (CVE-2026-59893). See the security advisory for details: https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-prg7-hcfm-mfcr The vulnerability was discovered by EQSTLab, min8282 and 7thpark. Thanks for reporting! * IMPORTANT: Fixes a potential denial of service attack (DOS) when grouping deeply nested or very wide statements. Building a token group re-read the whole group on every step, so a small statement could keep a worker busy …