testgres-exts.pglab 0.1.0__tar.gz → 0.1.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.
Files changed (17) hide show
  1. {testgres_exts_pglab-0.1.0/testgres_exts.pglab.egg-info → testgres_exts_pglab-0.1.1}/PKG-INFO +13 -7
  2. {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.1}/README.md +8 -4
  3. {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.1}/pyproject.toml +27 -15
  4. {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.1}/src/__init__.py +1 -1
  5. {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.1/testgres_exts.pglab.egg-info}/PKG-INFO +13 -7
  6. {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.1}/testgres_exts.pglab.egg-info/requires.txt +1 -1
  7. {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.1}/LICENSE +0 -0
  8. {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.1}/setup.cfg +0 -0
  9. {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.1}/testgres_exts.pglab.egg-info/SOURCES.txt +0 -0
  10. {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.1}/testgres_exts.pglab.egg-info/dependency_links.txt +0 -0
  11. {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.1}/testgres_exts.pglab.egg-info/top_level.txt +0 -0
  12. {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.1}/tests/test_compat.py +0 -0
  13. {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.1}/tests/test_pglab.py +0 -0
  14. {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.1}/tests/test_pglab_compat.py +0 -0
  15. {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.1}/tests/test_pglab_faults.py +0 -0
  16. {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.1}/tests/test_pglab_netem.py +0 -0
  17. {testgres_exts_pglab-0.1.0 → testgres_exts_pglab-0.1.1}/tests/test_pglab_netem_effects.py +0 -0
@@ -1,8 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testgres_exts.pglab
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Linux netns/cgroup/netem fault injection for PostgreSQL tests using Testgres
5
- License-Expression: PostgreSQL
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
@@ -21,12 +23,12 @@ Description-Content-Type: text/markdown
21
23
  License-File: LICENSE
22
24
  Requires-Dist: testgres<1.18,>=1.17
23
25
  Provides-Extra: test
24
- Requires-Dist: pytest<10,>=8; extra == "test"
26
+ Requires-Dist: pytest; extra == "test"
25
27
  Dynamic: license-file
26
28
 
27
29
  [![CI Status](https://img.shields.io/github/actions/workflow/status/postgrespro/testgres_exts.pglab/.github/workflows/ci.yml?label=CI)](https://github.com/postgrespro/testgres_exts.pglab/actions/workflows/ci.yml)
28
- [![PyPI package version](https://badge.fury.io/py/testgres_exts_pglab.svg)](https://badge.fury.io/py/testgres_exts.pglab)
29
- [![PyPI python versions](https://img.shields.io/pypi/pyversions/testgres_exts_pglab)](https://pypi.org/project/testgres-exts.pglab)
30
+ [![PyPI package version](https://badge.fury.io/py/testgres-exts-pglab.svg)](https://badge.fury.io/py/testgres-exts.pglab)
31
+ [![PyPI python versions](https://img.shields.io/pypi/pyversions/testgres-exts-pglab)](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
  [![CI Status](https://img.shields.io/github/actions/workflow/status/postgrespro/testgres_exts.pglab/.github/workflows/ci.yml?label=CI)](https://github.com/postgrespro/testgres_exts.pglab/actions/workflows/ci.yml)
2
- [![PyPI package version](https://badge.fury.io/py/testgres_exts_pglab.svg)](https://badge.fury.io/py/testgres_exts.pglab)
3
- [![PyPI python versions](https://img.shields.io/pypi/pyversions/testgres_exts_pglab)](https://pypi.org/project/testgres-exts.pglab)
2
+ [![PyPI package version](https://badge.fury.io/py/testgres-exts-pglab.svg)](https://badge.fury.io/py/testgres-exts.pglab)
3
+ [![PyPI python versions](https://img.shields.io/pypi/pyversions/testgres-exts-pglab)](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
- requires-python = ">=3.8"
17
- license = "PostgreSQL"
18
- dependencies = [
19
- "testgres>=1.17,<1.18",
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.18",
55
+ ]
56
+
37
57
  [project.optional-dependencies]
38
58
  test = [
39
- "pytest>=8,<10",
59
+ "pytest",
40
60
  ]
41
61
 
42
- [tool.flake8]
43
- extend-ignore = ["E501"]
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"
@@ -20,7 +20,7 @@ from testgres.operations.local_ops import LocalOperations
20
20
  import tempfile
21
21
 
22
22
 
23
- __version__ = "0.1.0"
23
+ __version__ = "0.1.1"
24
24
 
25
25
 
26
26
  class PgLabError(RuntimeError):
@@ -1,8 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testgres_exts.pglab
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Linux netns/cgroup/netem fault injection for PostgreSQL tests using Testgres
5
- License-Expression: PostgreSQL
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
@@ -21,12 +23,12 @@ Description-Content-Type: text/markdown
21
23
  License-File: LICENSE
22
24
  Requires-Dist: testgres<1.18,>=1.17
23
25
  Provides-Extra: test
24
- Requires-Dist: pytest<10,>=8; extra == "test"
26
+ Requires-Dist: pytest; extra == "test"
25
27
  Dynamic: license-file
26
28
 
27
29
  [![CI Status](https://img.shields.io/github/actions/workflow/status/postgrespro/testgres_exts.pglab/.github/workflows/ci.yml?label=CI)](https://github.com/postgrespro/testgres_exts.pglab/actions/workflows/ci.yml)
28
- [![PyPI package version](https://badge.fury.io/py/testgres_exts_pglab.svg)](https://badge.fury.io/py/testgres_exts.pglab)
29
- [![PyPI python versions](https://img.shields.io/pypi/pyversions/testgres_exts_pglab)](https://pypi.org/project/testgres-exts.pglab)
30
+ [![PyPI package version](https://badge.fury.io/py/testgres-exts-pglab.svg)](https://badge.fury.io/py/testgres-exts.pglab)
31
+ [![PyPI python versions](https://img.shields.io/pypi/pyversions/testgres-exts-pglab)](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,4 +1,4 @@
1
1
  testgres<1.18,>=1.17
2
2
 
3
3
  [test]
4
- pytest<10,>=8
4
+ pytest