GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||
GeezerVison is showing github.com — Fix Pipenv requirements remedy categories (#1507) by mikolalysenko · Pull Request #1508 · SocketDev/socket-patch Conversation
|
pipenv requirements --categories … |
2022.12.19 | 2023.2.4 | 2026.9.1 |
|---|---|---|---|
"packages docs" (old) |
empty | – | – |
"dev-packages docs" (old) |
empty | – | – |
"default,docs" (new) |
idna six | – | idna six |
"develop,docs" (new) |
six | – | six |
"default,develop,docs" (new) |
idna six | idna six | idna six |
"docs" (new, single) |
six | – | six |
cargo fmt --all -- --check: clean. cargo clippy --workspace --all-features -- -D warnings: clean.
cargo test -p socket-patch-cli --all-features --lib: 919 passed.
cargo test -p socket-patch-core --all-features: 6460 passed, 4 failed.
The 4 failures are permission tests (copy_tree symlinked root,
vlt_heal unremovable lock, pypi_poetry/pypi_requirements write
failure). They can't fail as intended under root in this container, and
they fail the same way with this PR's change reverted. CI runs as non-root.
The full cargo test --workspace hit this container's disk allowance
while linking integration-test binaries (no test failed), so CI's full run
is the check for those suites. No CLI integration test asserts this remedy
string.
pipenv requirements --categories "packages docs", which Pipenv 2022.12.x–2023.2.4 export as empty, so following it installs nothing (exit 0) #1507: base_site_remedy_exports_comma_joined_lock_keys (red → green), plus the updated base_site_stale_install_remedy_installs_over_the_base_copysync_args has always inserted names--categories parsing can't express such namesscripts/backtest-pipenv.py) never runs the--categories prefix. A--dev, which also covers default. Both--site-packages venv: pip uninstall refuses it and pipenv sync keeps it, so following the warning leaves the package unpatched #1450 assertion and the new table is🤖 Generated with Claude Code
https://claude.ai/code/session_01CdJ5dk71VDEiEYvkU3ULap
Generated by Claude Code
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Assisted-by: Claude Code:claude-opus-5-5
The remedy for a stale base-interpreter copy in a --site-packages
venv printed `pipenv requirements --categories "packages docs"` when
the package sat in several lock categories, one of them named.
Pipenv 2022.12.x-2023.2.4 read that as one category the lock lacks,
so the export was empty, pip exited 0 and the venv kept importing
the unpatched copy while the warning repeated.
The export now names comma-joined lock keys ("default,docs"), which
every Pipenv release with --categories reads. The sync remedies keep
the Pipfile names `pipenv sync` takes.
Fixes #1507
Assisted-by: Claude Code:claude-opus-5-5
|
BugBot review Generated by Claude Code |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 9d5027f. Configure here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Pipenv base-interpreter remedy (#1450) printspipenv requirements --categories "packages docs", which Pipenv 2022.12.x–2023.2.4 export as empty, so following it installs nothing (exit 0)
There was an error while loading. Please reload this page.