Skip to content

docs: clarify what --no-cache disables - #10915

Merged
radoering merged 7 commits into
python-poetry:mainfrom
SAY-5:docs-clarify-no-cache
Jun 20, 2026
Merged

radoering merged 7 commits into
python-poetry:mainfrom
SAY-5:docs-clarify-no-cache

Conversation

@SAY-5

@SAY-5 SAY-5 commented May 21, 2026

Copy link
Copy Markdown
Contributor

Resolves: #6445

Expands the global --no-cache description in docs/cli.md to match the maintainer explanation given on the issue: "The --no-cache flag disables the use of caches globally, forcing Poetry to behave as if it had a cold cache all the time", and notes that it does not delete cached data (poetry cache clear is the separate command for that).

  • Added tests for changed code.
  • Updated documentation for changed code.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've left some high level feedback:

  • The updated --no-cache description is quite long for a bullet point; consider splitting it into two sentences or moving part of the detail (e.g., examples of cached data) to a following paragraph to improve readability.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The updated `--no-cache` description is quite long for a bullet point; consider splitting it into two sentences or moving part of the detail (e.g., examples of cached data) to a following paragraph to improve readability.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@radoering radoering added the impact/docs Contains or requires documentation changes label Jun 20, 2026
@github-actions

github-actions Bot commented Jun 20, 2026 •

Copy link
Copy Markdown

Deploy preview for website ready!

Project:website
Status: ✅  Deploy successful!
Preview URL:https://website-lumxdjhbv-python-poetry.vercel.app
Latest Commit:8d0cc7f

Deployed with vercel-action

@radoering radoering changed the title docs: clarify what --no-cache disables docs: clarify what --no-cache disables Jun 20, 2026
@radoering radoering added area/docs Documentation issues/improvements and removed impact/docs Contains or requires documentation changes labels Jun 20, 2026
@radoering
radoering merged commit db13ea2 into python-poetry:main Jun 20, 2026
55 of 56 checks passed
@radoering radoering removed the area/docs Documentation issues/improvements label Jun 21, 2026
@github-actions

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide more information regarding --no-cache flag

2 participants