Skip to content

Commit 7ddafd0

Browse files
authored
Merge branch 'main' into update-non-PEP-440-wheel-filename-deprecation-notice
2 parents fbe7924 + 93fa89c commit 7ddafd0

24 files changed

+139
-31
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
pull_request:
1111
schedule:
1212
- cron: 0 0 * * MON # Run every Monday at 00:00 UTC
13+
workflow_dispatch:
14+
# allow manual runs on branches without a PR
1315

1416
env:
1517
# The "FORCE_COLOR" variable, when set to 1,
@@ -55,6 +57,9 @@ jobs:
5557
- "src/**"
5658
- "tests/**"
5759
- "noxfile.py"
60+
# The test suite should also run when cutting a release
61+
# (which is the only time this file is modified).
62+
- "NEWS.rst"
5863
if: github.event_name == 'pull_request'
5964

6065
packaging:
@@ -107,7 +112,7 @@ jobs:
107112
strategy:
108113
fail-fast: true
109114
matrix:
110-
os: [ubuntu-latest, macos-12]
115+
os: [ubuntu-latest, macos-13, macos-latest]
111116
python:
112117
- "3.8"
113118
- "3.9"
@@ -130,8 +135,13 @@ jobs:
130135
sudo apt-get install bzr
131136
132137
- name: Install MacOS dependencies
133-
if: matrix.os == 'macos-12'
134-
run: brew install breezy
138+
if: runner.os == 'macOS'
139+
run: |
140+
DEPS=breezy
141+
if ! which svn; then
142+
DEPS="${DEPS} subversion"
143+
fi
144+
brew install ${DEPS}
135145
136146
- run: pip install nox
137147

news/12653.feature.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Detect recursively referencing requirements files and help users identify
2+
the source.

news/12964.trivial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
A valid, but non-existent URL used in a test case was corrected to be a valid URL.

news/A454782D-6619-44D8-811F-2C1973A430BB.trivial.rst

Whitespace-only changes.

news/F2CF2568-49B1-49EF-8B16-70491B9C8FDA.trivial.rst

Whitespace-only changes.

news/urllib3.vendor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Upgrade urllib3 to 1.26.19
1+
Upgrade urllib3 to 1.26.20

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ select = [
181181
"PLR0",
182182
"W",
183183
"RUF100",
184-
"UP032",
184+
"UP",
185185
]
186186

187187
[tool.ruff.lint.isort]

src/pip/_internal/cli/index_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class SessionCommandMixin(CommandContextMixIn):
5454

5555
def __init__(self) -> None:
5656
super().__init__()
57-
self._session: Optional["PipSession"] = None
57+
self._session: Optional[PipSession] = None
5858

5959
@classmethod
6060
def _get_index_urls(cls, options: Values) -> Optional[List[str]]:

src/pip/_internal/commands/list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def run(self, options: Values, args: List[str]) -> int:
176176
if options.excludes:
177177
skip.update(canonicalize_name(n) for n in options.excludes)
178178

179-
packages: "_ProcessedDists" = [
179+
packages: _ProcessedDists = [
180180
cast("_DistWithLatestInfo", d)
181181
for d in get_environment(options.path).iter_installed_distributions(
182182
local_only=options.local,

src/pip/_internal/commands/search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def transform_hits(hits: List[Dict[str, str]]) -> List["TransformedHit"]:
8989
packages with the list of versions stored inline. This converts the
9090
list from pypi into one we can use.
9191
"""
92-
packages: Dict[str, "TransformedHit"] = OrderedDict()
92+
packages: Dict[str, TransformedHit] = OrderedDict()
9393
for hit in hits:
9494
name = hit["name"]
9595
summary = hit["summary"]

0 commit comments

Comments
 (0)