Skip to content

Pin pipenv in the Docker build - #8

Merged
second2falcon merged 1 commit into
masterfrom
claude/intelligent-bardeen-nch87n
Oct 15, 2026
Merged

second2falcon merged 1 commit into
masterfrom
claude/intelligent-bardeen-nch87n

Conversation

@second2falcon

Copy link
Copy Markdown
Owner

Summary

The "Publish Docker image" run after the #7 merge failed at Dockerfile:38:

× Cannot uninstall packaging 25.0
╰─> The package's contents are unknown: no RECORD file was found for packaging.
hint: The package was installed by debian.

The change in #7 (one .vue file) didn't cause this. The Dockerfile installs pipenv without a version:

Change

-RUN pip install pipenv --break-system-packages && pip cache purge
+RUN pip install "pipenv==2026.9.1" --break-system-packages --ignore-installed && pip cache purge
  • The pin stops new pipenv releases from breaking unrelated builds. Upgrade it by changing the version, as with Pipfile.lock.
  • --ignore-installed makes pip install its own packaging alongside Debian's instead of trying to remove it.

Everything else in the build is left as is:

  • Python packages, including streamlink, are already pinned by Pipfile.lock (--deploy --ignore-pipfile).
  • JS packages are pinned by yarn.lock.
  • The apt packages and the node:24-trixie-slim base image stay unpinned so they keep getting Debian security updates.

Testing

I couldn't run a Docker build in my environment. The "Check Docker" workflow runs on this PR because it touches Dockerfile, and that run is the test.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XuPs3nkTaDwZGoCD8oKKEV


Generated by Claude Code

The Docker build installed the newest pipenv. pipenv 2026.9.1 requires
a newer packaging than the one Debian installs with python3-pip, and pip
can't uninstall Debian's copy (no RECORD file), so the build failed on a
merge that didn't touch anything Python-related.

Pin pipenv so new releases can't break unrelated builds, and pass
--ignore-installed so pip installs its own packaging next to Debian's
instead of trying to remove it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XuPs3nkTaDwZGoCD8oKKEV
@second2falcon
second2falcon merged commit a9f92a6 into master Oct 15, 2026
1 check passed
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