Skip to content

Commit 710a849

Browse files
authored
Merge branch 'main' into prefer-conflicting-causes
2 parents 9aff0d0 + 911bf99 commit 710a849

File tree

416 files changed

+12756
-61234
lines changed

Some content is hidden

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

416 files changed

+12756
-61234
lines changed

.github/workflows/ci.yml

+24-12
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
schedule:
1212
- cron: 0 0 * * MON # Run every Monday at 00:00 UTC
1313

14+
env:
15+
# The "FORCE_COLOR" variable, when set to 1,
16+
# tells Nox to colorize itself.
17+
FORCE_COLOR: "1"
18+
1419
concurrency:
1520
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
1621
cancel-in-progress: true
@@ -92,7 +97,7 @@ jobs:
9297

9398
tests-unix:
9499
name: tests / ${{ matrix.python.key || matrix.python }} / ${{ matrix.os }}
95-
runs-on: ${{ matrix.os }}-latest
100+
runs-on: ${{ matrix.os }}
96101

97102
needs: [packaging, determine-changes]
98103
if: >-
@@ -102,14 +107,14 @@ jobs:
102107
strategy:
103108
fail-fast: true
104109
matrix:
105-
os: [Ubuntu, MacOS]
110+
os: [ubuntu-latest, macos-12]
106111
python:
107-
- "3.7"
108112
- "3.8"
109113
- "3.9"
110114
- "3.10"
111115
- "3.11"
112116
- "3.12"
117+
- "3.13"
113118

114119
steps:
115120
- uses: actions/checkout@v4
@@ -119,11 +124,13 @@ jobs:
119124
allow-prereleases: true
120125

121126
- name: Install Ubuntu dependencies
122-
if: matrix.os == 'Ubuntu'
123-
run: sudo apt-get install bzr
127+
if: matrix.os == 'ubuntu-latest'
128+
run: |
129+
sudo apt-get update
130+
sudo apt-get install bzr
124131
125132
- name: Install MacOS dependencies
126-
if: matrix.os == 'MacOS'
133+
if: matrix.os == 'macos-12'
127134
run: brew install breezy
128135

129136
- run: pip install nox
@@ -155,19 +162,22 @@ jobs:
155162
matrix:
156163
os: [Windows]
157164
python:
158-
- "3.7"
159-
# Commented out, since Windows tests are expensively slow.
160-
# - "3.8"
165+
- "3.8"
166+
# Commented out, since Windows tests are expensively slow,
167+
# only test the oldest and newest Python supported by pip
161168
# - "3.9"
162169
# - "3.10"
163-
- "3.11"
170+
# - "3.11"
171+
- "3.12" # Comment out when 3.13 is final
172+
- "3.13"
164173
group: [1, 2]
165174

166175
steps:
167176
- uses: actions/checkout@v4
168177
- uses: actions/setup-python@v5
169178
with:
170179
python-version: ${{ matrix.python }}
180+
allow-prereleases: true
171181

172182
# We use C:\Temp (which is already available on the worker)
173183
# as a temporary directory for all of the tests because the
@@ -221,9 +231,11 @@ jobs:
221231
python-version: "3.10"
222232

223233
- name: Install Ubuntu dependencies
224-
run: sudo apt-get install bzr
234+
run: |
235+
sudo apt-get update
236+
sudo apt-get install bzr
225237
226-
- run: pip install nox 'virtualenv<20' 'setuptools != 60.6.0'
238+
- run: pip install nox
227239

228240
# Main check
229241
- name: Run integration tests

.pre-commit-config.yaml

+11-5
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.5.0
5+
rev: v4.6.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-pre-commit-mirror
20-
rev: 23.12.1
20+
rev: 24.4.0
2121
hooks:
2222
- id: black
2323

2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: v0.2.0
25+
rev: v0.4.1
2626
hooks:
2727
- id: ruff
2828
args: [--fix, --exit-non-zero-on-fix]
2929

3030
- repo: https://github.com/pre-commit/mirrors-mypy
31-
rev: v1.8.0
31+
rev: v1.9.0
3232
hooks:
3333
- id: mypy
3434
exclude: tests/data
@@ -40,7 +40,6 @@ repos:
4040
'types-docutils==0.20.0.3',
4141
'types-setuptools==68.2.0.0',
4242
'types-freezegun==1.1.10',
43-
'types-six==1.16.21.9',
4443
'types-pyyaml==6.0.12.12',
4544
]
4645

@@ -54,6 +53,13 @@ repos:
5453
types: [file]
5554
exclude: NEWS.rst # The errors flagged in NEWS.rst are old.
5655

56+
- repo: https://github.com/codespell-project/codespell
57+
rev: v2.2.6
58+
hooks:
59+
- id: codespell
60+
exclude: AUTHORS.txt|tests/data
61+
args: ["--ignore-words", tools/codespell-ignore.txt]
62+
5763
- repo: local
5864
hooks:
5965
- id: news-fragment-filenames

AUTHORS.txt

