Skip to content

Commit 5302916

Browse files
committed
WL#15836: Split mysql and mysqlx into different packages
Change-Id: I19ec1773b447ff98723a5ac8dfa37888f456e686
1 parent a55960b commit 5302916

File tree

573 files changed

+10700
-2403
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

573 files changed

+10700
-2403
lines changed

.gitignore

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,49 @@
1+
# general
12
*.diff
23
*.egg-info/
34
*.so
45
*.patch
56
*.pyc
67
*__pycache__*
8+
*.mypy_cache
79
*_output.txt
810
.DS_Store
911
.coverage
1012
.idea/
1113
.python-version
1214
.vscode/
1315
MANIFEST
14-
build/
1516
commit.txt
1617
cpy_server*/
1718
dev*.py
18-
dist/
19-
docs/INFO_BIN
20-
docs/INFO_SRC
21-
lib/mysql/vendor/
22-
src/mysqlxpb/mysqlx/mysqlx*
2319
pip-wheel-metadata/
24-
tests_*.log
2520
venv/
2621
venv2/
2722
venv3/
23+
docs
24+
dist
25+
build
26+
27+
# Classic protocol connector (aka mysql)
28+
mysql-connector-python/build/
29+
mysql-connector-python/dist/
30+
mysql-connector-python/docs/INFO_BIN
31+
mysql-connector-python/docs/INFO_SRC
32+
mysql-connector-python/lib/mysql/vendor/
33+
mysql-connector-python/tests_*.log
34+
mysql-connector-python/README.txt
35+
mysql-connector-python/README.rst
36+
mysql-connector-python/LICENSE.txt
37+
mysql-connector-python/CHANGES.txt
38+
39+
# X protocol connector (aka XDevAPI or mysqlx)
40+
mysqlx-connector-python/build/
41+
mysqlx-connector-python/dist/
42+
mysqlx-connector-python/docs/INFO_BIN
43+
mysqlx-connector-python/docs/INFO_SRC
44+
mysqlx-connector-python/src/mysqlxpb/mysqlx/mysqlx*
45+
mysqlx-connector-python/README.txt
46+
mysqlx-connector-python/README.rst
47+
mysqlx-connector-python/LICENSE.txt
48+
mysqlx-connector-python/CHANGES.txt
49+

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@
2828

2929
repos:
3030
- repo: https://github.com/psf/black
31-
rev: 23.3.0
31+
rev: 23.7.0
3232
hooks:
3333
- id: black
3434
- repo: https://github.com/pycqa/isort
3535
rev: 5.12.0
3636
hooks:
3737
- id: isort
3838
- repo: https://github.com/pre-commit/mirrors-mypy
39-
rev: v1.3.0
39+
rev: v1.7.0
4040
hooks:
4141
- id: mypy
4242
additional_dependencies: [
@@ -47,8 +47,8 @@ repos:
4747
typing-extensions>=3.7.4,
4848
zipp>=0.5,
4949
]
50-
files: lib
51-
exclude: lib/mysql/opentelemetry
50+
files: '(mysql|mysqlx)-connector-python/lib/(mysql|mysqlx)'
51+
exclude: mysql-connector-python/lib/mysql/opentelemetry
5252
args: [
5353
--disallow-untyped-defs,
5454
--show-error-codes,

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ v8.3.0
1515
- WL#15983: Stop using mysql_ssl_set api
1616
- WL#15982: Remove use of mysql_shutdown
1717
- WL#15942: Improve type hints and standardize byte type handling
18+
- WL#15836: Split mysql and mysqlx into different packages
1819
- WL#15523: Support Python DB API asynchronous execution
1920
- BUG#35912790: Binary strings are converted when using prepared statements
2021
- BUG#35832148: Fix Django timezone.utc deprecation warning

CONTRIBUTING.rst

Lines changed: 121 additions & 34 deletions
Large diffs are not rendered by default.

docs/mysqlx/_themes/sphinx_rtd_theme/__init__.py

Lines changed: 0 additions & 52 deletions
This file was deleted.

docs/mysqlx/_themes/sphinx_rtd_theme/breadcrumbs.html

Lines changed: 0 additions & 84 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

docs/mysqlx/_themes/sphinx_rtd_theme/locale/zh_CN/LC_MESSAGES/sphinx.po

Lines changed: 0 additions & 150 deletions
This file was deleted.

docs/mysqlx/_themes/sphinx_rtd_theme/static/css/badge_only.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)