Skip to content

Commit b9aec99

Browse files
authored
Merge pull request #5950: Upgrade pants from 2.16.0a0 to 2.16.0rc0
2 parents 78c66f2 + d2ff05b commit b9aec99

13 files changed

+555
-875
lines changed

BUILD.tools

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# This BUILD file has requirements for most of the tools resolves
2+
3+
python_requirement(
4+
name="bandit-reqs",
5+
resolve="bandit",
6+
requirements=[
7+
"bandit==1.7.0",
8+
"setuptools",
9+
"GitPython==3.1.18",
10+
# bandit needs stevedore which needs importlib-metadata<5
11+
# see: https://github.com/PyCQA/bandit/pull/952
12+
"importlib-metadata<5;python_version<'3.8'",
13+
],
14+
)
15+
16+
python_requirement(
17+
name="black-reqs",
18+
resolve="black",
19+
requirements=[
20+
"black==22.3.0",
21+
"typing-extensions>=3.10.0.0;python_version<'3.10'",
22+
],
23+
)
24+
25+
python_requirement(
26+
name="flake8-reqs",
27+
resolve="flake8",
28+
requirements=[
29+
"flake8==4.0.1", # st2flake8 does not support flake8 v5
30+
# license check plugin
31+
"st2flake8==0.1.0", # TODO: remove in favor of regex-lint or preamble
32+
],
33+
)
34+
35+
# for pants-plugins, see //pants-plugins/BUILD
36+
# for pylint, see //pylint_plugins/BUILD
37+
38+
python_requirement(
39+
name="pytest-reqs",
40+
resolve="pytest",
41+
requirements=[
42+
"pytest==7.0.1", # copied from https://www.pantsbuild.org/v2.14/docs/reference-pytest#version
43+
"pytest-benchmark[histogram]==3.4.1",
44+
# "pytest-timer[colorama]",
45+
"pytest-icdiff",
46+
"pygments",
47+
# "pytest-timeout",
48+
# "pytest-mock",
49+
"pytest-cov>=2.12,!=2.12.1,<3.1",
50+
"pytest-xdist>=2.5,<3",
51+
],
52+
)
53+
54+
python_requirement(
55+
name="setuptools-reqs",
56+
resolve="setuptools",
57+
requirements=[
58+
# setuptools 59.7 (at least) does not support python 3.6
59+
"setuptools>=50.3.0,<59.0",
60+
"wheel>=0.35.1,<0.38",
61+
],
62+
)
63+
64+
python_requirement(
65+
name="twine-reqs",
66+
resolve="twine",
67+
requirements=[
68+
"twine>=3.7.1,<3.8",
69+
"colorama>=0.4.3",
70+
],
71+
)

CHANGELOG.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Added
1717
#5778 #5789 #5817 #5795 #5830 #5833 #5834 #5841 #5840 #5838 #5842 #5837 #5849 #5850
1818
#5846 #5853 #5848 #5847 #5858 #5857 #5860 #5868 #5871 #5864 #5874 #5884 #5893 #5891
1919
#5890 #5898 #5901 #5906 #5899 #5907 #5909 #5922 #5926 #5927 #5925 #5928 #5929 #5930
20-
#5931 #5932 #5948 #5949
20+
#5931 #5932 #5948 #5949 #5950
2121
Contributed by @cognifloyd
2222

2323
* Added a joint index to solve the problem of slow mongo queries for scheduled executions. #5805

lockfiles/bandit.lock

