Skip to content

Commit e56c4ec

Browse files
committed
BUG#36098290: mysql-connector-python is distributed without setup.py or pyproject.toml
The source code distribution (sdist) posted on PyPI now is going to include the `setup.py` file, which is a must to build a wheel package from the sdist. Change-Id: I3271cc2647468e355aca8a03182fd249641e1669
1 parent 0bf204d commit e56c4ec

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ v9.3.0
1919
- BUG#37447394: Unable to escape a parameter marker (`%s`) used in a query that should not be treated as a parameter marker
2020
- BUG#37418436: Arbitrary File Read in MySQL Python Client library
2121
- BUG#37399636: The C-extension has a memory leak when working with prepared statements
22+
- BUG#36098290: mysql-connector-python is distributed without setup.py or pyproject.toml
2223

2324
v9.2.0
2425
======

README.rst

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,31 @@ Features
3838
Installation
3939
------------
4040

41-
The recommended way to install Connector/Python is via `pip <https://pip.pypa.io/>`_.
41+
Connector/Python contains the classic and XDevAPI connector APIs, which are
42+
installed separately. Any of these can be installed from a binary
43+
or source distribution.
4244

43-
Make sure you have a recent `pip <https://pip.pypa.io/>`_ version installed
44-
on your system. If your system already has ``pip`` installed, you might need
45-
to update it. Or you can use the `standalone pip installer <https://pip.pypa.io/en/latest/installation/>`_.
45+
Binaries are distributed in the following package formats:
46+
47+
* `RPM <https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/packaging_and_distributing_software/introduction-to-rpm_packaging-and-distributing-software>`_
48+
* `WHEEL <https://packaging.python.org/en/latest/discussions/package-formats/#what-is-a-wheel>`_
49+
50+
On the other hand, the source code is distributed as a compressed file
51+
from which a wheel package can be built.
52+
53+
The recommended way to install Connector/Python is via `pip <https://pip.pypa.io/>`_,
54+
which relies on WHEEL packages. For such a reason, it is the installation procedure
55+
that is going to be described moving forward.
56+
57+
Please, refer to the official MySQL documentation `Connector/Python Installation
58+
<https://dev.mysql.com/doc/connector-python/en/connector-python-installation.html>`_ to
59+
know more about installing from an RPM, or building and installing a WHEEL package from
60+
a source distribution.
61+
62+
Before installing a package with `pip <https://pip.pypa.io/>`_, it is strongly suggested
63+
to have the most recent ``pip`` version installed on your system.
64+
If your system already has ``pip`` installed, you might need to update it. Or you can use
65+
the `standalone pip installer <https://pip.pypa.io/en/latest/installation/>`_.
4666

4767
.. === <mysql> [repl("The *classic API* can be installed via pip as follows:", "")] ===
4868
The *classic API* can be installed via pip as follows:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy