Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ dev = [
"inotify>=0.2.10",
"poethepoet>=0.33.1",
"debugpy>=1.8.14",
"pytest>=8.3.5",
"pytest>=9.0.3",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HIGH — pytest 8.3 → 9.0 major bump. Pytest 9 turns PytestRemovedIn9Warning into errors by default; if any backend test or fixture uses a deprecated API the suite will start failing. Before merging, run uv run pytest --collect-only -q from backend/ to surface any plugin or config issues without executing tests.

"responses>=0.25.7",
"psutil>=7.0.0",
]
test = ["pytest>=8.0.1", "pytest-dotenv==0.5.2"]
test = ["pytest>=9.0.3", "pytest-dotenv==0.5.2"]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MEDIUM — pytest-dotenv==0.5.2 is unmaintained (last release 2020). It patches pytest Config internals and has open reports of breakage on newer pytest. The env_files = "test.env" option at line 101 depends on it. If --collect-only blows up here, the fix is a 5-line conftest.py calling dotenv.load_dotenv("test.env") directly and dropping the plugin.

deploy = [
"gunicorn~=23.0", # For serving the application
# Keep versions empty and let uv decide version
Expand Down
2,041 changes: 1,022 additions & 1,019 deletions backend/uv.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion platform-service/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ unstract-core = { path = "../unstract/core", editable = true }
unstract-sdk1 = { path = "../unstract/sdk1", editable = true }

[dependency-groups]
test = ["pytest>=8.0.1"]
test = ["pytest>=9.0.3"]
deploy = [
"gunicorn[gevent]~=23.0",
# OpenTelemetry for tracing and profiling
Expand Down
1,570 changes: 787 additions & 783 deletions platform-service/uv.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions prompt-service/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "README.md"

dependencies = [
"peewee~=3.16",
"nltk~=3.8",
"nltk~=3.9",
"flask~=3.0",
"llama-index>=0.14.13",
"python-dotenv==1.0.1",
Expand All @@ -28,7 +28,7 @@ unstract-sdk1 = { path = "../unstract/sdk1", editable = true }

[dependency-groups]
test = [
"pytest~=8.0.1",
"pytest~=9.0.3",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOW — pin style inconsistency. pytest~=9.0.3 resolves to >=9.0.3,<9.1 — locks out the next minor (9.1) unlike every other package which uses >=9.0.3. Either widen to pytest>=9.0.3 for consistency or accept the tighter cap deliberately.

(Same line is also where the major-version jump from 8.0.1 happens; smoke-test with uv run pytest --collect-only -q from prompt-service/.)

"pytest-asyncio>=0.23.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MEDIUM — pytest-asyncio>=0.23.0 floor is below what aligns cleanly with pytest 9. Lockfile resolves to 1.3.0 which is fine, but the floor permits an incompatible re-resolution. Bump to pytest-asyncio>=0.24.0 to match unstract/sdk1/pyproject.toml:75. Also, there's no asyncio_mode set anywhere in the repo — pytest-asyncio 1.x will emit a deprecation warning on every run; add asyncio_mode = "strict" to the file's [tool.pytest.ini_options] block.

"pytest-dotenv==0.5.2",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MEDIUM — pytest-dotenv==0.5.2 is unmaintained (last release 2020). Same concern as backend/pyproject.toml:74. If pytest 9 breaks plugin loading here, replace with dotenv.load_dotenv() in a conftest.py (the plugin reads env_files from [tool.pytest.ini_options]; mirror that with an explicit load_dotenv(...) call).

"pytest-mock~=3.14.0",
Expand Down
1,607 changes: 811 additions & 796 deletions prompt-service/uv.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions runner/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license = { text = "MIT" }
dependencies = [
"docker==6.1.3",
"flask~=3.1.0",
"python-dotenv>=1.0.0",
"python-dotenv>=1.2.2",
"redis~=5.2.1",
"unstract-core[flask]",
"unstract-flags",
Expand All @@ -19,7 +19,7 @@ dependencies = [
[dependency-groups]
dev = ["unstract-core[flask]", "poethepoet>=0.33.1", "debugpy>=1.8.14"]
test = [
"pytest>=8.2.2",
"pytest>=9.0.3",
"pytest-mock>=3.14.0",
"pytest-cov>=5.0.0",
"pytest-md-report>=0.6.2",
Expand Down
36 changes: 18 additions & 18 deletions runner/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tool-sidecar/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ readme = "README.md"
license = {text = "MIT"}
dependencies = [
"redis>=4.5.0",
"python-dotenv>=1.0.0",
"python-dotenv>=1.2.2",
"python-json-logger>=2.0.0",
"unstract-core"
]
Expand Down
Loading
Loading