Skip to content

COG-5962 chore: remove stale poetry artifacts, migrate eval Dockerfile to uv (supersedes #3496) - #4222

Open
Vasilije1990 wants to merge 3 commits into
devfrom
chore/cog-5962-remove-stale-poetry-artifacts
Open

COG-5962 chore: remove stale poetry artifacts, migrate eval Dockerfile to uv (supersedes #3496)#4222
Vasilije1990 wants to merge 3 commits into
devfrom
chore/cog-5962-remove-stale-poetry-artifacts

Conversation

@Vasilije1990

Copy link
Copy Markdown
Contributor

Supersedes #3496 (by @Shrinet82 for #3495, WeMakeDevs hackathon) — the original fork branch went stale against main and was then retargeted to dev; this rebuilds it as a clean 2-commit branch off dev. The first commit is @Shrinet82's, authorship preserved — credit for the cleanup is theirs.

Changes

  • Delete poetry.lock (16,591 lines) — stale since the uv migration; nothing consumes it.
  • Delete tools/check-lockfile.py — hardcoded to check poetry.lock; no CI workflow references it.
  • cognee/eval_framework/Dockerfile → uv: ghcr.io/astral-sh/uv:python3.11-bookworm-slim base, uv sync --frozen --no-install-project with BuildKit cache, matching the main Dockerfile / Dockerfile.ci.
    • Follow-up fix on top of the original PR: uv sync installs into /app/.venv, unlike the old poetry config virtualenvs.create false flow which used the system interpreter — VIRTUAL_ENV is now exported and .venv/bin prepended to PATH, otherwise plain python in the image finds no dependencies.
  • Docs: drop poetry as an install method from README.md and CLAUDE.md, and remove the now-dangling poetry.lock regeneration step from .github/docs/release.md.

Verified: no remaining references to the deleted files anywhere in .github/ or tools/ (tools/poetry-deps.sh is misnamed — it's an __init__.py structure checker, unrelated to poetry — and is left alone).

Closes #3495

🤖 Generated with Claude Code

Shrinet82 and others added 2 commits July 25, 2026 16:26
- Deleted obsolete `poetry.lock` and `tools/check-lockfile.py`
- Migrated `cognee/eval_framework/Dockerfile` from poetry to uv to match the rest of the project
- Cleaned up obsolete poetry mentions in README.md and CLAUDE.md
…step

- eval_framework/Dockerfile: uv sync installs into /app/.venv, unlike the
  old 'poetry config virtualenvs.create false' flow which used the system
  interpreter - export VIRTUAL_ENV and prepend .venv/bin to PATH so plain
  python still sees the dependencies. Drop PIP_NO_CACHE_DIR (pip no longer
  used).
- .github/docs/release.md: drop the now-dangling poetry.lock release step.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants