Skip to content
Closed
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
2 changes: 1 addition & 1 deletion video-generation/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ requires-python = ">=3.12"
dependencies = ["av==16.1.0", "numpy==2.3.5", "pyyaml==6.0.3"]

[project.optional-dependencies]
dev = ["pytest==8.4.2"]
dev = ["pytest==9.2.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.

🟡 (optional) Maintainers who install the dev extra now get pytest 9.2.0, but CI still tests on pytest 8. A pytest 9 break would go unnoticed in CI. The dev pin moved to pytest==9.2.0, while .github/workflows/test-video-harness.yml:33 still installs 'pytest>=8,<9'. video-generation/specs/README.md:46 also still says 'pytest>=8,<9'. The PR title and description mention only setuptools. Fix: use one pytest major everywhere (for example 'pytest>=9,<10' in the workflow and specs/README.md:46), or revert the dev pin to 8.4.2 if the major bump was not intended.

Why this was flagged

The diff changes video-generation/pyproject.toml:13 from pytest==8.4.2 to pytest==9.2.0. This is a major-version jump, and the PR title and description, which mention only setuptools, do not say so. CI never installs this extra. In .github/workflows/test-video-harness.yml:30-34, uv run --no-project runs with --with 'pytest>=8,<9', so every CI run of the video harness still uses pytest 8.x. specs/README.md:46 documents the same 'pytest>=8,<9' command. After the merge, a developer running pip install -e .[dev] gets pytest 9.2.0, while CI checks against 8.x. Tests or the [tool.pytest.ini_options] config (pyproject.toml:22-24) could break under pytest 9, and CI would not catch it. On the base branch, the dev pin (8.4.2) and CI (<9) used the same major version.

Verification: nit. The version mismatch is real and this PR creates it. video-generation/pyproject.toml:13 changes from dev = ["pytest==8.4.2"] to dev = ["pytest==9.2.0"]. CI does not install that extra, so it always uses pytest 8.x. On the base commit the dev pin (8.4.2) and CI (>=8,<9) agreed, so this change makes the developer setup and CI diverge.


[project.scripts]
vgbench = "evaluator.cli:main"
Expand Down
10 changes: 6 additions & 4 deletions video-generation/reference/requirements-linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ cuda-pathfinder==1.8.5 \
--hash=sha256:16d1026fdd78ac0222b966441de53dec3f0dbe6b1e2c43d19d92eb29bfd81e67
einops==0.8.1 \
--hash=sha256:919387eb55330f5757c6bea9165c5ff5cfe63a642682ea788a6d472576d81737
filelock==4.2.6 \
--hash=sha256:fd7d4fca497bf3e3d0945a13261f8e684f2aef12ce7cf76aef26e13bf7388b88
filelock==4.2.9 \
--hash=sha256:96530b7c538d4ea08493ab067247aab7948c54d8cd622cce711c97cccc5d9896 \
--hash=sha256:a379c50a729e5b68c8519a4d26489f755d9769960a236ecd838190e2a78db2e9
fsspec==2026.9.0 \
--hash=sha256:8dd6e646e99ea382bd85f97a45e6b526a442d79423a7dc673f1e2756d05fcb5f
h11==0.16.0 \
Expand Down Expand Up @@ -99,8 +100,9 @@ rich==15.0.0 \
--hash=sha256:33bd4ef74232fb73fe9279a257718407f169c09b78a87ad3d296f548e27de0bb
safetensors==0.8.0 \
--hash=sha256:fd6f3f93c9a0a7cc2788ee63fb763353d4bd2e89b0751bc78fcf7dda00bea774
setuptools==80.9.0 \
--hash=sha256:062d34222ad13e0cc312a4c02d73f059e86a4acbfbdea8f8f76b28c99f306922
setuptools==84.1.0 \
--hash=sha256:23657205b63d4d31395ab917815247f694aafad28cd21316bf5fd45a51048ea0 \
--hash=sha256:5231689c6ac8156cd155cfb98c3fd6fb252c3e7e9bd3d78b64d3c55f132624c9
shellingham==1.5.4 \
--hash=sha256:7ecfff8f2fd72616f7481040475a65b2bf8af90a56c89140852d1120324e8686
sympy==1.14.0 \
Expand Down
2 changes: 1 addition & 1 deletion video-generation/reference/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ av==16.1.0
numpy==2.3.5
pyyaml==6.0.3
einops==0.8.1
setuptools==80.9.0
setuptools==84.1.0
wheel==0.45.1
Loading