This is an automated email from the ASF dual-hosted git repository.
isapego pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new 1de03041009 IGNITE-27988 DB API Driver: Move project directory (#7678)
1de03041009 is described below
commit 1de03041009cf2a6c46c9f47fe40f4eed24f40ad
Author: Igor Sapego <[email protected]>
AuthorDate: Thu Feb 26 18:02:47 2026 +0100
IGNITE-27988 DB API Driver: Move project directory (#7678)
---
.github/workflows/python_dbapi_wheels.yml | 12 ++++++------
.teamcity/test/platform_tests/PlatformPythonTestsLinux.kt | 2 +-
modules/platforms/build.gradle | 2 +-
modules/platforms/python/{ => dbapi}/.gitignore | 0
modules/platforms/python/{ => dbapi}/CMakeLists.txt | 4 ++--
modules/platforms/python/{ => dbapi}/LICENSE | 0
modules/platforms/python/{ => dbapi}/MANIFEST.in | 0
modules/platforms/python/{ => dbapi}/NOTICE | 0
modules/platforms/python/{ => dbapi}/README.md | 0
.../platforms/python/{ => dbapi}/cpp_module/CMakeLists.txt | 0
modules/platforms/python/{ => dbapi}/cpp_module/cursor.h | 0
modules/platforms/python/{ => dbapi}/cpp_module/module.cpp | 0
modules/platforms/python/{ => dbapi}/cpp_module/module.h | 0
.../python/{ => dbapi}/cpp_module/node_connection.h | 0
.../python/{ => dbapi}/cpp_module/py_connection.cpp | 0
.../platforms/python/{ => dbapi}/cpp_module/py_connection.h | 0
.../platforms/python/{ => dbapi}/cpp_module/py_cursor.cpp | 0
modules/platforms/python/{ => dbapi}/cpp_module/py_cursor.h | 0
modules/platforms/python/{ => dbapi}/cpp_module/py_object.h | 0
modules/platforms/python/{ => dbapi}/cpp_module/py_string.h | 0
.../platforms/python/{ => dbapi}/cpp_module/result_page.h | 0
.../platforms/python/{ => dbapi}/cpp_module/ssl_config.h | 0
.../platforms/python/{ => dbapi}/cpp_module/statement.cpp | 0
modules/platforms/python/{ => dbapi}/cpp_module/statement.h | 0
.../python/{ => dbapi}/cpp_module/type_conversion.h | 0
modules/platforms/python/{ => dbapi}/cpp_module/utils.cpp | 0
modules/platforms/python/{ => dbapi}/cpp_module/utils.h | 0
modules/platforms/python/{ => dbapi}/docs/Makefile | 0
.../{ => dbapi}/docs/_static/Apache_Ignite_logo_128x128.png | Bin
modules/platforms/python/{ => dbapi}/docs/conf.py | 0
modules/platforms/python/{ => dbapi}/docs/index.rst | 0
modules/platforms/python/{ => dbapi}/docs/make.bat | 0
.../platforms/python/{ => dbapi}/pyignite_dbapi/__init__.py | 0
.../python/{ => dbapi}/pyignite_dbapi/_version.txt | 0
.../python/{ => dbapi}/pyignite_dbapi/native_type_code.py | 0
modules/platforms/python/{ => dbapi}/requirements/docs.txt | 0
.../platforms/python/{ => dbapi}/requirements/install.txt | 0
modules/platforms/python/{ => dbapi}/requirements/tests.txt | 0
.../platforms/python/{ => dbapi}/scripts/BuildWheels.ps1 | 0
modules/platforms/python/{ => dbapi}/scripts/Dockerfile | 0
.../platforms/python/{ => dbapi}/scripts/build_wheels.sh | 0
.../platforms/python/{ => dbapi}/scripts/create_distr.sh | 0
.../platforms/python/{ => dbapi}/scripts/create_sdist.sh | 0
modules/platforms/python/{ => dbapi}/setup.py | 2 +-
modules/platforms/python/{ => dbapi}/tests/__init__.py | 0
modules/platforms/python/{ => dbapi}/tests/conftest.py | 0
modules/platforms/python/{ => dbapi}/tests/ssl/ca.pem | 0
modules/platforms/python/{ => dbapi}/tests/ssl/client.pem | 0
.../python/{ => dbapi}/tests/ssl/client_unknown.pem | 0
modules/platforms/python/{ => dbapi}/tests/test_connect.py | 0
.../python/{ => dbapi}/tests/test_dbapi_compliance.py | 0
modules/platforms/python/{ => dbapi}/tests/test_errors.py | 0
modules/platforms/python/{ => dbapi}/tests/test_execute.py | 0
.../platforms/python/{ => dbapi}/tests/test_executemany.py | 0
.../python/{ => dbapi}/tests/test_fetch_constants.py | 0
.../python/{ => dbapi}/tests/test_fetch_parameters.py | 0
.../platforms/python/{ => dbapi}/tests/test_fetch_table.py | 0
modules/platforms/python/{ => dbapi}/tests/test_ssl.py | 0
.../platforms/python/{ => dbapi}/tests/test_transactions.py | 0
modules/platforms/python/{ => dbapi}/tests/util.py | 2 +-
modules/platforms/python/{ => dbapi}/tox.ini | 0
61 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/python_dbapi_wheels.yml
b/.github/workflows/python_dbapi_wheels.yml
index b0a8e8feb75..82a3a22caf8 100644
--- a/.github/workflows/python_dbapi_wheels.yml
+++ b/.github/workflows/python_dbapi_wheels.yml
@@ -3,7 +3,7 @@ name: "Build Python DB API Driver Wheels"
on:
push:
paths:
- - 'modules/platforms/python/**'
+ - 'modules/platforms/python/dbapi/**'
- '.github/workflows/python_dbapi_wheels.yml'
workflow_dispatch:
@@ -27,16 +27,16 @@ jobs:
run: python -m pip install --upgrade setuptools packaging>=24.2
- name: Copy C++ sources
- run: cp -r modules/platforms/cpp modules/platforms/python/
+ run: cp -r modules/platforms/cpp modules/platforms/python/dbapi/
- name: Build source distribution
- working-directory: modules/platforms/python
+ working-directory: modules/platforms/python/dbapi
run: python setup.py sdist --formats=gztar --dist-dir ./dist
- uses: actions/upload-artifact@v4
with:
name: source-distributions
- path: modules/platforms/python/dist/*
+ path: modules/platforms/python/dbapi/dist/*
build_wheels:
name: Build wheels on ${{ matrix.os }}
@@ -80,7 +80,7 @@ jobs:
vcpkg install openssl:x64-windows-static-md
- name: Build wheels ${{ matrix.os }}
- run: python -m cibuildwheel --output-dir
modules/platforms/python/wheels modules/platforms/python
+ run: python -m cibuildwheel --output-dir
modules/platforms/python/dbapi/wheels modules/platforms/python/dbapi
env:
CIBW_BUILD: ${{ matrix.cibw_build || 'cp31{0,1,2,3,4}-*' }}
CIBW_ARCHS: ${{ matrix.arch }}
@@ -91,7 +91,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
- path: modules/platforms/python/wheels/*.whl
+ path: modules/platforms/python/dbapi/wheels/*.whl
merge:
runs-on: ubuntu-latest
diff --git a/.teamcity/test/platform_tests/PlatformPythonTestsLinux.kt
b/.teamcity/test/platform_tests/PlatformPythonTestsLinux.kt
index 10cf479f42c..55ca54a7038 100644
--- a/.teamcity/test/platform_tests/PlatformPythonTestsLinux.kt
+++ b/.teamcity/test/platform_tests/PlatformPythonTestsLinux.kt
@@ -16,7 +16,7 @@ object PlatformPythonTestsLinux : BuildType({
name = "Platform Python Tests (Linux)"
params {
- text("PATH__WORKING_DIR",
"""%VCSROOT__IGNITE3%\modules\platforms\python""", display =
ParameterDisplay.HIDDEN, allowEmpty = true)
+ text("PATH__WORKING_DIR",
"""%VCSROOT__IGNITE3%\modules\platforms\python\dbapi""", display =
ParameterDisplay.HIDDEN, allowEmpty = true)
param("env.IGNITE_CPP_TESTS_USE_SINGLE_NODE", "")
param("env.CPP_STAGING", """%PATH__WORKING_DIR%\cpp_staging""")
param("TOX_ENV", "py310")
diff --git a/modules/platforms/build.gradle b/modules/platforms/build.gradle
index 008b6f96359..85f0f723760 100644
--- a/modules/platforms/build.gradle
+++ b/modules/platforms/build.gradle
@@ -309,6 +309,6 @@ private void updateDotnetVersion(String version) {
}
private void updatePythonVersion(String version) {
- def versionFile = file("$projectDir/python/pyignite_dbapi/_version.txt")
+ def versionFile =
file("$projectDir/python/dbapi/pyignite_dbapi/_version.txt")
versionFile.text = pythonProjectVersion(version)
}
diff --git a/modules/platforms/python/.gitignore
b/modules/platforms/python/dbapi/.gitignore
similarity index 100%
rename from modules/platforms/python/.gitignore
rename to modules/platforms/python/dbapi/.gitignore
diff --git a/modules/platforms/python/CMakeLists.txt
b/modules/platforms/python/dbapi/CMakeLists.txt
similarity index 95%
rename from modules/platforms/python/CMakeLists.txt
rename to modules/platforms/python/dbapi/CMakeLists.txt
index 2a8c337c4cc..4f659bdda8e 100644
--- a/modules/platforms/python/CMakeLists.txt
+++ b/modules/platforms/python/dbapi/CMakeLists.txt
@@ -42,8 +42,8 @@ set(ENABLE_UB_SANITIZER OFF)
set(WARNINGS_AS_ERRORS OFF)
set(BUILD_SHARED_LIBS OFF)
-if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../cpp)
- set(IGNITE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../cpp)
+if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../../cpp)
+ set(IGNITE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../cpp)
else()
set(IGNITE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/cpp)
endif()
diff --git a/modules/platforms/python/LICENSE
b/modules/platforms/python/dbapi/LICENSE
similarity index 100%
rename from modules/platforms/python/LICENSE
rename to modules/platforms/python/dbapi/LICENSE
diff --git a/modules/platforms/python/MANIFEST.in
b/modules/platforms/python/dbapi/MANIFEST.in
similarity index 100%
rename from modules/platforms/python/MANIFEST.in
rename to modules/platforms/python/dbapi/MANIFEST.in
diff --git a/modules/platforms/python/NOTICE
b/modules/platforms/python/dbapi/NOTICE
similarity index 100%
rename from modules/platforms/python/NOTICE
rename to modules/platforms/python/dbapi/NOTICE
diff --git a/modules/platforms/python/README.md
b/modules/platforms/python/dbapi/README.md
similarity index 100%
rename from modules/platforms/python/README.md
rename to modules/platforms/python/dbapi/README.md
diff --git a/modules/platforms/python/cpp_module/CMakeLists.txt
b/modules/platforms/python/dbapi/cpp_module/CMakeLists.txt
similarity index 100%
rename from modules/platforms/python/cpp_module/CMakeLists.txt
rename to modules/platforms/python/dbapi/cpp_module/CMakeLists.txt
diff --git a/modules/platforms/python/cpp_module/cursor.h
b/modules/platforms/python/dbapi/cpp_module/cursor.h
similarity index 100%
rename from modules/platforms/python/cpp_module/cursor.h
rename to modules/platforms/python/dbapi/cpp_module/cursor.h
diff --git a/modules/platforms/python/cpp_module/module.cpp
b/modules/platforms/python/dbapi/cpp_module/module.cpp
similarity index 100%
rename from modules/platforms/python/cpp_module/module.cpp
rename to modules/platforms/python/dbapi/cpp_module/module.cpp
diff --git a/modules/platforms/python/cpp_module/module.h
b/modules/platforms/python/dbapi/cpp_module/module.h
similarity index 100%
rename from modules/platforms/python/cpp_module/module.h
rename to modules/platforms/python/dbapi/cpp_module/module.h
diff --git a/modules/platforms/python/cpp_module/node_connection.h
b/modules/platforms/python/dbapi/cpp_module/node_connection.h
similarity index 100%
rename from modules/platforms/python/cpp_module/node_connection.h
rename to modules/platforms/python/dbapi/cpp_module/node_connection.h
diff --git a/modules/platforms/python/cpp_module/py_connection.cpp
b/modules/platforms/python/dbapi/cpp_module/py_connection.cpp
similarity index 100%
rename from modules/platforms/python/cpp_module/py_connection.cpp
rename to modules/platforms/python/dbapi/cpp_module/py_connection.cpp
diff --git a/modules/platforms/python/cpp_module/py_connection.h
b/modules/platforms/python/dbapi/cpp_module/py_connection.h
similarity index 100%
rename from modules/platforms/python/cpp_module/py_connection.h
rename to modules/platforms/python/dbapi/cpp_module/py_connection.h
diff --git a/modules/platforms/python/cpp_module/py_cursor.cpp
b/modules/platforms/python/dbapi/cpp_module/py_cursor.cpp
similarity index 100%
rename from modules/platforms/python/cpp_module/py_cursor.cpp
rename to modules/platforms/python/dbapi/cpp_module/py_cursor.cpp
diff --git a/modules/platforms/python/cpp_module/py_cursor.h
b/modules/platforms/python/dbapi/cpp_module/py_cursor.h
similarity index 100%
rename from modules/platforms/python/cpp_module/py_cursor.h
rename to modules/platforms/python/dbapi/cpp_module/py_cursor.h
diff --git a/modules/platforms/python/cpp_module/py_object.h
b/modules/platforms/python/dbapi/cpp_module/py_object.h
similarity index 100%
rename from modules/platforms/python/cpp_module/py_object.h
rename to modules/platforms/python/dbapi/cpp_module/py_object.h
diff --git a/modules/platforms/python/cpp_module/py_string.h
b/modules/platforms/python/dbapi/cpp_module/py_string.h
similarity index 100%
rename from modules/platforms/python/cpp_module/py_string.h
rename to modules/platforms/python/dbapi/cpp_module/py_string.h
diff --git a/modules/platforms/python/cpp_module/result_page.h
b/modules/platforms/python/dbapi/cpp_module/result_page.h
similarity index 100%
rename from modules/platforms/python/cpp_module/result_page.h
rename to modules/platforms/python/dbapi/cpp_module/result_page.h
diff --git a/modules/platforms/python/cpp_module/ssl_config.h
b/modules/platforms/python/dbapi/cpp_module/ssl_config.h
similarity index 100%
rename from modules/platforms/python/cpp_module/ssl_config.h
rename to modules/platforms/python/dbapi/cpp_module/ssl_config.h
diff --git a/modules/platforms/python/cpp_module/statement.cpp
b/modules/platforms/python/dbapi/cpp_module/statement.cpp
similarity index 100%
rename from modules/platforms/python/cpp_module/statement.cpp
rename to modules/platforms/python/dbapi/cpp_module/statement.cpp
diff --git a/modules/platforms/python/cpp_module/statement.h
b/modules/platforms/python/dbapi/cpp_module/statement.h
similarity index 100%
rename from modules/platforms/python/cpp_module/statement.h
rename to modules/platforms/python/dbapi/cpp_module/statement.h
diff --git a/modules/platforms/python/cpp_module/type_conversion.h
b/modules/platforms/python/dbapi/cpp_module/type_conversion.h
similarity index 100%
rename from modules/platforms/python/cpp_module/type_conversion.h
rename to modules/platforms/python/dbapi/cpp_module/type_conversion.h
diff --git a/modules/platforms/python/cpp_module/utils.cpp
b/modules/platforms/python/dbapi/cpp_module/utils.cpp
similarity index 100%
rename from modules/platforms/python/cpp_module/utils.cpp
rename to modules/platforms/python/dbapi/cpp_module/utils.cpp
diff --git a/modules/platforms/python/cpp_module/utils.h
b/modules/platforms/python/dbapi/cpp_module/utils.h
similarity index 100%
rename from modules/platforms/python/cpp_module/utils.h
rename to modules/platforms/python/dbapi/cpp_module/utils.h
diff --git a/modules/platforms/python/docs/Makefile
b/modules/platforms/python/dbapi/docs/Makefile
similarity index 100%
rename from modules/platforms/python/docs/Makefile
rename to modules/platforms/python/dbapi/docs/Makefile
diff --git
a/modules/platforms/python/docs/_static/Apache_Ignite_logo_128x128.png
b/modules/platforms/python/dbapi/docs/_static/Apache_Ignite_logo_128x128.png
similarity index 100%
rename from modules/platforms/python/docs/_static/Apache_Ignite_logo_128x128.png
rename to
modules/platforms/python/dbapi/docs/_static/Apache_Ignite_logo_128x128.png
diff --git a/modules/platforms/python/docs/conf.py
b/modules/platforms/python/dbapi/docs/conf.py
similarity index 100%
rename from modules/platforms/python/docs/conf.py
rename to modules/platforms/python/dbapi/docs/conf.py
diff --git a/modules/platforms/python/docs/index.rst
b/modules/platforms/python/dbapi/docs/index.rst
similarity index 100%
rename from modules/platforms/python/docs/index.rst
rename to modules/platforms/python/dbapi/docs/index.rst
diff --git a/modules/platforms/python/docs/make.bat
b/modules/platforms/python/dbapi/docs/make.bat
similarity index 100%
rename from modules/platforms/python/docs/make.bat
rename to modules/platforms/python/dbapi/docs/make.bat
diff --git a/modules/platforms/python/pyignite_dbapi/__init__.py
b/modules/platforms/python/dbapi/pyignite_dbapi/__init__.py
similarity index 100%
rename from modules/platforms/python/pyignite_dbapi/__init__.py
rename to modules/platforms/python/dbapi/pyignite_dbapi/__init__.py
diff --git a/modules/platforms/python/pyignite_dbapi/_version.txt
b/modules/platforms/python/dbapi/pyignite_dbapi/_version.txt
similarity index 100%
rename from modules/platforms/python/pyignite_dbapi/_version.txt
rename to modules/platforms/python/dbapi/pyignite_dbapi/_version.txt
diff --git a/modules/platforms/python/pyignite_dbapi/native_type_code.py
b/modules/platforms/python/dbapi/pyignite_dbapi/native_type_code.py
similarity index 100%
rename from modules/platforms/python/pyignite_dbapi/native_type_code.py
rename to modules/platforms/python/dbapi/pyignite_dbapi/native_type_code.py
diff --git a/modules/platforms/python/requirements/docs.txt
b/modules/platforms/python/dbapi/requirements/docs.txt
similarity index 100%
rename from modules/platforms/python/requirements/docs.txt
rename to modules/platforms/python/dbapi/requirements/docs.txt
diff --git a/modules/platforms/python/requirements/install.txt
b/modules/platforms/python/dbapi/requirements/install.txt
similarity index 100%
rename from modules/platforms/python/requirements/install.txt
rename to modules/platforms/python/dbapi/requirements/install.txt
diff --git a/modules/platforms/python/requirements/tests.txt
b/modules/platforms/python/dbapi/requirements/tests.txt
similarity index 100%
rename from modules/platforms/python/requirements/tests.txt
rename to modules/platforms/python/dbapi/requirements/tests.txt
diff --git a/modules/platforms/python/scripts/BuildWheels.ps1
b/modules/platforms/python/dbapi/scripts/BuildWheels.ps1
similarity index 100%
rename from modules/platforms/python/scripts/BuildWheels.ps1
rename to modules/platforms/python/dbapi/scripts/BuildWheels.ps1
diff --git a/modules/platforms/python/scripts/Dockerfile
b/modules/platforms/python/dbapi/scripts/Dockerfile
similarity index 100%
rename from modules/platforms/python/scripts/Dockerfile
rename to modules/platforms/python/dbapi/scripts/Dockerfile
diff --git a/modules/platforms/python/scripts/build_wheels.sh
b/modules/platforms/python/dbapi/scripts/build_wheels.sh
old mode 100755
new mode 100644
similarity index 100%
rename from modules/platforms/python/scripts/build_wheels.sh
rename to modules/platforms/python/dbapi/scripts/build_wheels.sh
diff --git a/modules/platforms/python/scripts/create_distr.sh
b/modules/platforms/python/dbapi/scripts/create_distr.sh
old mode 100755
new mode 100644
similarity index 100%
rename from modules/platforms/python/scripts/create_distr.sh
rename to modules/platforms/python/dbapi/scripts/create_distr.sh
diff --git a/modules/platforms/python/scripts/create_sdist.sh
b/modules/platforms/python/dbapi/scripts/create_sdist.sh
old mode 100755
new mode 100644
similarity index 100%
rename from modules/platforms/python/scripts/create_sdist.sh
rename to modules/platforms/python/dbapi/scripts/create_sdist.sh
diff --git a/modules/platforms/python/setup.py
b/modules/platforms/python/dbapi/setup.py
similarity index 99%
rename from modules/platforms/python/setup.py
rename to modules/platforms/python/dbapi/setup.py
index dd87b52bea4..6478a4cb2f2 100644
--- a/modules/platforms/python/setup.py
+++ b/modules/platforms/python/dbapi/setup.py
@@ -139,7 +139,7 @@ def run_setup():
description='Apache Ignite 3 DB API Driver',
long_description=long_description,
long_description_content_type='text/markdown',
-
url='https://github.com/apache/ignite-3/tree/main/modules/platforms/python',
+
url='https://github.com/apache/ignite-3/tree/main/modules/platforms/python/dbapi',
packages=setuptools.find_packages(),
include_package_data=True,
ext_modules=[CMakeExtension(EXTENSION_NAME)],
diff --git a/modules/platforms/python/tests/__init__.py
b/modules/platforms/python/dbapi/tests/__init__.py
similarity index 100%
rename from modules/platforms/python/tests/__init__.py
rename to modules/platforms/python/dbapi/tests/__init__.py
diff --git a/modules/platforms/python/tests/conftest.py
b/modules/platforms/python/dbapi/tests/conftest.py
similarity index 100%
rename from modules/platforms/python/tests/conftest.py
rename to modules/platforms/python/dbapi/tests/conftest.py
diff --git a/modules/platforms/python/tests/ssl/ca.pem
b/modules/platforms/python/dbapi/tests/ssl/ca.pem
similarity index 100%
rename from modules/platforms/python/tests/ssl/ca.pem
rename to modules/platforms/python/dbapi/tests/ssl/ca.pem
diff --git a/modules/platforms/python/tests/ssl/client.pem
b/modules/platforms/python/dbapi/tests/ssl/client.pem
similarity index 100%
rename from modules/platforms/python/tests/ssl/client.pem
rename to modules/platforms/python/dbapi/tests/ssl/client.pem
diff --git a/modules/platforms/python/tests/ssl/client_unknown.pem
b/modules/platforms/python/dbapi/tests/ssl/client_unknown.pem
similarity index 100%
rename from modules/platforms/python/tests/ssl/client_unknown.pem
rename to modules/platforms/python/dbapi/tests/ssl/client_unknown.pem
diff --git a/modules/platforms/python/tests/test_connect.py
b/modules/platforms/python/dbapi/tests/test_connect.py
similarity index 100%
rename from modules/platforms/python/tests/test_connect.py
rename to modules/platforms/python/dbapi/tests/test_connect.py
diff --git a/modules/platforms/python/tests/test_dbapi_compliance.py
b/modules/platforms/python/dbapi/tests/test_dbapi_compliance.py
similarity index 100%
rename from modules/platforms/python/tests/test_dbapi_compliance.py
rename to modules/platforms/python/dbapi/tests/test_dbapi_compliance.py
diff --git a/modules/platforms/python/tests/test_errors.py
b/modules/platforms/python/dbapi/tests/test_errors.py
similarity index 100%
rename from modules/platforms/python/tests/test_errors.py
rename to modules/platforms/python/dbapi/tests/test_errors.py
diff --git a/modules/platforms/python/tests/test_execute.py
b/modules/platforms/python/dbapi/tests/test_execute.py
similarity index 100%
rename from modules/platforms/python/tests/test_execute.py
rename to modules/platforms/python/dbapi/tests/test_execute.py
diff --git a/modules/platforms/python/tests/test_executemany.py
b/modules/platforms/python/dbapi/tests/test_executemany.py
similarity index 100%
rename from modules/platforms/python/tests/test_executemany.py
rename to modules/platforms/python/dbapi/tests/test_executemany.py
diff --git a/modules/platforms/python/tests/test_fetch_constants.py
b/modules/platforms/python/dbapi/tests/test_fetch_constants.py
similarity index 100%
rename from modules/platforms/python/tests/test_fetch_constants.py
rename to modules/platforms/python/dbapi/tests/test_fetch_constants.py
diff --git a/modules/platforms/python/tests/test_fetch_parameters.py
b/modules/platforms/python/dbapi/tests/test_fetch_parameters.py
similarity index 100%
rename from modules/platforms/python/tests/test_fetch_parameters.py
rename to modules/platforms/python/dbapi/tests/test_fetch_parameters.py
diff --git a/modules/platforms/python/tests/test_fetch_table.py
b/modules/platforms/python/dbapi/tests/test_fetch_table.py
similarity index 100%
rename from modules/platforms/python/tests/test_fetch_table.py
rename to modules/platforms/python/dbapi/tests/test_fetch_table.py
diff --git a/modules/platforms/python/tests/test_ssl.py
b/modules/platforms/python/dbapi/tests/test_ssl.py
similarity index 100%
rename from modules/platforms/python/tests/test_ssl.py
rename to modules/platforms/python/dbapi/tests/test_ssl.py
diff --git a/modules/platforms/python/tests/test_transactions.py
b/modules/platforms/python/dbapi/tests/test_transactions.py
similarity index 100%
rename from modules/platforms/python/tests/test_transactions.py
rename to modules/platforms/python/dbapi/tests/test_transactions.py
diff --git a/modules/platforms/python/tests/util.py
b/modules/platforms/python/dbapi/tests/util.py
similarity index 99%
rename from modules/platforms/python/tests/util.py
rename to modules/platforms/python/dbapi/tests/util.py
index ff098fd7994..e6212f793f3 100644
--- a/modules/platforms/python/tests/util.py
+++ b/modules/platforms/python/dbapi/tests/util.py
@@ -58,7 +58,7 @@ def get_test_dir():
def get_proj_dir():
- return os.path.abspath(os.path.join(get_test_dir(), "..", "..", "..",
".."))
+ return os.path.abspath(os.path.join(get_test_dir(), "..", "..", "..",
"..", ".."))
def get_ignite_dirs():
diff --git a/modules/platforms/python/tox.ini
b/modules/platforms/python/dbapi/tox.ini
similarity index 100%
rename from modules/platforms/python/tox.ini
rename to modules/platforms/python/dbapi/tox.ini