8000 WL#16350: Update dnspython version · mysql/mysql-connector-python@30cdc69 · GitHub
[go: up one dir, main page]

Skip to content

Commit 30cdc69

Browse files
committed
WL#16350: Update dnspython version
Classic and XDevAPI connectors can be installed optionally with all the 3rd-party packages required by the dns-srv feature. The dnspython package is part of these 3rd-party requirements; however, the current installable versions of this package are unsecured - they are hit by the vulnerability `NVD CVE-2023-29483`. This work log updates the version range such that secure versions of dnspython are installable when exercising the dns-srv installation option. Change-Id: I14e895ac286b11da7a3ad550465926b363fac7f4
1 parent 284c1b1 commit 30cdc69

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Full release notes:
1111
v9.0.0
1212
======
1313

14+
- WL#16350: Update dnspython version
1415
- BUG#36476195: Incorrect escaping in pure Python mode if sql_mode includes NO_BACKSLASH_ESCAPES
1516

1617
v8.4.0

mysql-connector-python/cpydist/data/deb/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Depends:
1515
${python3-protobuf:Depends}
1616
Replaces: mysql-connector-python-cext-py3 (<< 8.0.22)
1717
Breaks: mysql-connector-python-cext-py3 (<< 8.0.22)
18-
Recommends: python3-dnspython (>= 1.16.0)
18+
Suggests: python3-dnspython (= 2.6.1)
1919
Conflicts: python3-mysql.connector, mysql-connector-python-commercial-py3
2020
Description: MySQL database driver written in pure Python 3
2121
@LICENSE@

mysql-connector-python/cpydist/data/rpm/mysql-connector-python.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# along with this program; if not, write to the Free Software Foundation, Inc.,
2727
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2828

29-
%global wants_py_dnspython_version 1.16.0
29+
%global wants_py_dnspython_version 2.6.1
3030

3131
%undefine _package_note_file
3232

mysql-connector-python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def main() -> None:
131131
cmdclass=COMMAND_CLASSES,
132132
python_requires=">=3.8",
133133
extras_require={
134-
"dns-srv": ["dnspython>=1.16.0,<=2.3.0"],
134+
"dns-srv": ["dnspython==2.6.1"],
135135
"gssapi": ["gssapi>=1.6.9,<=1.8.2"],
136136
"opentelemetry": [
137137
"Deprecated>=1.2.6",

mysqlx-connector-python/cpydist/data/deb/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Depends:
1515
${python3-protobuf:Depends}
1616
Replaces: mysqlx-connector-python-cext-py3 (<< 8.0.22)
1717
Breaks: mysqlx-connector-python-cext-py3 (<< 8.0.22)
18-
Recommends: python3-dnspython (>= 1.16.0)
18+
Suggests: python3-dnspython (= 2.6.1)
1919
Conflicts: mysqlx-connector-python-commercial-py3
2020
Description: MySQL database driver written in pure Python 3
2121
@LICENSE@

mysqlx-connector-python/cpydist/data/rpm/mysql-connector-python.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# along with this program; if not, write to the Free Software Foundation, Inc.,
2727
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2828

29-
%global wants_py_dnspython_version 1.16.0
29+
%global wants_py_dnspython_version 2.6.1
3030

3131
%undefine _package_note_file
3232

mysqlx-connector-python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def main() -> None:
143143
python_requires=">=3.8",
144144
install_requires=["protobuf>=4.21.1,<=4.21.12"],
145145
extras_require={
146-
"dns-srv": ["dnspython>=1.16.0,<=2.3.0"],
146+
"dns-srv": ["dnspython==2.6.1"],
147147
"compression": ["lz4>=2.1.6,<=4.3.2", "zstandard>=0.12.0,<=0.19.0"],
148148
},
149149
)

0 commit comments

Comments
 (0)
0