The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
chore(deps): drop unused pytest-postgresql dev dependency (#44056)
yuneng-jiange725832cd839
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 28538472a3f..0af12bd5318 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -136,7 +136,7 @@ If you're running broader test suites, proxy tests, or anything that touches Posmake install-test-deps```-This syncs the locked test environment used across the repo, including `psycopg` v3 plus `psycopg-binary` (used by `pytest-postgresql`), `psycopg2-binary` (used by some proxy E2E tests), and a generated Prisma client for DB-backed proxy tests, so pytest startup matches CI without manual package installs.+This syncs the locked test environment used across the repo, including `psycopg` v3 plus `psycopg-binary`, `psycopg2-binary` (used by some proxy E2E tests), and a generated Prisma client for DB-backed proxy tests, so pytest startup matches CI without manual package installs.### Running Linting and Formatting Checksdiff --git a/pyproject.toml b/pyproject.tomlindex 95523f9500a..2c5be546a65 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -205,10 +205,6 @@ dev = ["tomli==2.4.1; python_version < '3.11'","pytest-mock==3.15.1","pytest-asyncio==1.3.0",- "pytest-postgresql==7.0.2",- # pytest-postgresql imports psycopg v3 during pytest startup. Keep the base- # package and the binary wheel in the default dev environment so local- # pytest works without requiring a system libpq install."psycopg==3.3.3","psycopg-binary==3.3.3","pytest-xdist==3.8.0",diff --git a/tests/code_coverage_tests/liccheck.ini b/tests/code_coverage_tests/liccheck.iniindex 8a3e880043b..70c49c5c256 100644--- a/tests/code_coverage_tests/liccheck.ini+++ b/tests/code_coverage_tests/liccheck.ini@@ -154,7 +154,6 @@ pypdf: >=6.6.2 # BSD-3-Clause license - https://github.com/py-pdf/pypdf/blob/maihf-xet: >=1.4.2 # Apache 2.0 License - https://github.com/huggingface/xet-tools/blob/main/LICENSEpytest-asyncio: >=1.2.0 # Apache 2.0 licensepytest: >=9.0.3 # MIT license-pytest-postgresql: >=7.0.2 # LGPLv3+ licensepytest-xdist: >=3.8.0 # MIT Licenseruff: >=0.15.3 # MIT Licensetypes-requests: >=2.32.4.20260107 # Apache 2.0 license (typeshed)diff --git a/uv.lock b/uv.lockindex 2a052a1408c..c95a01de298 100644--- a/uv.lock+++ b/uv.lock@@ -4702,7 +4702,6 @@ dev = [{ name = "pytest-asyncio" },{ name = "pytest-cov" },{ name = "pytest-mock" },- { name = "pytest-postgresql" },{ name = "pytest-recording" },{ name = "pytest-rerunfailures" },{ name = "pytest-socket" },@@ -4916,7 +4915,6 @@ dev = [{ name = "pytest-asyncio", specifier = "==1.3.0" },{ name = "pytest-cov", specifier = "==5.0.0" },{ name = "pytest-mock", specifier = "==3.15.1" },- { name = "pytest-postgresql", specifier = "==7.0.2" },{ name = "pytest-recording", specifier = "==0.13.4" },{ name = "pytest-rerunfailures", specifier = "==15.1" },{ name = "pytest-socket", specifier = "==0.8.1" },@@ -5472,18 +5470,6 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", size = 9979, upload-time = "2022-08-14T12:40:09.779Z" },]-[[package]]-name = "mirakuru"-version = "3.0.2"-source = { registry = "https://pypi.org/simple" }-dependencies = [- { name = "psutil", marker = "sys_platform != 'cygwin'" },-]-sdist = { url = "https://files.pythonhosted.org/packages/53/23/db9034ba28c7d89a540ffb8ca789f70dc12079108ece1cd1762295d5c807/mirakuru-3.0.2.tar.gz", hash = "sha256:21192186a8680ea7567ca68170261df3785768b12962dd19fe8cccab15ad3441", size = 29338, upload-time = "2026-02-11T19:41:15.42Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/49/5f/a3f1a7f1f6e55de9285b03ae7e0d3c2a15e044b6e3f9b53bef5609ca05f2/mirakuru-3.0.2-py3-none-any.whl", hash = "sha256:10e5dac4a8f26872c63e9cdfdc01b775aaa2beb3ced98abc497279d2dc525b8f", size = 27583, upload-time = "2026-02-11T19:41:13.578Z" },-]-[[package]]name = "ml-dtypes"version = "0.4.1"@@ -7175,15 +7161,6 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/bf/18/72c216f4ab0c82b907009668f79183ae029116ff0dd245d56ef58aac48e7/polars_runtime_32-1.38.1-cp310-abi3-win_arm64.whl", hash = "sha256:6d07d0cc832bfe4fb54b6e04218c2c27afcfa6b9498f9f6bbf262a00d58cc7c4", size = 41639413, upload-time = "2026-02-06T18:12:22.044Z" },]-[[package]]-name = "port-for"-version = "1.0.0"-source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/88/a0/80a64e8cc096c7a9d0f546a28994af849b4775afc5e4ee44bf2739a55115/port_for-1.0.0.tar.gz", hash = "sha256:404d161b1b2c82e2f6b31d8646396b4847d02bf5ee10068c92b7263657a14582", size = 21681, upload-time = "2025-09-30T10:22:51.149Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/70/2c/b1faca65b9728b4ac43f0bee4bb9e7294bd0a62cc2ee59fd59403bf575f6/port_for-1.0.0-py3-none-any.whl", hash = "sha256:35a848b98cf4cc075fe80dc49ae5c3a78e3ca345a23bd39bf5252277b4eef5c2", size = 17544, upload-time = "2025-09-30T10:22:49.878Z" },-]-[[package]]name = "posthog"version = "3.25.0"@@ -8063,22 +8040,6 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/5a/cc/06253936f4a7fa2e0f48dfe6d851d9c56df896a9ab09ac019d70b760619c/pytest_mock-3.15.1-py3-none-any.whl", hash = "sha256:0a25e2eb88fe5168d535041d09a4529a188176ae608a6d249ee65abc0949630d", size = 10095, upload-time = "2025-09-16T16:37:25.734Z" },]-[[package]]-name = "pytest-postgresql"-version = "7.0.2"-source = { registry = "https://pypi.org/simple" }-dependencies = [- { name = "mirakuru" },- { name = "packaging" },- { name = "port-for" },- { name = "psycopg" },- { name = "pytest" },-]-sdist = { url = "https://files.pythonhosted.org/packages/18/15/b3c07d1537c7608c3f45d3ee6f778a56b1daa480221bb500abc9e44e01a0/pytest_postgresql-7.0.2.tar.gz", hash = "sha256:57c8d3f7d4e91d0ea8b2eac786d04f60080fa6ed6e66f1f94d747c71c9e5a4f4", size = 50691, upload-time = "2025-05-17T20:17:59.227Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/18/57/f2db5a80b10c3ac48ce41786cb9b14172f997509ee1b1055ab7db4238e5e/pytest_postgresql-7.0.2-py3-none-any.whl", hash = "sha256:0b0d31c51620a9c1d6be93286af354256bc58a47c379f56f4147b22da6e81fb5", size = 41447, upload-time = "2025-05-17T20:17:58.011Z" },-]-[[package]]name = "pytest-recording"version = "0.13.4"