CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

Port details

databases/py-mysqlclient2.3.0

MySQL database connector for Python

Maintainer
fluffy@FreeBSD.org
Packages
py312-mysqlclient 2.3.0
Upstream
up to date
CPE
none, CVEs only via VuXML
WWW
https://pypi.org/project/mysqlclient
Links
cgit · VuXML

Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE

None. There is no CVE without a VuXML entry for this version.

VuXML only (0) · listed, port not fixed yet

None. pkg audit reports nothing for this version.

Fixed (0)

No VuXML entries for this package.

Commits (36)

Dima Panov (fluffy) · 2.3.0
databases/py-mysqlclient: update to 2.3.0 release (+)

Release notes:	https://github.com/PyMySQL/mysqlclient/releases/tag/v2.3.0
baa0f9e9f5
Dima Panov (fluffy) · 2.2.8
databases/py-mysqlclient: update to 2.2.8 release (+)

Now support Python 3.14

Release notes:	https://github.com/PyMySQL/mysqlclient/releases/tag/v2.2.8
567105643f
Dima Panov (fluffy) · 2.2.7
databases/py-mysqlclient: update to 2.2.7 release (+)

Changelog:	https://github.com/PyMySQL/mysqlclient/releases/tag/v2.2.7
726edb7afb
Dima Panov (fluffy) · 2.2.6
databases/py-mysqlclient: update to 2.2.6 release

Release Notes:	https://github.com/PyMySQL/mysqlclient/releases/tag/v2.2.6
42673dd35c
Dima Panov (fluffy) · 2.2.5
databases/py-mysqlclient: update to 2.2.5 release (+)

Changelog:	https://github.com/PyMySQL/mysqlclient/releases/tag/v2.2.5
7803d9a1a9
Dima Panov (fluffy) · 2.2.4
databases/py-mysqlclient: update to 2.2.4 release (+)

What's Changed:

2.2.2:
    Support MySQL 8.3: conn.kill() and conn.shutdown() are deprecated.
    use ruff for formatter
    doc: add link to README
2.2.3:
    fix Connection.kill() broken since 2.2.2
2.2.4:
    Support ssl=True
9c4a2df695
Dima Panov (fluffy) · 2.2.1
databases/py-mysqlclient: update to 2.2.1 release (+)

Drop incorporated patch

Changelog:	https://github.com/PyMySQL/mysqlclient/releases/tag/v2.2.1
fbaaec4765
Dima Panov (fluffy) · 2.2.0
databases/py-mysqlclient: fix build with mariadb

PR:	272481
MFH:	2023Q4
a63cc035ab
Charlie Li (vishwin) · 2.2.0
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}

Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.

With hat: python
PR: 270510, 270358
9a80a6ee5e
Rene Ladan (rene) · 2.2.0
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
3d9a815d9c
Dima Panov (fluffy) · 2.2.0
databases/py-mysqlclient: update to 2.2.0 release (+)

Changelog:	https://github.com/PyMySQL/mysqlclient/releases/tag/v2.2.0
399e1b7e12
Dmitry Marakasov (amdmi3) · 2.1.1
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
77d68471ad
Stefan Eßer (se) · 2.1.1
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se) · 2.1.1
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Dima Panov (fluffy) · 2.1.1
databases/py-mysqlclient: update to 2.1.1 release (+)

Changelog:	https://github.com/PyMySQL/mysqlclient/releases/tag/v2.1.1
88acfca540
Dima Panov (fluffy) · 2.1.0
databases/py-mysqlclient: update to 2.1.0 release