+24-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ Adam Chainz
99
Adam Tse
1010
Adam Wentz
1111
admin
12+
Adolfo Ochagavía
1213
Adrien Morison
14+
Agus
1315
ahayrapetyan
1416
Ahilya
1517
AinsworthK
@@ -63,8 +65,11 @@ Anudit Nagar
6365
Anuj Godase
6466
AQNOUCH Mohammed
6567
AraHaan
68+
arena
69+
arenasys
6670
Arindam Choudhury
6771
Armin Ronacher
72+
Arnon Yaari
6873
Artem
6974
Arun Babu Neelicattu
7075
Ashley Manton
@@ -102,6 +107,7 @@ Brad Erickson
102107
Bradley Ayers
103108
Brandon L. Reiss
104109
Brandt Bucher
110+
Brannon Dorsey
105111
Brett Randall
106112
Brett Rosen
107113
Brian Cristante
@@ -140,6 +146,7 @@ Christian Oudard
140146
Christoph Reiter
141147
Christopher Hunt
142148
Christopher Snyder
149+
chrysle
143150
cjc7373
144151
Clark Boylan
145152
Claudio Jolowicz
@@ -157,6 +164,7 @@ Craig Kerstiens
157164
Cristian Sorinel
158165
Cristina
159166
Cristina Muñoz
167+
ctg123
160168
Curtis Doty
161169
cytolentino
162170
Daan De Meyer
@@ -194,6 +202,7 @@ David Evans
194202
David Hewitt
195203
David Linke
196204
David Poggi
205+
David Poznik
197206
David Pursehouse
198207
David Runge
199208
David Tucker
@@ -207,6 +216,7 @@ dependabot[bot]
207216
derwolfe
208217
Desetude
209218
Devesh Kumar Singh
219+
devsagul
210220
Diego Caraballo
211221
Diego Ramirez
212222
DiegoCaraballo
@@ -315,6 +325,7 @@ Ian Stapleton Cordasco
315325
Ian Wienand
316326
Igor Kuzmitshov
317327
Igor Sobreira
328+
Ikko Ashimine
318329
Ilan Schnell
319330
Illia Volochii
320331
Ilya Baryshev
@@ -364,6 +375,7 @@ Jivan Amara
364375
Joe Bylund
365376
Joe Michelini
366377
John Paton
378+
John Sirois
367379
John T. Wodder II
368380
John-Scott Atlakson
369381
johnthagen
@@ -408,6 +420,7 @@ Kexuan Sun
408420
Kit Randel
409421
Klaas van Schelven
410422
KOLANICH
423+
konstin
411424
kpinc
412425
Krishna Oza
413426
Kumar McMillan
@@ -428,6 +441,7 @@ lorddavidiii
428441
Loren Carvalho
429442
Lucas Cimon
430443
Ludovic Gasc
444+
Luis Medel
431445
Lukas Geiger
432446
Lukas Juhrich
433447
Luke Macken
@@ -441,11 +455,12 @@ Marc Tamlyn
441455
Marcus Smith
442456
Mariatta
443457
Mark Kohler
458+
Mark McLoughlin
444459
Mark Williams
445460
Markus Hametner
446461
Martey Dodoo
447462
Martin Fischer
448-
Martin Häcker
463+
Martin Häcker
449464
Martin Pavlasek
450465
Masaki
451466
Masklinn
@@ -457,6 +472,7 @@ Matt Bacchi
457472
Matt Good
458473
Matt Maker
459474
Matt Robenolt
475+
Matt Wozniski
460476
matthew
461477
Matthew Einhorn
462478
Matthew Feickert
@@ -495,7 +511,7 @@ Miro Hrončok
495511
Monica Baluna
496512
montefra
497513
Monty Taylor
498-
Muha Ajjan
514+
Muha Ajjan
499515
Nadav Wexler
500516
Nahuel Ambrosini
501517
Nate Coraor
@@ -559,7 +575,9 @@ Paweł Szramowski
559575
Pekka Klärck
560576
Peter Gessler
561577
Peter Lisák
578+
Peter Shen
562579
Peter Waller
580+
Petr Viktorin
563581
petr-tik
564582
Phaneendra Chiruvella
565583
Phil Elson
@@ -592,6 +610,7 @@ Quentin Pradet
592610
R. David Murray
593611
Rafael Caricio
594612
Ralf Schmitt
613+
Ran Benita
595614
Razzi Abuissa
596615
rdb
597616
Reece Dunham
@@ -624,6 +643,7 @@ Russell Keith-Magee
624643
Ryan Shepherd
625644
Ryan Wooden
626645
ryneeverett
646+
S. Guliaev
627647
Sachi King
628648
Salvatore Rinchiera
629649
sandeepkiran-js
@@ -642,6 +662,7 @@ Seth Michael Larson
642662
Seth Woodworth
643663
Shahar Epstein
644664
Shantanu
665+
shenxianpeng
645666
shireenrao
646667
Shivansh-007
647668
Shlomi Fish
@@ -741,6 +762,7 @@ Wolfgang Maier
741762
Wu Zhenyu
742763
XAMES3
743764
Xavier Fernandez
765+
Xianpeng Shen
744766
xoviat
745767
xtreak
746768
YAMAMOTO Takashi
@@ -757,4 +779,3 @@ Zvezdan Petkovic
757779
Łukasz Langa
758780
Роман Донченко
759781
Семён Марьясин
760-
‮rekcäH nitraM‮

MANIFEST.in

-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ recursive-include src/pip/_vendor py.typed
2929
recursive-include docs *.css *.py *.rst *.md
3030
recursive-include docs *.dot *.png
3131

32-
exclude src/pip/_vendor/six
33-
exclude src/pip/_vendor/six/moves
3432
recursive-exclude src/pip/_vendor *.pyi
3533

3634
prune .github

0 commit comments

Comments
 (0)