Skip to content

Commit 13459a8

Browse files
authored
Merge branch 'main' into per-req-config-settings
2 parents cdec6b2 + 10d9cbc commit 13459a8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+125
-336
lines changed

.github/chronographer.yml

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,10 @@
1-
---
2-
1+
branch-protection-check-name: Changelog entry
32
action-hints:
4-
# check-title-prefix: chng # default: `{{ branch-protection-check-name }}: `
5-
external-docs-url: https://pip.pypa.io/how-to-changelog
3+
check-title-prefix: "Chronographer: "
4+
external-docs-url: https://pip.pypa.io/dev/news-entry-failure
65
inline-markdown: >
7-
Check out https://pip.pypa.io/how-to-changelog
8-
9-
branch-protection-check-name: Timeline protection
10-
6+
See https://pip.pypa.io/dev/news-entry-failure for details.
117
enforce-name:
12-
# suffix: .md
138
suffix: .rst
14-
15-
exclude:
16-
bots:
17-
- dependabot-preview
18-
- dependabot
19-
- patchback
20-
humans:
21-
- pyup-bot
22-
239
labels:
2410
skip-changelog: skip news
25-
26-
paths: # relative modified file paths that do or don't need changelog mention
27-
exclude: []
28-
include: []
29-
30-
...

.github/workflows/label-merge-conflicts.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ exclude: 'src/pip/_vendor/'
22

33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.3.0
5+
rev: v4.4.0
66
hooks:
77
- id: check-builtin-literals
88
- id: check-added-large-files
@@ -17,18 +17,18 @@ repos:
1717
exclude: .patch
1818

1919
- repo: https://github.com/psf/black
20-
rev: 22.6.0
20+
rev: 23.1.0
2121
hooks:
2222
- id: black
2323

2424
- repo: https://github.com/PyCQA/flake8
25-
rev: 4.0.1
25+
rev: 6.0.0
2626
hooks:
2727
- id: flake8
2828
additional_dependencies: [
29-
'flake8-bugbear==22.10.27',
30-
'flake8-logging-format==0.9.0',
31-
'flake8-implicit-str-concat==0.3.0',
29+
'flake8-bugbear',
30+
'flake8-logging-format',
31+
'flake8-implicit-str-concat',
3232
]
3333
exclude: tests/data
3434

@@ -56,7 +56,7 @@ repos:
5656
]
5757

5858
- repo: https://github.com/pre-commit/pygrep-hooks
59-
rev: v1.9.0
59+
rev: v1.10.0
6060
hooks:
6161
- id: python-no-log-warn
6262
- id: python-no-eval

docs/html/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,9 @@ def to_document_name(path: str, base_dir: str) -> str:
131131

132132

133133
man_pages = determine_man_pages()
134+
135+
# -- Options for sphinx_copybutton ----------------------------------------------------
136+
137+
copybutton_prompt_text = r"\$ | C\:\> "
138+
copybutton_prompt_is_regexp = True
139+
copybutton_only_copy_prompt_lines = False

docs/html/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,5 @@ Successfully uninstalled sampleproject
9898
## Next Steps
9999

100100
It is recommended to learn about what virtual environments are and how to use
101-
them. This is covered in the ["Installing Packages"](pypug:tutorials/installing-packages)
101+
them. This is covered in the {doc}`Installing Packages <pypug:tutorials/installing-packages>`
102102
tutorial on packaging.python.org.

docs/html/reference/installation-report.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ When considering use cases, please bear in mind that
1717
other use cases), this format is *not* meant to be a lock file format as such;
1818
- there is no plan for pip to accept an installation report as input for the `install`,
1919
`download` or `wheel` commands;
20-
- the `--report` option and this format is intended to become a supported pip feature
21-
(when the format is stabilized to version 1);
22-
- it is however *not* a PyPA interoperability standard and as such its evolution will be
23-
governed by the pip processes and not the PyPA standardization processes.
20+
- while the `--report` option and this format is a supported pip feature,
21+
it is *not* a PyPA interoperability standard and as such its evolution is governed by
22+
the pip processes and not the PyPA standardization processes.
2423
```
2524

2625
## Specification

docs/pip_sphinxext.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@ def run(self) -> List[nodes.Node]:
254254
lines = []
255255
# Create a tab for each OS
256256
for os, variant in os_variants.items():
257-
258257
# Unpack the values
259258
prompt = variant["prompt"]
260259
highlighter = variant["highlighter"]

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sphinx ~= 4.2, != 4.4.0
1+
sphinx ~= 6.0
22
towncrier
33
furo
44
myst_parser

news/11702.trivial.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Strip command line prompts like "$" and "C:>" from the actual command
2+
being copied using the copybutton.

news/11719.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Normalize paths before checking if installed scripts are on PATH.

0 commit comments

Comments
 (0)