mcp-postgresql-ops 3.2.5__tar.gz → 3.2.6__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 (19) hide show
  1. {mcp_postgresql_ops-3.2.5/src/mcp_postgresql_ops.egg-info → mcp_postgresql_ops-3.2.6}/PKG-INFO +40 -3
  2. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6}/README.md +39 -2
  3. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6}/pyproject.toml +1 -1
  4. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6/src/mcp_postgresql_ops.egg-info}/PKG-INFO +40 -3
  5. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6}/LICENSE +0 -0
  6. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6}/MANIFEST.in +0 -0
  7. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6}/setup.cfg +0 -0
  8. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6}/src/mcp_postgresql_ops/__init__.py +0 -0
  9. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6}/src/mcp_postgresql_ops/__main__.py +0 -0
  10. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6}/src/mcp_postgresql_ops/functions.py +0 -0
  11. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6}/src/mcp_postgresql_ops/mcp_main.py +0 -0
  12. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6}/src/mcp_postgresql_ops/version_compat.py +0 -0
  13. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6}/src/mcp_postgresql_ops.egg-info/SOURCES.txt +0 -0
  14. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6}/src/mcp_postgresql_ops.egg-info/dependency_links.txt +0 -0
  15. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6}/src/mcp_postgresql_ops.egg-info/entry_points.txt +0 -0
  16. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6}/src/mcp_postgresql_ops.egg-info/requires.txt +0 -0
  17. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6}/src/mcp_postgresql_ops.egg-info/top_level.txt +0 -0
  18. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6}/tests/test_tools_integration.py +0 -0
  19. {mcp_postgresql_ops-3.2.5 → mcp_postgresql_ops-3.2.6}/tests/test_version_compat.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcp-postgresql-ops
3
- Version: 3.2.5
3
+ Version: 3.2.6
4
4
  Summary: Add your description here
5
5
  Author-email: JungJungIn <call518@gmail.com>
6
6
  Requires-Python: >=3.12
@@ -946,9 +946,46 @@ mcp-postgresql-ops --log-level DEBUG
946
946
 
947
947
  # Test version compatibility (requires different PostgreSQL versions)
948
948
  # Modify POSTGRES_HOST in .env to point to different versions
949
+ ```
950
+
951
+ ### Running Tests
952
+
953
+ Two test suites are available:
954
+
955
+ | Suite | File | Requires Docker |
956
+ |-------|------|----------------|
957
+ | Unit tests (version compatibility logic) | `tests/test_version_compat.py` | No |
958
+ | Integration tests (all tools × PG 12–18) | `tests/test_tools_integration.py` | Yes |
959
+
960
+ #### Option A — Run everything with a single command (recommended)
961
+
962
+ `uv run pytest` automatically starts the Docker test containers (PG 12–18), waits for them to be fully initialized, runs all tests, then tears everything down.
963
+
964
+ ```bash
965
+ # Run all tests (unit + integration) — Docker is managed automatically
966
+ uv run pytest -v
967
+
968
+ # Unit tests only (no Docker needed)
969
+ uv run pytest tests/test_version_compat.py -v
970
+
971
+ # Integration tests only
972
+ uv run pytest tests/test_tools_integration.py -v
973
+ ```
974
+
975
+ #### Option B — Manual control via helper script
976
+
977
+ ```bash
978
+ # Full run: docker up → wait → pytest → docker down
979
+ uv run python scripts/run-tests.py
980
+
981
+ # Pass pytest options directly
982
+ uv run python scripts/run-tests.py -v --tb=short
983
+
984
+ # Keep containers running after tests (for debugging)
985
+ uv run python scripts/run-tests.py --no-cleanup
986
+ ```
949
987
 
950
- # Run tests (if you add any)
951
- uv run pytest
988
+ > **Note**: Docker must be running. The test stack uses ports 5412–5418 (PG 12–18).
952
989
  ```
953
990
 
954
991
  ### Version Compatibility Testing
@@ -930,9 +930,46 @@ mcp-postgresql-ops --log-level DEBUG
930
930
 
931
931
  # Test version compatibility (requires different PostgreSQL versions)