Changelog:      https://github.com/PyMySQL/mysqlclient/releases/tag/v2.1.0
Sponsored by:   Netzkommune GmbH
9aa0c3ca74
Stefan Eßer (se) · 2.0.3
*/*: Remove redundant '-[0-9]*' from CONFLICTS

The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".

Approved by:	portmgr (blanket)
819f25b36d
Dima Panov (fluffy) · 2.0.3
databases/py-mysqlclient: update to 2.0.3 release
53dd641cbd
Mathieu Arnold (mat) · 2.0.2
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat) · 2.0.2
Remove # $FreeBSD$ from Makefiles.
305f148f48
Dima Panov (fluffy) · 2.0.2
databases/py-mysqlclient: update to 2.0.2 release
ebf9fc51e6
Dima Panov (fluffy) · 2.0.1
databases/py-mysqlclient: update to 2.0.1 release

* Dropped Python 2 support
* Dropped Django 1.11 support
* Add context manager interface to Connection which closes the connection on ``__exit__``.
* Add ``ssl_mode`` option.
* Fixed multithread safety issue in fetching row.
* Removed obsolete members from Cursor. (e.g. `messages`, `_warnings`, `_last_executed`)
5ac28bf4b8
Dima Panov (fluffy) · 1.4.6_2
databases/py-mysqlclient: revert gc threaded patch

It caused python sigabort with a "GC object already tracked" message in singlethreaded app.
This happens only with a fetchmany() on a streaming cursor, MySQLdb.cursors.SSCursor.

PR:		246313
Reported by:	Jeroen Pulles <jeroen.pulles@gmail.com>
MFH:		2020Q2
dc522ae896
Dima Panov (fluffy) · 1.4.6_1
databases/py-mysqlclient: pet port

- Change MASTER_SITES from GitHub to CHEESESHOP
- Use USE_PYTHON=concurrent instead of setting DOCSDIR manually
- Point WWW link to official PyPI page in pkg-descr

Submitted by:	sunpoet via private mail
5b288975ff
Dima Panov (fluffy) · 1.4.6_1
databases/py-mysqlclient: Add some gc safety around _mysql__fetch_row

- Users of gc.get_referrers() could cause a SystemError to be raised if this function is running in a different python thread.
- While here, take maintainership

Obtained from:	PyMySQL repo
c6a4c59a5c
Rene Ladan (rene) · 1.4.6
Return Neels ports to the pool on his request.

Submitted by:	neelc@neelc.org (former maintainer) via freebsd-ports
32cf9e1bf6
Dima Panov (fluffy) · 1.4.6
databases/py-mysqlclient: update to 1.4.6 release

* The cp1252 encoding is used when charset is "latin1". (#390)
* The auth_plugin option is added. (#389)
* charset option is passed to mysql_options(mysql, MYSQL_SET_CHARSET_NAME, charset) before mysql_real_connect is called. This avoid extra SET NAMES <charset> query when creating connection.
* --static build supports libmariadbclient.a
* Try mariadb_config when mysql_config is not found
* Fixed warning happend in Python 3.8 (#359)
* Fixed SEGV MySQLdb.escape_string("1") when libmariadb is used and no connection is created. (#367)
* Fixed many circular references are created in Cursor.executemany(). (#375)

PR:		243076
Submitted by:	fluffy
Approved by:	maintainer timeout (>1w)
54cf617ce3
Gerald Pfeifer (gerald) · 1.4.2.p1_1
Bump PORTREVISION for ports depending on the canonical version of GCC as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
ea8c8ec7da
Piotr Kubaj (pkubaj) · 1.4.2.p1
databases/py-mysqlclient: fix build with GCC-based architectures

Since the switch to MySQL 5.7, C11-aware compiler is required:
/usr/bin/ld: cannot find -latomic

Approved by:	mentors (implicit approval)
ff46feca69
Steve Wills (swills) · 1.4.2.p1
databases/py-mysqlclient: Update to 1.4.2.post1

PR:		237709
Submitted by:	Neel Chauhan <neel@neelc.org> (maintainer)
fdcc85ca75
Martin Wilke (miwi) · 1.3.13
- Update to 1.3.13

PR:		230106
Sponsored by:	iXsystems Inc.
704b51511f
Mathieu Arnold (mat) · 1.3.12
Convert Python ports to FLAVORS.

Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
551be3c723
Dan Langille (dvl) · 1.3.12
Upgrade to 1.3.12

maintainer timeout

PR:		222983
Submitted by:	Neel Chauhan
d0d4ee0fd0
Antoine Brodin (antoine) · 1.3.8
Move py35-mysqlclient and py35-psycopg2 to match existing naming convention
7fafcac74e
Pawel Pekala (pawel) · 1.3.8
- Update to version 1.3.8 [1] - Install doc files only when needed

PR:		213171 [1]
Submitted by:	Neel Chauhan (maintainer) [1]
4e3579f57b
Pawel Pekala (pawel) · 1.3.7
MySQL database connector for Python (with Python 3 support).

WWW: https://github.com/PyMySQL/mysqlclient-python

PR:		209548
Submitted by:	Neel Chauhan <neel@neelc.org>
f8148bed7e