Skip to content

Commit 9434339

Browse files
committed
Update .gitlab-ci.yml file
1 parent 97dd73c commit 9434339

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
python-version: ${{ matrix.python-version }}
2222

2323
- name: Install the project
24-
run: uv sync --locked --all-extras --dev
24+
run: uv sync --reinstall --locked --all-extras --dev
2525

2626
- name: Run unit tests
2727
run: uv run pytest -m "not slow" --cov=compressai -s tests/

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ test:
156156
update_dict(base, delta)
157157
Path("pyproject.toml").write_text(tomlkit.dumps(base))
158158
EOF
159-
- uv sync --group=test
159+
- uv sync --group=test --reinstall
160160
- *check-torch-cuda
161161
- |
162162
PYTEST_ARGS=(--cov=compressai --capture=no tests)

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ dependencies = [
3232
"einops",
3333
"matplotlib",
3434
"numpy >= 1.24.4,<2.0; python_version < '3.10'",
35-
"numpy >= 2.2.4; python_version >= '3.10'",
3635
"Pandas >= 2.0; python_version < '3.10'",
3736
"Pandas >= 2.2.0; python_version >= '3.10'",
3837
"pybind11>=2.6.0; python_version < '3.10'", # For --no-build-isolation.

0 commit comments

Comments
 (0)