932
932
  # Modify POSTGRES_HOST in .env to point to different versions
933
+ ```
934
+
935
+ ### Running Tests
936
+
937
+ Two test suites are available:
938
+
939
+ | Suite | File | Requires Docker |
940
+ |-------|------|----------------|
941
+ | Unit tests (version compatibility logic) | `tests/test_version_compat.py` | No |
942
+ | Integration tests (all tools × PG 12–18) | `tests/test_tools_integration.py` | Yes |
943
+
944
+ #### Option A — Run everything with a single command (recommended)
945
+
946
+ `uv run pytest` automatically starts the Docker test containers (PG 12–18), waits for them to be fully initialized, runs all tests, then tears everything down.
947
+
948
+ ```bash
949
+ # Run all tests (unit + integration) — Docker is managed automatically
950
+ uv run pytest -v
951
+
952
+ # Unit tests only (no Docker needed)
953
+ uv run pytest tests/test_version_compat.py -v
954
+
955
+ # Integration tests only
956
+ uv run pytest tests/test_tools_integration.py -v
957
+ ```
958
+
959
+ #### Option B — Manual control via helper script
960
+
961
+ ```bash
962
+ # Full run: docker up → wait → pytest → docker down
963
+ uv run python scripts/run-tests.py
964
+
965
+ # Pass pytest options directly
966
+ uv run python scripts/run-tests.py -v --tb=short
967
+
968
+ # Keep containers running after tests (for debugging)
969
+ uv run python scripts/run-tests.py --no-cleanup
970
+ ```
933
971
 
934
- # Run tests (if you add any)
935
- uv run pytest
972
+ > **Note**: Docker must be running. The test stack uses ports 5412–5418 (PG 12–18).
936
973
  ```
937
974
 
938
975
  ### Version Compatibility Testing
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "mcp-postgresql-ops"
3
- version = "3.2.5"
3
+ version = "3.2.6"
4
4
  description = "Add your description here"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcp-postgresql-ops
3
- Version: 3.2.5
3
+ Version: 3.2.6
4
4
  Summary: Add your description here
5
5
  Author-email: JungJungIn <call518@gmail.com>
6
6
  Requires-Python: >=3.12
@@ -946,9 +946,46 @@ mcp-postgresql-ops --log-level DEBUG
946
946
 
947
947
  # Test version compatibility (requires different PostgreSQL versions)
948
948
  # Modify POSTGRES_HOST in .env to point to different versions
949
+ ```
950
+
951
+ ### Running Tests
952
+
953
+ Two test suites are available:
954
+
955
+ | Suite | File | Requires Docker |
956
+ |-------|------|----------------|
957
+ | Unit tests (version compatibility logic) | `tests/test_version_compat.py` | No |
958
+ | Integration tests (all tools × PG 12–18) | `tests/test_tools_integration.py` | Yes |
959
+
960
+ #### Option A — Run everything with a single command (recommended)
961
+
962
+ `uv run pytest` automatically starts the Docker test containers (PG 12–18), waits for them to be fully initialized, runs all tests, then tears everything down.
963
+
964
+ ```bash
965
+ # Run all tests (unit + integration) — Docker is managed automatically
966
+ uv run pytest -v
967
+
968
+ # Unit tests only (no Docker needed)
969
+ uv run pytest tests/test_version_compat.py -v
970
+
971
+ # Integration tests only
972
+ uv run pytest tests/test_tools_integration.py -v
973
+ ```
974
+
975
+ #### Option B — Manual control via helper script
976
+
977
+ ```bash
978
+ # Full run: docker up → wait → pytest → docker down
979
+ uv run python scripts/run-tests.py
980
+
981
+ # Pass pytest options directly
982
+ uv run python scripts/run-tests.py -v --tb=short
983
+
984
+ # Keep containers running after tests (for debugging)
985
+ uv run python scripts/run-tests.py --no-cleanup
986
+ ```
949
987
 
950
- # Run tests (if you add any)
951
- uv run pytest
988
+ > **Note**: Docker must be running. The test stack uses ports 5412–5418 (PG 12–18).
952
989
  ```
953
990
 
954
991
  ### Version Compatibility Testing