./databases/py-pymysql, Pure-Python MySQL driver

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.1.1, Package name: py312-pymysql-1.1.1, Maintainer: pkgsrc-users

This package contains a pure-Python MySQL client library. The goal of PyMySQL is
to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython
and Jython.


Required to run:
[security/py-cryptography] [lang/python310]

Master sites:

Filesize: 46.561 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-05-22 09:18:56 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pymysql: updated to 1.1.1

v1.1.1

> [!WARNING]
> This release fixes a vulnerability (CVE-2024-36039).
> All users are recommended to update to this version.
>
> If you can not update soon, check the input value from
> untrusted source has an expected type. Only dict input
> from untrusted source can be an attack vector.

* Prohibit dict parameter for `Cursor.execute()`. It didn't produce valid SQL
  and might cause SQL injection. (CVE-2024-36039)
   2024-01-19 14:08:23 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pymysql: updated to 1.1.0

v1.1.0

* Fixed SSCursor raising OperationalError for query timeouts on wrong statement
* Exposed `Cursor.warning_count` to check for warnings without additional query
* Make Cursor iterator
* Support '_' in key name in my.cnf
* `Cursor.fetchall()` returns empty list instead of tuple
* Deprecate Error classes in Cursor class
* Add `Connection.set_character_set(charset, collation=None)`. This method is \ 
compatible with mysqlclient.
* Deprecate `Connection.set_charset(charset)`
* New connection always send "SET NAMES charset [COLLATE collation]" query.
  Since collation table is vary on MySQL server versions, collation in handshake \ 
is fragile.
* Support `charset="utf8mb3"` option
   2022-04-21 13:00:02 by Thomas Klausner | Files touched by this commit (18)
Log message:
*: convert to versioned_dependencies for py-cryptography
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:10:08 by Nia Alarie | Files touched by this commit (417)
Log message:
databases: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (some may be only fetched
conditionally):

./databases/cstore/distinfo D6.data.ros.gz
./databases/cstore/distinfo cstore0.2.tar.gz
./databases/cstore/distinfo data4.tar.gz
   2021-10-07 15:35:53 by Nia Alarie | Files touched by this commit (417)
Log message:
databases: Remove SHA1 distfile hashes
   2020-11-21 23:22:35 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pymysql: updated to 0.10.1

v0.10.1
* Fix missing import of ProgrammingError.
* Fix auth switch request handling.