pytest-postgresql 6.0.0__tar.gz → 6.0.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 (39) hide show
  1. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/CHANGES.rst +16 -0
  2. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/PKG-INFO +2 -2
  3. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pyproject.toml +3 -3
  4. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql/__init__.py +1 -1
  5. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql/executor.py +4 -2
  6. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql.egg-info/PKG-INFO +2 -2
  7. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/AUTHORS.rst +0 -0
  8. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/CONTRIBUTING.rst +0 -0
  9. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/COPYING +0 -0
  10. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/COPYING.lesser +0 -0
  11. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/MANIFEST.in +0 -0
  12. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/README.rst +0 -0
  13. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql/config.py +0 -0
  14. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql/exceptions.py +0 -0
  15. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql/executor_noop.py +0 -0
  16. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql/factories/__init__.py +0 -0
  17. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql/factories/client.py +0 -0
  18. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql/factories/noprocess.py +0 -0
  19. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql/factories/process.py +0 -0
  20. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql/janitor.py +0 -0
  21. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql/loader.py +0 -0
  22. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql/plugin.py +0 -0
  23. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql/py.typed +0 -0
  24. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql/retry.py +0 -0
  25. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql.egg-info/SOURCES.txt +0 -0
  26. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql.egg-info/dependency_links.txt +0 -0
  27. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql.egg-info/entry_points.txt +0 -0
  28. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql.egg-info/requires.txt +0 -0
  29. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql.egg-info/top_level.txt +0 -0
  30. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/pytest_postgresql.egg-info/zip-safe +0 -0
  31. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/setup.cfg +0 -0
  32. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/tests/test_executor.py +0 -0
  33. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/tests/test_janitor.py +0 -0
  34. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/tests/test_loader.py +0 -0
  35. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/tests/test_noopexecutor.py +0 -0
  36. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/tests/test_postgres_options_plugin.py +0 -0
  37. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/tests/test_postgresql.py +0 -0
  38. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/tests/test_template_database.py +0 -0
  39. {pytest-postgresql-6.0.0 → pytest_postgresql-6.0.1}/tests/test_version.py +0 -0
@@ -3,6 +3,22 @@ CHANGELOG
3
3
 
4
4
  .. towncrier release notes start
5
5
 
6
+ 6.0.1 (2024-08-14)
7
+ ==================
8
+
9
+ Bugfixes
10
+ --------
11
+
12
+ - Fixed a long-standing bug, where calls to pg_ctl weren't getting `LC_*` and `LANG` envvars,
13
+ which caused issues on some systems not recognizing --auth parameter. (`#343 <https://github.com/ClearcodeHQ/pytest-postgresql/issues/343>`__)
14
+
15
+
16
+ Miscellaneus
17
+ ------------
18
+
19
+ - `#945 <https://github.com/ClearcodeHQ/pytest-postgresql/issues/945>`__
20
+
21
+
6
22
  6.0.0 (2024-03-11)
7
23
  ==================
8
24
 
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pytest-postgresql
3
- Version: 6.0.0
3
+ Version: 6.0.1
4
4
  Summary: Postgresql fixtures and fixture factories for Pytest.
5
5
  Author-email: Grzegorz Śliwiński <fizyk+pypi@fizyk.dev>
6
6
  Project-URL: Source, https://github.com/ClearcodeHQ/pytest-postgresql
7
7
  Project-URL: Bug Tracker, https://github.com/ClearcodeHQ/pytest-postgresql/issues
8
- Project-URL: Changelog, https://github.com/ClearcodeHQ/pytest-postgresql/blob/v6.0.0/CHANGES.rst
8
+ Project-URL: Changelog, https://github.com/ClearcodeHQ/pytest-postgresql/blob/v6.0.1/CHANGES.rst
9
9
  Keywords: tests,pytest,fixture,postgresql
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Environment :: Web Environment
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pytest-postgresql"
3
- version = "6.0.0"
3
+ version = "6.0.1"
4
4
  description = "Postgresql fixtures and fixture factories for Pytest."
5
5
  readme = "README.rst"
6
6
  keywords = ["tests", "pytest", "fixture", "postgresql"]
@@ -39,7 +39,7 @@ requires-python = ">= 3.8"
39
39
  [project.urls]
40
40
  "Source" = "https://github.com/ClearcodeHQ/pytest-postgresql"
41
41
  "Bug Tracker" = "https://github.com/ClearcodeHQ/pytest-postgresql/issues"
42
- "Changelog" = "https://github.com/ClearcodeHQ/pytest-postgresql/blob/v6.0.0/CHANGES.rst"
42
+ "Changelog" = "https://github.com/ClearcodeHQ/pytest-postgresql/blob/v6.0.1/CHANGES.rst"
43
43
 
44
44
  [project.entry-points."pytest11"]
45
45
  pytest_postgresql = "pytest_postgresql.plugin"
@@ -108,7 +108,7 @@ name = "Miscellaneus"
108
108
  showcontent = false
109
109
 
110
110
  [tool.tbump.version]
111
- current = "6.0.0"
111
+ current = "6.0.1"
112
112
 
113
113
  # Example of a semver regexp.
114
114
  # Make sure this matches current_version before
@@ -18,4 +18,4 @@
18
18
  # along with pytest-postgresql. If not, see <http://www.gnu.org/licenses/>.
19
19
  """Main module for pytest-postgresql."""
20
20
 
21
- __version__ = "6.0.0"
21
+ __version__ = "6.0.1"
@@ -177,11 +177,13 @@ class PostgreSQLExecutor(TCPExecutor):
177
177
  password_file.write(password)
178
178
  password_file.flush()
179
179
  init_directory += ["-o", " ".join(options)]
180
- subprocess.check_output(init_directory)
180
+ # Passing envvars to command to avoid weird MacOs error.
181
+ subprocess.check_output(init_directory, env=self._envvars)
181
182
  else:
182
183
  options += ["--auth=trust"]
183
184
  init_directory += ["-o", " ".join(options)]
184
- subprocess.check_output(init_directory)
185
+ # Passing envvars to command to avoid weird MacOs error.
186
+ subprocess.check_output(init_directory, env=self._envvars)
185
187
 
186
188
  self._directory_initialised = True
187
189
 
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pytest-postgresql
3
- Version: 6.0.0
3
+ Version: 6.0.1
4
4
  Summary: Postgresql fixtures and fixture factories for Pytest.
5
5
  Author-email: Grzegorz Śliwiński <fizyk+pypi@fizyk.dev>
6
6
  Project-URL: Source, https://github.com/ClearcodeHQ/pytest-postgresql
7
7
  Project-URL: Bug Tracker, https://github.com/ClearcodeHQ/pytest-postgresql/issues
8
- Project-URL: Changelog, https://github.com/ClearcodeHQ/pytest-postgresql/blob/v6.0.0/CHANGES.rst
8
+ Project-URL: Changelog, https://github.com/ClearcodeHQ/pytest-postgresql/blob/v6.0.1/CHANGES.rst
9
9
  Keywords: tests,pytest,fixture,postgresql
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Environment :: Web Environment