testgres-exts.pglab 0.1.0__tar.gz → 0.1.2__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.
- {testgres_exts_pglab-0.1.0/testgres_exts.pglab.egg-info → testgres_exts_pglab-0.1.2}/PKG-INFO +14 -8
- {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2}/README.md +8 -4
- {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2}/pyproject.toml +27 -15
- {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2}/src/__init__.py +1 -1
- {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2/testgres_exts.pglab.egg-info}/PKG-INFO +14 -8
- testgres_exts_pglab-0.1.2/testgres_exts.pglab.egg-info/requires.txt +4 -0
- testgres_exts_pglab-0.1.0/testgres_exts.pglab.egg-info/requires.txt +0 -4
- {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2}/LICENSE +0 -0
- {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2}/setup.cfg +0 -0
- {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2}/testgres_exts.pglab.egg-info/SOURCES.txt +0 -0
- {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2}/testgres_exts.pglab.egg-info/dependency_links.txt +0 -0
- {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2}/testgres_exts.pglab.egg-info/top_level.txt +0 -0
- {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2}/tests/test_compat.py +0 -0
- {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2}/tests/test_pglab.py +0 -0
- {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2}/tests/test_pglab_compat.py +0 -0
- {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2}/tests/test_pglab_faults.py +0 -0
- {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2}/tests/test_pglab_netem.py +0 -0
- {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2}/tests/test_pglab_netem_effects.py +0 -0
{testgres_exts_pglab-0.1.0/testgres_exts.pglab.egg-info → testgres_exts_pglab-0.1.2}/PKG-INFO
RENAMED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testgres_exts.pglab
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Linux netns/cgroup/netem fault injection for PostgreSQL tests using Testgres
|
|
5
|
-
|
|
5
|
+
Author-email: Postgres Professional <testgres@postgrespro.ru>
|
|
6
|
+
License: PostgreSQL
|
|
7
|
+
Project-URL: HomePage, https://github.com/postgrespro/testgres_exts.pglab
|
|
6
8
|
Classifier: Development Status :: 3 - Alpha
|
|
7
9
|
Classifier: Intended Audience :: Developers
|
|
8
10
|
Classifier: Operating System :: POSIX :: Linux
|
|
@@ -19,14 +21,14 @@ Classifier: Topic :: Database
|
|
|
19
21
|
Requires-Python: >=3.8
|
|
20
22
|
Description-Content-Type: text/markdown
|
|
21
23
|
License-File: LICENSE
|
|
22
|
-
Requires-Dist: testgres<1.
|
|
24
|
+
Requires-Dist: testgres<1.19,>=1.17
|
|
23
25
|
Provides-Extra: test
|
|
24
|
-
Requires-Dist: pytest
|
|
26
|
+
Requires-Dist: pytest; extra == "test"
|
|
25
27
|
Dynamic: license-file
|
|
26
28
|
|
|
27
29
|
[](https://github.com/postgrespro/testgres_exts.pglab/actions/workflows/ci.yml)
|
|
28
|
-
[](https://badge.fury.io/py/testgres-exts.pglab)
|
|
31
|
+
[](https://pypi.org/project/testgres-exts.pglab)
|
|
30
32
|
|
|
31
33
|
# PgLab
|
|
32
34
|
|
|
@@ -137,7 +139,7 @@ Check the host:
|
|
|
137
139
|
## Example
|
|
138
140
|
|
|
139
141
|
```python
|
|
140
|
-
from pglab import PgLab
|
|
142
|
+
from testgres_exts.pglab import PgLab
|
|
141
143
|
|
|
142
144
|
with PgLab(
|
|
143
145
|
pg_bin="/home/user/build/postgres/bin",
|
|
@@ -195,10 +197,10 @@ WAL-gap scenario.
|
|
|
195
197
|
## Project layout
|
|
196
198
|
|
|
197
199
|
```text
|
|
198
|
-
pglab.py PgLab implementation
|
|
199
200
|
pyproject.toml Python package metadata
|
|
200
201
|
example.py small usage example
|
|
201
202
|
smoke.py end-to-end smoke test
|
|
203
|
+
src/ PgLab implementation
|
|
202
204
|
tests/ integration and compatibility tests
|
|
203
205
|
scripts/doctor.sh environment diagnostics
|
|
204
206
|
scripts/run-tests.sh privileged test runner
|
|
@@ -215,3 +217,7 @@ corresponding Testgres execution-context API is being reviewed upstream.
|
|
|
215
217
|
## License
|
|
216
218
|
|
|
217
219
|
PgLab is distributed under the PostgreSQL License. See [`LICENSE`](LICENSE).
|
|
220
|
+
|
|
221
|
+
## Authors
|
|
222
|
+
|
|
223
|
+
[Postgres Professional](https://postgrespro.ru/about)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[](https://github.com/postgrespro/testgres_exts.pglab/actions/workflows/ci.yml)
|
|
2
|
-
[](https://badge.fury.io/py/testgres-exts.pglab)
|
|
3
|
+
[](https://pypi.org/project/testgres-exts.pglab)
|
|
4
4
|
|
|
5
5
|
# PgLab
|
|
6
6
|
|
|
@@ -111,7 +111,7 @@ Check the host:
|
|
|
111
111
|
## Example
|
|
112
112
|
|
|
113
113
|
```python
|
|
114
|
-
from pglab import PgLab
|
|
114
|
+
from testgres_exts.pglab import PgLab
|
|
115
115
|
|
|
116
116
|
with PgLab(
|
|
117
117
|
pg_bin="/home/user/build/postgres/bin",
|
|
@@ -169,10 +169,10 @@ WAL-gap scenario.
|
|
|
169
169
|
## Project layout
|
|
170
170
|
|
|
171
171
|
```text
|
|
172
|
-
pglab.py PgLab implementation
|
|
173
172
|
pyproject.toml Python package metadata
|
|
174
173
|
example.py small usage example
|
|
175
174
|
smoke.py end-to-end smoke test
|
|
175
|
+
src/ PgLab implementation
|
|
176
176
|
tests/ integration and compatibility tests
|
|
177
177
|
scripts/doctor.sh environment diagnostics
|
|
178
178
|
scripts/run-tests.sh privileged test runner
|
|
@@ -189,3 +189,7 @@ corresponding Testgres execution-context API is being reviewed upstream.
|
|
|
189
189
|
## License
|
|
190
190
|
|
|
191
191
|
PgLab is distributed under the PostgreSQL License. See [`LICENSE`](LICENSE).
|
|
192
|
+
|
|
193
|
+
## Authors
|
|
194
|
+
|
|
195
|
+
[Postgres Professional](https://postgrespro.ru/about)
|
|
@@ -8,16 +8,32 @@ build-backend = "setuptools.build_meta"
|
|
|
8
8
|
[tool.setuptools.dynamic]
|
|
9
9
|
version = {attr = "testgres_exts.pglab.__version__"}
|
|
10
10
|
|
|
11
|
+
[tool.flake8]
|
|
12
|
+
extend-ignore = ["E501"]
|
|
13
|
+
exclude = [".git", "__pycache__", "env", "venv"]
|
|
14
|
+
|
|
15
|
+
# Pytest settings
|
|
16
|
+
[tool.pytest.ini_options]
|
|
17
|
+
testpaths = ["tests"]
|
|
18
|
+
log_file_level = "NOTSET"
|
|
19
|
+
log_file_format = "%(levelname)8s [%(asctime)s] %(message)s"
|
|
20
|
+
log_file_date_format = "%Y-%m-%d %H:%M:%S"
|
|
21
|
+
|
|
11
22
|
[project]
|
|
12
23
|
name = "testgres_exts.pglab"
|
|
13
24
|
dynamic = ["version"]
|
|
14
25
|
description = "Linux netns/cgroup/netem fault injection for PostgreSQL tests using Testgres"
|
|
15
26
|
readme = "README.md"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
27
|
+
|
|
28
|
+
# This old format is used to ensure compatibility with Python 3.7.
|
|
29
|
+
license = {text = "PostgreSQL"}
|
|
30
|
+
|
|
31
|
+
authors = [
|
|
32
|
+
{name = "Postgres Professional", email = "testgres@postgrespro.ru"},
|
|
20
33
|
]
|
|
34
|
+
|
|
35
|
+
requires-python = ">=3.8"
|
|
36
|
+
|
|
21
37
|
classifiers = [
|
|
22
38
|
"Development Status :: 3 - Alpha",
|
|
23
39
|
"Intended Audience :: Developers",
|
|
@@ -34,18 +50,14 @@ classifiers = [
|
|
|
34
50
|
"Topic :: Database",
|
|
35
51
|
]
|
|
36
52
|
|
|
53
|
+
dependencies = [
|
|
54
|
+
"testgres>=1.17,<1.19",
|
|
55
|
+
]
|
|
56
|
+
|
|
37
57
|
[project.optional-dependencies]
|
|
38
58
|
test = [
|
|
39
|
-
"pytest
|
|
59
|
+
"pytest",
|
|
40
60
|
]
|
|
41
61
|
|
|
42
|
-
[
|
|
43
|
-
|
|
44
|
-
exclude = [".git", "__pycache__", "env", "venv"]
|
|
45
|
-
|
|
46
|
-
# Pytest settings
|
|
47
|
-
[tool.pytest.ini_options]
|
|
48
|
-
testpaths = ["tests"]
|
|
49
|
-
log_file_level = "NOTSET"
|
|
50
|
-
log_file_format = "%(levelname)8s [%(asctime)s] %(message)s"
|
|
51
|
-
log_file_date_format = "%Y-%m-%d %H:%M:%S"
|
|
62
|
+
[project.urls]
|
|
63
|
+
"HomePage" = "https://github.com/postgrespro/testgres_exts.pglab"
|
{testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2/testgres_exts.pglab.egg-info}/PKG-INFO
RENAMED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testgres_exts.pglab
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Linux netns/cgroup/netem fault injection for PostgreSQL tests using Testgres
|
|
5
|
-
|
|
5
|
+
Author-email: Postgres Professional <testgres@postgrespro.ru>
|
|
6
|
+
License: PostgreSQL
|
|
7
|
+
Project-URL: HomePage, https://github.com/postgrespro/testgres_exts.pglab
|
|
6
8
|
Classifier: Development Status :: 3 - Alpha
|
|
7
9
|
Classifier: Intended Audience :: Developers
|
|
8
10
|
Classifier: Operating System :: POSIX :: Linux
|
|
@@ -19,14 +21,14 @@ Classifier: Topic :: Database
|
|
|
19
21
|
Requires-Python: >=3.8
|
|
20
22
|
Description-Content-Type: text/markdown
|
|
21
23
|
License-File: LICENSE
|
|
22
|
-
Requires-Dist: testgres<1.
|
|
24
|
+
Requires-Dist: testgres<1.19,>=1.17
|
|
23
25
|
Provides-Extra: test
|
|
24
|
-
Requires-Dist: pytest
|
|
26
|
+
Requires-Dist: pytest; extra == "test"
|
|
25
27
|
Dynamic: license-file
|
|
26
28
|
|
|
27
29
|
[](https://github.com/postgrespro/testgres_exts.pglab/actions/workflows/ci.yml)
|
|
28
|
-
[](https://badge.fury.io/py/testgres-exts.pglab)
|
|
31
|
+
[](https://pypi.org/project/testgres-exts.pglab)
|
|
30
32
|
|
|
31
33
|
# PgLab
|
|
32
34
|
|
|
@@ -137,7 +139,7 @@ Check the host:
|
|
|
137
139
|
## Example
|
|
138
140
|
|
|
139
141
|
```python
|
|
140
|
-
from pglab import PgLab
|
|
142
|
+
from testgres_exts.pglab import PgLab
|
|
141
143
|
|
|
142
144
|
with PgLab(
|
|
143
145
|
pg_bin="/home/user/build/postgres/bin",
|
|
@@ -195,10 +197,10 @@ WAL-gap scenario.
|
|
|
195
197
|
## Project layout
|
|
196
198
|
|
|
197
199
|
```text
|
|
198
|
-
pglab.py PgLab implementation
|
|
199
200
|
pyproject.toml Python package metadata
|
|
200
201
|
example.py small usage example
|
|
201
202
|
smoke.py end-to-end smoke test
|
|
203
|
+
src/ PgLab implementation
|
|
202
204
|
tests/ integration and compatibility tests
|
|
203
205
|
scripts/doctor.sh environment diagnostics
|
|
204
206
|
scripts/run-tests.sh privileged test runner
|
|
@@ -215,3 +217,7 @@ corresponding Testgres execution-context API is being reviewed upstream.
|
|
|
215
217
|
## License
|
|
216
218
|
|
|
217
219
|
PgLab is distributed under the PostgreSQL License. See [`LICENSE`](LICENSE).
|
|
220
|
+
|
|
221
|
+
## Authors
|
|
222
|
+
|
|
223
|
+
[Postgres Professional](https://postgrespro.ru/about)
|
|
File without changes
|
|
File without changes
|
{testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2}/testgres_exts.pglab.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.2}/testgres_exts.pglab.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|