pytest-databases 0.15.0__tar.gz → 0.15.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/.github/workflows/cd.yaml +1 -1
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/.github/workflows/ci.yaml +7 -7
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/.github/workflows/docs.yml +2 -2
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/.github/workflows/release.yaml +2 -2
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/PKG-INFO +1 -1
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/pyproject.toml +2 -2
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/docker/mysql.py +3 -2
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/uv.lock +4 -2
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/.github/CODEOWNERS +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/.github/dependabot.yaml +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/.github/workflows/pr-title.yaml +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/.gitignore +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/.pre-commit-config.yaml +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/.sourcery.yaml +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/.vscode/launch.json +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/.vscode/settings.json +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/CODEOWNERS +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/CONTRIBUTING.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/LICENSE +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/Makefile +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/README.md +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/.gitignore +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/__init__.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/_static/.gitkeep +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/_static/custom.css +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/_static/logo.svg +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/changelog.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/conf.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/contribution-guide.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/getting-started/basic-usage.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/getting-started/configuration.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/getting-started/enabling-plugins.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/getting-started/index.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/getting-started/installation.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/getting-started/next-steps.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/index.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/supported-databases/azure_blob_storage.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/supported-databases/bigquery.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/supported-databases/cockroachdb.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/supported-databases/elasticsearch.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/supported-databases/index.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/supported-databases/mariadb.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/supported-databases/minio.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/supported-databases/mysql.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/supported-databases/oracle.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/supported-databases/postgres.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/supported-databases/redis.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/supported-databases/spanner.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/supported-databases/sqlserver.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/supported-databases/valkey.rst +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/scripts/__init__.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/scripts/build_docs.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/scripts/convert_docs.sh +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/scripts/install-hatch.sh +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/sonar-project.properties +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/__init__.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/__metadata__.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/_service.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/docker/__init__.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/docker/azure_blob.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/docker/bigquery.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/docker/cockroachdb.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/docker/elastic_search.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/docker/mariadb.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/docker/minio.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/docker/mssql.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/docker/oracle.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/docker/postgres.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/docker/redis.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/docker/spanner.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/docker/valkey.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/helpers.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/py.typed +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/types.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/tests/__init__.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/tests/conftest.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/tests/test_azure_blob.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/tests/test_bigquery.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/tests/test_cockroachdb.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/tests/test_elasticsearch.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/tests/test_mariadb.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/tests/test_minio.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/tests/test_mssql.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/tests/test_mysql.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/tests/test_oracle.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/tests/test_postgres.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/tests/test_redis.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/tests/test_spanner.py +0 -0
- {pytest_databases-0.15.0 → pytest_databases-0.15.1}/tests/test_valkey.py +0 -0
|
@@ -26,7 +26,7 @@ jobs:
|
|
|
26
26
|
cdist-group: [1, 2, 3]
|
|
27
27
|
|
|
28
28
|
steps:
|
|
29
|
-
- uses: actions/checkout@
|
|
29
|
+
- uses: actions/checkout@v6
|
|
30
30
|
|
|
31
31
|
- name: Install additional dependencies
|
|
32
32
|
run: sudo apt-get update && sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 libmariadb-dev && sudo apt-get autoremove -y && sudo apt-get clean -y
|
|
@@ -37,7 +37,7 @@ jobs:
|
|
|
37
37
|
python-version: ${{ matrix.python-version }}
|
|
38
38
|
|
|
39
39
|
- name: Install uv
|
|
40
|
-
uses: astral-sh/setup-uv@
|
|
40
|
+
uses: astral-sh/setup-uv@v7
|
|
41
41
|
|
|
42
42
|
- name: Intall dependencies
|
|
43
43
|
run: uv sync --frozen
|
|
@@ -51,14 +51,14 @@ jobs:
|
|
|
51
51
|
run: uv run pytest --cdist-group=${{ matrix.cdist-group }}/3 -k "not elasticsearch"
|
|
52
52
|
|
|
53
53
|
- if: matrix.python-version == '3.12'
|
|
54
|
-
uses: actions/upload-artifact@
|
|
54
|
+
uses: actions/upload-artifact@v6
|
|
55
55
|
with:
|
|
56
56
|
name: coverage-xml
|
|
57
57
|
path: coverage.xml
|
|
58
58
|
|
|
59
59
|
- if: matrix.python-version == '3.12'
|
|
60
60
|
name: Upload coverage reports to Codecov
|
|
61
|
-
uses: codecov/codecov-action@v5.5.
|
|
61
|
+
uses: codecov/codecov-action@v5.5.2
|
|
62
62
|
with:
|
|
63
63
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
64
64
|
slug: litestar-org/pytest-databases
|
|
@@ -70,7 +70,7 @@ jobs:
|
|
|
70
70
|
- name: Install additional dependencies
|
|
71
71
|
run: sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 libmariadb-dev
|
|
72
72
|
|
|
73
|
-
- uses: actions/checkout@
|
|
73
|
+
- uses: actions/checkout@v6
|
|
74
74
|
|
|
75
75
|
- name: Set up Python
|
|
76
76
|
uses: actions/setup-python@v6
|
|
@@ -78,7 +78,7 @@ jobs:
|
|
|
78
78
|
python-version: 3.9
|
|
79
79
|
|
|
80
80
|
- name: Install uv
|
|
81
|
-
uses: astral-sh/setup-uv@
|
|
81
|
+
uses: astral-sh/setup-uv@v7
|
|
82
82
|
|
|
83
83
|
- name: Intall dependencies
|
|
84
84
|
run: uv sync --frozen
|
|
@@ -94,7 +94,7 @@ jobs:
|
|
|
94
94
|
# runs-on: ubuntu-latest
|
|
95
95
|
# steps:
|
|
96
96
|
# - name: Check out repository
|
|
97
|
-
# uses: actions/checkout@
|
|
97
|
+
# uses: actions/checkout@v6
|
|
98
98
|
# with:
|
|
99
99
|
# fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
|
100
100
|
# - name: Download Artifacts
|
|
@@ -20,7 +20,7 @@ jobs:
|
|
|
20
20
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
21
21
|
runs-on: ubuntu-latest
|
|
22
22
|
steps:
|
|
23
|
-
- uses: actions/checkout@
|
|
23
|
+
- uses: actions/checkout@v6
|
|
24
24
|
|
|
25
25
|
- name: Install additional dependencies
|
|
26
26
|
run: sudo apt-get update && sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 libmariadb-dev && sudo apt-get autoremove -y && sudo apt-get clean -y
|
|
@@ -31,7 +31,7 @@ jobs:
|
|
|
31
31
|
python-version: 3.12
|
|
32
32
|
|
|
33
33
|
- name: Install uv
|
|
34
|
-
uses: astral-sh/setup-uv@
|
|
34
|
+
uses: astral-sh/setup-uv@v7
|
|
35
35
|
|
|
36
36
|
- name: Set up Python
|
|
37
37
|
run: uv python install 3.12
|
|
@@ -16,10 +16,10 @@ jobs:
|
|
|
16
16
|
run: sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 libmariadb-dev
|
|
17
17
|
|
|
18
18
|
- name: Check out repository
|
|
19
|
-
uses: actions/checkout@
|
|
19
|
+
uses: actions/checkout@v6
|
|
20
20
|
|
|
21
21
|
- name: Install uv
|
|
22
|
-
uses: astral-sh/setup-uv@
|
|
22
|
+
uses: astral-sh/setup-uv@v7
|
|
23
23
|
|
|
24
24
|
- name: Set up Python
|
|
25
25
|
run: uv python install 3.12
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pytest-databases
|
|
3
|
-
Version: 0.15.
|
|
3
|
+
Version: 0.15.1
|
|
4
4
|
Summary: Reusable database fixtures for any and all databases.
|
|
5
5
|
Project-URL: Documentation, https://github.com/litestar-org/pytest-databases#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/litestar-org/pytest-databases/issues
|
|
@@ -12,7 +12,7 @@ license = "MIT"
|
|
|
12
12
|
name = "pytest-databases"
|
|
13
13
|
readme = "README.md"
|
|
14
14
|
requires-python = ">=3.9"
|
|
15
|
-
version = "0.15.
|
|
15
|
+
version = "0.15.1"
|
|
16
16
|
#
|
|
17
17
|
authors = [{ name = "Cody Fincher", email = "cody@litestar.dev" }]
|
|
18
18
|
keywords = [
|
|
@@ -124,7 +124,7 @@ dev = [
|
|
|
124
124
|
allow_dirty = true
|
|
125
125
|
commit = false
|
|
126
126
|
commit_args = "--no-verify"
|
|
127
|
-
current_version = "0.15.
|
|
127
|
+
current_version = "0.15.1"
|
|
128
128
|
ignore_missing_files = false
|
|
129
129
|
ignore_missing_version = false
|
|
130
130
|
message = "chore(release): bump to `v{new_version}`"
|
|
@@ -57,8 +57,9 @@ def _provide_mysql_service(
|
|
|
57
57
|
database=database,
|
|
58
58
|
password=password,
|
|
59
59
|
)
|
|
60
|
-
except mysql.connector.errors.OperationalError as exc:
|
|
61
|
-
|
|
60
|
+
except (mysql.connector.errors.OperationalError, mysql.connector.errors.InterfaceError) as exc:
|
|
61
|
+
msg = getattr(exc, "msg", str(exc))
|
|
62
|
+
if "Lost connection" in msg:
|
|
62
63
|
return False
|
|
63
64
|
raise
|
|
64
65
|
|
|
@@ -811,7 +811,7 @@ name = "exceptiongroup"
|
|
|
811
811
|
version = "1.3.0"
|
|
812
812
|
source = { registry = "https://pypi.org/simple" }
|
|
813
813
|
dependencies = [
|
|
814
|
-
{ name = "typing-extensions", marker = "python_full_version < '3.
|
|
814
|
+
{ name = "typing-extensions", marker = "python_full_version < '3.11'" },
|
|
815
815
|
]
|
|
816
816
|
sdist = { url = "https://files.pythonhosted.org/packages/0b/9f/a65090624ecf468cdca03533906e7c69ed7588582240cfe7cc9e770b50eb/exceptiongroup-1.3.0.tar.gz", hash = "sha256:b241f5885f560bc56a59ee63ca4c6a8bfa46ae4ad651af316d4e81817bb9fd88", size = 29749, upload-time = "2025-05-10T17:42:51.123Z" }
|
|
817
817
|
wheels = [
|
|
@@ -2188,7 +2188,7 @@ wheels = [
|
|
|
2188
2188
|
|
|
2189
2189
|
[[package]]
|
|
2190
2190
|
name = "pytest-databases"
|
|
2191
|
-
version = "0.15.
|
|
2191
|
+
version = "0.15.1"
|
|
2192
2192
|
source = { editable = "." }
|
|
2193
2193
|
dependencies = [
|
|
2194
2194
|
{ name = "docker" },
|
|
@@ -2663,6 +2663,8 @@ wheels = [
|
|
|
2663
2663
|
{ url = "https://files.pythonhosted.org/packages/42/cd/85b422d24ee2096eaf6faa360c95ef9bdb59097d19b9624cebce4dd9bc2a/ruamel.yaml.clib-0.2.14-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:808c7190a0fe7ae7014c42f73897cf8e9ef14ff3aa533450e51b1e72ec5239ad", size = 725028, upload-time = "2025-09-22T19:51:19.782Z" },
|
|
2664
2664
|
{ url = "https://files.pythonhosted.org/packages/4d/ac/99e6e0ea2584f84f447069d0187fe411e9b5deb7e3ddecda25001cfc7a95/ruamel.yaml.clib-0.2.14-cp39-cp39-win32.whl", hash = "sha256:6d5472f63a31b042aadf5ed28dd3ef0523da49ac17f0463e10fda9c4a2773352", size = 100915, upload-time = "2025-09-22T19:51:21.764Z" },
|
|
2665
2665
|
{ url = "https://files.pythonhosted.org/packages/5d/8d/846e43369658958c99d959bb7774136fff9210f9017d91a4277818ceafbf/ruamel.yaml.clib-0.2.14-cp39-cp39-win_amd64.whl", hash = "sha256:8dd3c2cc49caa7a8d64b67146462aed6723a0495e44bf0aa0a2e94beaa8432f6", size = 118706, upload-time = "2025-09-22T19:51:20.878Z" },
|
|
2666
|
+
{ url = "https://files.pythonhosted.org/packages/e7/cd/150fdb96b8fab27fe08d8a59fe67554568727981806e6bc2677a16081ec7/ruamel_yaml_clib-0.2.14-cp314-cp314-win32.whl", hash = "sha256:9b4104bf43ca0cd4e6f738cb86326a3b2f6eef00f417bd1e7efb7bdffe74c539", size = 102394, upload-time = "2025-11-14T21:57:36.703Z" },
|
|
2667
|
+
{ url = "https://files.pythonhosted.org/packages/bd/e6/a3fa40084558c7e1dc9546385f22a93949c890a8b2e445b2ba43935f51da/ruamel_yaml_clib-0.2.14-cp314-cp314-win_amd64.whl", hash = "sha256:13997d7d354a9890ea1ec5937a219817464e5cc344805b37671562a401ca3008", size = 122673, upload-time = "2025-11-14T21:57:38.177Z" },
|
|
2666
2668
|
]
|
|
2667
2669
|
|
|
2668
2670
|
[[package]]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/getting-started/enabling-plugins.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/supported-databases/azure_blob_storage.rst
RENAMED
|
File without changes
|
|
File without changes
|
{pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/supported-databases/cockroachdb.rst
RENAMED
|
File without changes
|
{pytest_databases-0.15.0 → pytest_databases-0.15.1}/docs/supported-databases/elasticsearch.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/docker/azure_blob.py
RENAMED
|
File without changes
|
|
File without changes
|
{pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/docker/cockroachdb.py
RENAMED
|
File without changes
|
{pytest_databases-0.15.0 → pytest_databases-0.15.1}/src/pytest_databases/docker/elastic_search.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|