public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schorm <mschorm@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-PyMySQL] rawhide: Update to 1.2.0
Date: Mon, 13 Jul 2026 08:26:23 GMT	[thread overview]
Message-ID: <178393118321.1.8216790099707568361.rpms-python-PyMySQL-d46b3ef2137c@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-PyMySQL
            Branch : rawhide
            Commit : d46b3ef2137c322a33f9c004d90c580b25f4a13e
            Author : Michal Schorm <mschorm@redhat.com>
            Date   : 2026-06-30T23:15:29+02:00
            Stats  : +7/-3 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-PyMySQL/c/d46b3ef2137c322a33f9c004d90c580b25f4a13e?branch=rawhide

            Log:
            Update to 1.2.0

Notable upstream changes since 1.1.2:
- TLS enabled by default when server supports it; opt out with 'ssl_disabled=True'
- 'Connection.ping()' default changed to not reconnect; 'reconnect' argument deprecated
- 'db' and 'passwd' parameters deprecated in favor of 'database' and 'password'
- 'Connection.set_charset()' deprecated
- Non-finite 'decimal.Decimal' parameters ('NaN', 'Infinity') now rejected
- 'SQLSTATE' exposed on MySQL protocol exceptions
- MySQL 8 row/column alias syntax supported in 'executemany' INSERT regex
- Fixed 'callproc' to escape procname (v1.1.3)
- Fixed 'UnboundLocalError' on 'MySQLResult' initialization during 'SystemExit' (v1.1.2)
- Switched to 'KILL' instead of 'COM_KILL' for MySQL 8.4 compatibility (v1.1.2)

Reverse dependency testing (rawhide containers with MariaDB):
- python3-aiomysql: builds and connects fine; does not pass 'ssl_disabled'
  through to PyMySQL (aiomysql limitation, not a regression)
- python3-sqlalchemy (pymysql dialect): builds, connects, full ORM lifecycle
  works; TLS negotiated by default, 'ssl_disabled=True' via 'connect_args' works
- mycli: builds fine; CLI broken by pre-existing 'sqlglot' API incompatibility
  (unrelated to PyMySQL); direct PyMySQL API works correctly
- Deprecated 'db'/'passwd' params still functional, emit 'DeprecationWarning'
- TLS-by-default: PyMySQL upgrades to TLS when MariaDB supports it
  (observed 'TLS_AES_256_GCM_SHA384'); no breakage on servers without TLS certs

Resolves: rhbz#2464318

Co-Authored-By: Claude AI <noreply@anthropic.com>

---
diff --git a/.gitignore b/.gitignore
index 7d059d9..c0cad1d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@
 /PyMySQL-1.1.0.tar.gz
 /PyMySQL-1.1.1.tar.gz
 /pymysql-1.1.2.tar.gz
+/pymysql-1.2.0.tar.gz

diff --git a/python-PyMySQL.spec b/python-PyMySQL.spec
index 636b02f..76dcf91 100644
--- a/python-PyMySQL.spec
+++ b/python-PyMySQL.spec
@@ -1,6 +1,6 @@
 Name:           python-PyMySQL
-Version:        1.1.2
-Release:        4%{?dist}
+Version:        1.2.0
+Release:        1%{?dist}
 Summary:        Pure-Python MySQL client library
 
 License:        MIT
@@ -56,6 +56,9 @@ and Jython.
 
 
 %changelog
+* Tue Jun 30 2026 Michal Schorm <mschorm@redhat.com> - 1.2.0-1
+- Update to 1.2.0
+
 * Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 1.1.2-4
 - Rebuilt for Python 3.15
 

diff --git a/sources b/sources
index 7493923..de7f6a1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pymysql-1.1.2.tar.gz) = 338ff403ea96364ed1785501e41d22ffa4305ff09db14445dad8a06e643826c9089d0de3a77de52b55d0e02a9a2a6e0344271b172008bdab968bd74384115736
+SHA512 (pymysql-1.2.0.tar.gz) = 9140e0a7195c624e4ec9a13651c933ad7639126e28c1f1745b637e060dc364c56d1d7edd4f5c91f1aa9f6257e8067871053e279506d30d9698cda27ff97804ec

                 reply	other threads:[~2026-07-13  8:26 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=178393118321.1.8216790099707568361.rpms-python-PyMySQL-d46b3ef2137c@fedoraproject.org \
    --to=mschorm@redhat.com \
    --cc=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