+16-16
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
// {
77
// "version": 3,
88
// "valid_for_interpreter_constraints": [
9-
// "CPython<3.10,>=3.7",
10-
// "CPython<3.9,>=3.6"
9+
// "CPython<3.10,>=3.6"
1110
// ],
1211
// "generated_with_requirements": [
12+
// "GitPython==3.1.18",
1313
// "bandit==1.7.0",
1414
// "importlib-metadata<5; python_version < \"3.8\"",
1515
// "setuptools"
@@ -52,7 +52,7 @@
5252
"stevedore>=1.20.0"
5353
],
5454
"requires_python": ">=3.5",
55-
"version": "1.7"
55+
"version": "1.7.0"
5656
},
5757
{
5858
"artifacts": [
@@ -137,19 +137,19 @@
137137
"artifacts": [
138138
{
139139
"algorithm": "sha256",
140-
"hash": "db2317ff07c84c4c63648c9064a79fe9d9f5c7ce85a9099d4b6258b3db83225a",
141-
"url": "https://files.pythonhosted.org/packages/e5/37/10e8a53f196cf0bcb93008daed42e2c47c7876430a7efd044ff4d647f30a/pbr-5.11.0-py2.py3-none-any.whl"
140+
"hash": "567f09558bae2b3ab53cb3c1e2e33e726ff3338e7bae3db5dc954b3a44eef12b",
141+
"url": "https://files.pythonhosted.org/packages/01/06/4ab11bf70db5a60689fc521b636849c8593eb67a2c6bdf73a16c72d16a12/pbr-5.11.1-py2.py3-none-any.whl"
142142
},
143143
{
144144
"algorithm": "sha256",
145-
"hash": "b97bc6695b2aff02144133c2e7399d5885223d42b7912ffaec2ca3898e673bfe",
146-
"url": "https://files.pythonhosted.org/packages/52/fb/630d52aaca8fc7634a0711b6ae12a0e828b6f9264bd8051225025c3ed075/pbr-5.11.0.tar.gz"
145+
"hash": "aefc51675b0b533d56bb5fd1c8c6c0522fe31896679882e1c4c63d5e4a0fccb3",
146+
"url": "https://files.pythonhosted.org/packages/02/d8/acee75603f31e27c51134a858e0dea28d321770c5eedb9d1d673eb7d3817/pbr-5.11.1.tar.gz"
147147
}
148148
],
149149
"project_name": "pbr",
150150
"requires_dists": [],
151151
"requires_python": ">=2.6",
152-
"version": "5.11"
152+
"version": "5.11.1"
153153
},
154154
{
155155
"artifacts": [
@@ -247,7 +247,7 @@
247247
"project_name": "pyyaml",
248248
"requires_dists": [],
249249
"requires_python": ">=3.6",
250-
"version": "6"
250+
"version": "6.0"
251251
},
252252
{
253253
"artifacts": [
@@ -292,7 +292,7 @@
292292
"wheel; extra == \"testing\""
293293
],
294294
"requires_python": ">=3.6",
295-
"version": "59.6"
295+
"version": "59.6.0"
296296
},
297297
{
298298
"artifacts": [
@@ -310,7 +310,7 @@
310310
"project_name": "six",
311311
"requires_dists": [],
312312
"requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7",
313-
"version": "1.16"
313+
"version": "1.16.0"
314314
},
315315
{
316316
"artifacts": [
@@ -328,7 +328,7 @@
328328
"project_name": "smmap",
329329
"requires_dists": [],
330330
"requires_python": ">=3.6",
331-
"version": "5"
331+
"version": "5.0.0"
332332
},
333333
{
334334
"artifacts": [
@@ -398,24 +398,24 @@
398398
"sphinx; extra == \"docs\""
399399
],
400400
"requires_python": ">=3.6",
401-
"version": "3.6"
401+
"version": "3.6.0"
402402
}
403403
],
404404
"platform_tag": null
405405
}
406406
],
407407
"path_mappings": {},
408-
"pex_version": "2.1.108",
408+
"pex_version": "2.1.131",
409409
"pip_version": "20.3.4-patched",
410410
"prefer_older_binary": false,
411411
"requirements": [
412+
"GitPython==3.1.18",
412413
"bandit==1.7.0",
413414
"importlib-metadata<5; python_version < \"3.8\"",
414415
"setuptools"
415416
],
416417
"requires_python": [
417-
"<3.10,>=3.7",
418-
"<3.9,>=3.6"
418+
"<3.10,>=3.6"
419419
],
420420
"resolver_version": "pip-2020-resolver",
421421
"style": "universal",

lockfiles/black.lock

+56-18
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// {
77
// "version": 3,
88
// "valid_for_interpreter_constraints": [
9-
// "CPython<3.9,>=3.6.2"
9+
// "CPython<3.10,>=3.6.2"
1010
// ],
1111
// "generated_with_requirements": [
1212
// "black==22.3.0",
@@ -55,6 +55,16 @@
5555
"hash": "06f9d8846f2340dfac80ceb20200ea5d1b3f181dd0556b47af4e8e0b24fa0a6b",
5656
"url": "https://files.pythonhosted.org/packages/43/ba/fd965969581806c96110ce55855b7b4008678f5cbbf559c83db8aac30871/black-22.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
5757
},
58+
{
59+
"algorithm": "sha256",
60+
"hash": "6ee227b696ca60dd1c507be80a6bc849a5a6ab57ac7352aad1ffec9e8b805f21",
61+
"url": "https://files.pythonhosted.org/packages/51/ec/c87695b087b7525fd9c7732c630455f231d3df9a300b730bd0e04ea00f84/black-22.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
62+
},
63+
{
64+
"algorithm": "sha256",
65+
"hash": "ee8f1f7228cce7dffc2b464f07ce769f478968bfb3dd1254a4c2eeed84928aad",
66+
"url": "https://files.pythonhosted.org/packages/56/74/c27c496223168af625d6bba8a14bc581e7742bf7248504a4b5743c374767/black-22.3.0-cp39-cp39-macosx_11_0_arm64.whl"
67+
},
5868
{
5969
"algorithm": "sha256",
6070
"hash": "6d2fc92002d44746d3e7db7cf9313cf4452f43e9ea77a2c939defce3b10b5c82",
@@ -65,11 +75,21 @@
6575
"hash": "863714200ada56cbc366dc9ae5291ceb936573155f8bf8e9de92aef51f3ad0f0",
6676
"url": "https://files.pythonhosted.org/packages/98/a0/98fe3aee7a08c7c9d470e38326cefb86372fb08332125d5b0414a22ab49f/black-22.3.0-cp38-cp38-macosx_11_0_arm64.whl"
6777
},
78+
{
79+
"algorithm": "sha256",
80+
"hash": "5891ef8abc06576985de8fa88e95ab70641de6c1fca97e2a15820a9b69e51b20",
81+
"url": "https://files.pythonhosted.org/packages/a4/43/940f848d7d1ecf0be18453a293e5736e9ce60fd6197386a791bcc491f232/black-22.3.0-cp39-cp39-macosx_10_9_universal2.whl"
82+
},
6883
{
6984
"algorithm": "sha256",
7085
"hash": "e8477ec6bbfe0312c128e74644ac8a02ca06bcdb8982d4ee06f209be28cdf163",
7186
"url": "https://files.pythonhosted.org/packages/a9/64/4682e5c7ca539bef71cb9be592f649ff5f1e1134a8e72e2bff8632ade99d/black-22.3.0-cp38-cp38-macosx_10_9_universal2.whl"
7287
},
88+
{
89+
"algorithm": "sha256",
90+
"hash": "30d78ba6bf080eeaf0b7b875d924b15cd46fec5fd044ddfbad38c8ea9171043a",
91+
"url": "https://files.pythonhosted.org/packages/e5/b7/e4e8907dffdac70f018ddb89681dbc77cbc7ac78d1f8a39259110a7e7943/black-22.3.0-cp39-cp39-macosx_10_9_x86_64.whl"
92+
},
7393
{
7494
"algorithm": "sha256",
7595
"hash": "35020b8886c022ced9282b51b5a875b6d1ab0c387b31a065b84db7c33085ca79",
@@ -98,7 +118,7 @@
98118
"uvloop>=0.15.2; extra == \"uvloop\""
99119
],
100120
"requires_python": ">=3.6.2",
101-
"version": "22.3"
121+
"version": "22.3.0"
102122
},
103123
{
104124
"artifacts": [
@@ -181,21 +201,19 @@
181201
"artifacts": [
182202
{
183203
"algorithm": "sha256",
184-
"hash": "090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d",
185-
"url": "https://files.pythonhosted.org/packages/5c/eb/975c7c080f3223a5cdaff09612f3a5221e4ba534f7039db34c35d95fa6a5/mypy_extensions-0.4.3-py2.py3-none-any.whl"
204+
"hash": "4392f6c0eb8a5668a69e23d168ffa70f0be9ccfd32b5cc2d26a34ae5b844552d",
205+
"url": "https://files.pythonhosted.org/packages/2a/e2/5d3f6ada4297caebe1a2add3b126fe800c96f56dbe5d1988a2cbe0b267aa/mypy_extensions-1.0.0-py3-none-any.whl"
186206
},
187207
{
188208
"algorithm": "sha256",
189-
"hash": "2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8",
190-
"url": "https://files.pythonhosted.org/packages/63/60/0582ce2eaced55f65a4406fc97beba256de4b7a95a0034c6576458c6519f/mypy_extensions-0.4.3.tar.gz"
209+
"hash": "75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782",
210+
"url": "https://files.pythonhosted.org/packages/98/a4/1ab47638b92648243faf97a5aeb6ea83059cc3624972ab6b8d2316078d3f/mypy_extensions-1.0.0.tar.gz"
191211
}
192212
],
193213
"project_name": "mypy-extensions",
194-
"requires_dists": [
195-
"typing>=3.5.3; python_version < \"3.5\""
196-
],
197-
"requires_python": null,
198-
"version": "0.4.3"
214+
"requires_dists": [],
215+
"requires_python": ">=3.5",
216+
"version": "1.0.0"
199217
},
200218
{
201219
"artifacts": [
@@ -213,7 +231,7 @@
213231
"project_name": "pathspec",
214232
"requires_dists": [],
215233
"requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7",
216-
"version": "0.9"
234+
"version": "0.9.0"
217235
},
218236
{
219237
"artifacts": [
@@ -240,7 +258,7 @@
240258
"sphinx-autodoc-typehints>=1.12; extra == \"docs\""
241259
],
242260
"requires_python": ">=3.6",
243-
"version": "2.4"
261+
"version": "2.4.0"
244262
},
245263
{
246264
"artifacts": [
@@ -264,8 +282,8 @@
264282
"artifacts": [
265283
{
266284
"algorithm": "sha256",
267-
"hash": "4e964b4ff86550a7a7d56345c7864b18f403f5bd7380edf44a3c1fb4ee7ac6c6",
268-
"url": "https://files.pythonhosted.org/packages/40/1a/5731a1a3908f60032aead10c2ffc9af12ee708bc9a156ed14a5065a9873a/typed_ast-1.5.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl"
285+
"hash": "98f80dee3c03455e92796b58b98ff6ca0b2a6f652120c263efdba4d6c5e58f72",
286+
"url": "https://files.pythonhosted.org/packages/d8/4e/db9505b53c44d7bc324a3d2e09bdf82b0943d6e08b183ae382860f482a87/typed_ast-1.5.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl"
269287
},
270288
{
271289
"algorithm": "sha256",
@@ -277,11 +295,21 @@
277295
"hash": "39e21ceb7388e4bb37f4c679d72707ed46c2fbf2a5609b8b8ebc4b067d977df2",
278296
"url": "https://files.pythonhosted.org/packages/07/d2/d55702e8deba2c80282fea0df53130790d8f398648be589750954c2dcce4/typed_ast-1.5.4.tar.gz"
279297
},
298+
{
299+
"algorithm": "sha256",
300+
"hash": "3e123d878ba170397916557d31c8f589951e353cc95fb7f24f6bb69adc1a8a97",
301+
"url": "https://files.pythonhosted.org/packages/0b/e7/8ec06fc870254889198f933a595f139b7871b24bab1116d6128440731ea9/typed_ast-1.5.4-cp39-cp39-macosx_11_0_arm64.whl"
302+
},
280303
{
281304
"algorithm": "sha256",
282305
"hash": "7d5d014b7daa8b0bf2eaef684295acae12b036d79f54178b92a2b6a56f92278f",
283306
"url": "https://files.pythonhosted.org/packages/2f/87/25abe9558ed6cbd83ad5bfdccf7210a7eefaaf0232f86de99f65992e91fd/typed_ast-1.5.4-cp38-cp38-macosx_11_0_arm64.whl"
284307
},
308+
{
309+
"algorithm": "sha256",
310+
"hash": "ebd9d7f80ccf7a82ac5f88c521115cc55d84e35bf8b446fcd7836eb6b98929a3",
311+
"url": "https://files.pythonhosted.org/packages/2f/d5/02059fe6ca70b11bb831007962323160372ca83843e0bf296e8b6d833198/typed_ast-1.5.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
312+
},
285313
{
286314
"algorithm": "sha256",
287315
"hash": "cf4afcfac006ece570e32d6fa90ab74a17245b83dfd6655a6f68568098345ff6",
@@ -292,6 +320,11 @@
292320
"hash": "a94d55d142c9265f4ea46fab70977a1944ecae359ae867397757d836ea5a3f47",
293321
"url": "https://files.pythonhosted.org/packages/38/54/48f7d5b1f954f3a4d8f76e1a11c8497ae899b900cd5a67f826fa3937f701/typed_ast-1.5.4-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
294322
},
323+
{
324+
"algorithm": "sha256",
325+
"hash": "4e964b4ff86550a7a7d56345c7864b18f403f5bd7380edf44a3c1fb4ee7ac6c6",
326+
"url": "https://files.pythonhosted.org/packages/40/1a/5731a1a3908f60032aead10c2ffc9af12ee708bc9a156ed14a5065a9873a/typed_ast-1.5.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl"
327+
},
295328
{
296329
"algorithm": "sha256",
297330
"hash": "79b1e0869db7c830ba6a981d58711c88b6677506e648496b1f64ac7d15633aec",
@@ -316,6 +349,11 @@
316349
"algorithm": "sha256",
317350
"hash": "183afdf0ec5b1b211724dfef3d2cad2d767cbefac291f24d69b00546c1837fb6",
318351
"url": "https://files.pythonhosted.org/packages/e3/7c/7407838e9c540031439f2948bce2763cdd6882ebb72cc0a25b763c10529e/typed_ast-1.5.4-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl"
352+
},
353+
{
354+
"algorithm": "sha256",
355+
"hash": "4879da6c9b73443f97e731b617184a596ac1235fe91f98d279a7af36c796da35",
356+
"url": "https://files.pythonhosted.org/packages/f9/57/89ac0020d5ffc762487376d0c78e5d02af795657f18c411155b73de3c765/typed_ast-1.5.4-cp39-cp39-macosx_10_9_x86_64.whl"
319357
}
320358
],
321359
"project_name": "typed-ast",
@@ -370,22 +408,22 @@
370408
"sphinx; extra == \"docs\""
371409
],
372410
"requires_python": ">=3.6",
373-
"version": "3.6"
411+
"version": "3.6.0"
374412
}
375413
],
376414
"platform_tag": null
377415
}
378416
],
379417
"path_mappings": {},
380-
"pex_version": "2.1.108",
418+
"pex_version": "2.1.131",
381419
"pip_version": "20.3.4-patched",
382420
"prefer_older_binary": false,
383421
"requirements": [
384422
"black==22.3.0",
385423
"typing-extensions>=3.10.0.0; python_version < \"3.10\""
386424
],
387425
"requires_python": [
388-
"<3.9,>=3.6.2"
426+
"<3.10,>=3.6.2"
389427
],
390428
"resolver_version": "pip-2020-resolver",
391429
"style": "universal",

0 commit comments

Comments
 (0)