Skip to content

Commit 3c0a264

Browse files
KemingHegithub-actions[bot]
authored andcommitted
docs(src/assets/): update poetry official documentation
1 parent 819a998 commit 3c0a264

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

src/assets/poetry/_metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"source_repo": "python-poetry/poetry",
33
"docs_path": "docs",
4-
"updated_at": "2025-11-25T22:05:25Z",
5-
"commit_sha": "9e1062a6a351aa618cf7d09add9043a36783edd8"
4+
"updated_at": "2025-12-02T22:05:25Z",
5+
"commit_sha": "e7ca74b0a07c9cbee73694a8e5ffb0e7b81c9d5b"
66
}

src/assets/poetry/cli.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,15 @@ The `cache` command groups subcommands to interact with Poetry's cache.
231231

232232
### cache clear
233233

234-
The `cache clear` command removes packages from a cached repository.
234+
The `cache clear` command removes packages from cached repositories.
235235

236-
For example, to clear the whole cache of packages from the `PyPI` repository, run:
236+
For example, to clear the whole cache of packages from all repositories, run:
237+
238+
```bash
239+
poetry cache clear --all
240+
```
241+
242+
To only clear all packages from the `PyPI` repository, run:
237243

238244
```bash
239245
poetry cache clear PyPI --all

src/assets/poetry/repositories.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ Then, assuming the repository requires authentication, configure credentials for
4141
```bash
4242
poetry config http-basic.foo <username> <password>
4343
```
44+
{{% warning %}}
45+
If you have completed configuring credentials and are receiving authorization failures, check for the presence of `~/.netrc`, which has been known to conflict with Poetry's configured authentication.
46+
{{% /warning %}}
4447

4548
{{% warning %}}
4649
Depending on your system configuration, credentials might be saved in your command line history.

0 commit comments

Comments
 (0)