Skip to content

Commit 0df575c

Browse files
committed
pants: add requests dep for pants-plugins/release
pants-plugins/release needs requests to call packagecloud APIs. Lockfile diff: lockfiles/pants-plugins.lock [pants-plugins] == Upgraded dependencies == iniconfig 2.0.0 --> 2.1.0 == Added dependencies == certifi 2025.1.31 charset-normalizer 3.4.1 idna 3.10 requests 2.32.3 urllib3 2.3.0
1 parent f0c65cf commit 0df575c

File tree

3 files changed

+178
-8
lines changed

3 files changed

+178
-8
lines changed

lockfiles/pants-plugins.lock

+173-8
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
// ],
1111
// "generated_with_requirements": [
1212
// "pantsbuild.pants.testutil==2.25.0",
13-
// "pantsbuild.pants==2.25.0"
13+
// "pantsbuild.pants==2.25.0",
14+
// "requests"
1415
// ],
1516
// "manylinux": "manylinux2014",
1617
// "requirement_constraints": [],
@@ -107,6 +108,97 @@
107108
"requires_python": ">=3.8",
108109
"version": "25.3.0"
109110
},
111+
{
112+
"artifacts": [
113+
{
114+
"algorithm": "sha256",
115+
"hash": "ca78db4565a652026a4db2bcdf68f2fb589ea80d0be70e03929ed730746b84fe",
116+
"url": "https://files.pythonhosted.org/packages/38/fc/bce832fd4fd99766c04d1ee0eead6b0ec6486fb100ae5e74c1d91292b982/certifi-2025.1.31-py3-none-any.whl"
117+
},
118+
{
119+
"algorithm": "sha256",
120+
"hash": "3d5da6925056f6f18f119200434a4780a94263f10d1c21d032a6f6b2baa20651",
121+
"url": "https://files.pythonhosted.org/packages/1c/ab/c9f1e32b7b1bf505bf26f0ef697775960db7932abeb7b516de930ba2705f/certifi-2025.1.31.tar.gz"
122+
}
123+
],
124+
"project_name": "certifi",
125+
"requires_dists": [],
126+
"requires_python": ">=3.6",
127+
"version": "2025.1.31"
128+
},
129+
{
130+
"artifacts": [
131+
{
132+
"algorithm": "sha256",
133+
"hash": "d98b1668f06378c6dbefec3b92299716b931cd4e6061f3c875a71ced1780ab85",
134+
"url": "https://files.pythonhosted.org/packages/0e/f6/65ecc6878a89bb1c23a086ea335ad4bf21a588990c3f535a227b9eea9108/charset_normalizer-3.4.1-py3-none-any.whl"
135+
},
136+
{
137+
"algorithm": "sha256",
138+
"hash": "44251f18cd68a75b56585dd00dae26183e102cd5e0f9f1466e6df5da2ed64ea3",
139+
"url": "https://files.pythonhosted.org/packages/16/b0/572805e227f01586461c80e0fd25d65a2115599cc9dad142fee4b747c357/charset_normalizer-3.4.1.tar.gz"
140+
},
141+
{
142+
"algorithm": "sha256",
143+
"hash": "4d86f7aff21ee58f26dcf5ae81a9addbd914115cdebcbb2217e4f0ed8982e146",
144+
"url": "https://files.pythonhosted.org/packages/28/a3/a42e70d03cbdabc18997baf4f0227c73591a08041c149e710045c281f97b/charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_i686.whl"
145+
},
146+
{
147+
"algorithm": "sha256",
148+
"hash": "234ac59ea147c59ee4da87a0c0f098e9c8d169f4dc2a159ef720f1a61bbe27cd",
149+
"url": "https://files.pythonhosted.org/packages/37/ed/be39e5258e198655240db5e19e0b11379163ad7070962d6b0c87ed2c4d39/charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl"
150+
},
151+
{
152+
"algorithm": "sha256",
153+
"hash": "237bdbe6159cff53b4f24f397d43c6336c6b0b42affbe857970cefbb620911c8",
154+
"url": "https://files.pythonhosted.org/packages/3d/7b/82865ba54c765560c8433f65e8acb9217cb839a9e32b42af4aa8e945870f/charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_x86_64.whl"
155+
},
156+
{
157+
"algorithm": "sha256",
158+
"hash": "c96836c97b1238e9c9e3fe90844c947d5afbf4f4c92762679acfe19927d81d77",
159+
"url": "https://files.pythonhosted.org/packages/68/85/f4288e96039abdd5aeb5c546fa20a37b50da71b5cf01e75e87f16cd43304/charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_aarch64.whl"
160+
},
161+
{
162+
"algorithm": "sha256",
163+
"hash": "f08ff5e948271dc7e18a35641d2f11a4cd8dfd5634f55228b691e62b37125eb3",
164+
"url": "https://files.pythonhosted.org/packages/71/64/d24ab1a997efb06402e3fc07317e94da358e2585165930d9d59ad45fcae2/charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl"
165+
},
166+
{
167+
"algorithm": "sha256",
168+
"hash": "8bfa33f4f2672964266e940dd22a195989ba31669bd84629f05fab3ef4e2d125",
169+
"url": "https://files.pythonhosted.org/packages/72/80/41ef5d5a7935d2d3a773e3eaebf0a9350542f2cab4eac59a7a4741fbbbbe/charset_normalizer-3.4.1-cp311-cp311-macosx_10_9_universal2.whl"
170+
},
171+
{
172+
"algorithm": "sha256",
173+
"hash": "28bf57629c75e810b6ae989f03c0828d64d6b26a5e205535585f96093e405ed1",
174+
"url": "https://files.pythonhosted.org/packages/7a/28/0b9fefa7b8b080ec492110af6d88aa3dea91c464b17d53474b6e9ba5d2c5/charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
175+
},
176+
{
177+
"algorithm": "sha256",
178+
"hash": "09b5e6733cbd160dcc09589227187e242a30a49ca5cefa5a7edd3f9d19ed53fd",
179+
"url": "https://files.pythonhosted.org/packages/85/e4/65699e8ab3014ecbe6f5c71d1a55d810fb716bbfd74f6283d5c2aa87febf/charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_ppc64le.whl"
180+
},
181+
{
182+
"algorithm": "sha256",
183+
"hash": "fd4ec41f914fa74ad1b8304bbc634b3de73d2a0889bd32076342a573e0779e00",
184+
"url": "https://files.pythonhosted.org/packages/88/83/489e9504711fa05d8dde1574996408026bdbdbd938f23be67deebb5eca92/charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
185+
},
186+
{
187+
"algorithm": "sha256",
188+
"hash": "5777ee0881f9499ed0f71cc82cf873d9a0ca8af166dfa0af8ec4e675b7df48e6",
189+
"url": "https://files.pythonhosted.org/packages/b1/82/8e9fe624cc5374193de6860aba3ea8070f584c8565ee77c168ec13274bd2/charset_normalizer-3.4.1-cp311-cp311-musllinux_1_2_s390x.whl"
190+
},
191+
{
192+
"algorithm": "sha256",
193+
"hash": "eea6ee1db730b3483adf394ea72f808b6e18cf3cb6454b4d86e04fa8c4327a12",
194+
"url": "https://files.pythonhosted.org/packages/c6/c7/32da20821cf387b759ad24627a9aca289d2822de929b8a41b6241767b461/charset_normalizer-3.4.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl"
195+
}
196+
],
197+
"project_name": "charset-normalizer",
198+
"requires_dists": [],
199+
"requires_python": ">=3.7",
200+
"version": "3.4.1"
201+
},
110202
{
111203
"artifacts": [
112204
{
@@ -146,6 +238,29 @@
146238
"requires_python": null,
147239
"version": "0.16.3"
148240
},
241+
{
242+
"artifacts": [
243+
{
244+
"algorithm": "sha256",
245+
"hash": "946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3",
246+
"url": "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl"
247+
},
248+
{
249+
"algorithm": "sha256",
250+
"hash": "12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9",
251+
"url": "https://files.pythonhosted.org/packages/f1/70/7703c29685631f5a7590aa73f1f1d3fa9a380e654b86af429e0934a32f7d/idna-3.10.tar.gz"
252+
}
253+
],
254+
"project_name": "idna",
255+
"requires_dists": [
256+
"flake8>=7.1.1; extra == \"all\"",
257+
"mypy>=1.11.2; extra == \"all\"",
258+
"pytest>=8.3.2; extra == \"all\"",
259+
"ruff>=0.6.2; extra == \"all\""
260+
],
261+
"requires_python": ">=3.6",
262+
"version": "3.10"
263+
},
149264
{
150265
"artifacts": [
151266
{
@@ -208,19 +323,19 @@
208323
"artifacts": [
209324
{
210325
"algorithm": "sha256",
211-
"hash": "b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374",
212-
"url": "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl"
326+
"hash": "9deba5723312380e77435581c6bf4935c94cbfab9b1ed33ef8d238ea168eb760",
327+
"url": "https://files.pythonhosted.org/packages/2c/e1/e6716421ea10d38022b952c159d5161ca1193197fb744506875fbb87ea7b/iniconfig-2.1.0-py3-none-any.whl"
213328
},
214329
{
215330
"algorithm": "sha256",
216-
"hash": "2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3",
217-
"url": "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz"
331+
"hash": "3abbd2e30b36733fee78f9c7f7308f2d0050e88f0087fd25c2645f63c773e1c7",
332+
"url": "https://files.pythonhosted.org/packages/f2/97/ebf4da567aa6827c909642694d71c9fcf53e5b504f2d96afea02718862f3/iniconfig-2.1.0.tar.gz"
218333
}
219334
],
220335
"project_name": "iniconfig",
221336
"requires_dists": [],
222-
"requires_python": ">=3.7",
223-
"version": "2.0.0"
337+
"requires_python": ">=3.8",
338+
"version": "2.1.0"
224339
},
225340
{
226341
"artifacts": [
@@ -596,6 +711,31 @@
596711
"requires_python": ">=3.8",
597712
"version": "6.0.2"
598713
},
714+
{
715+
"artifacts": [
716+
{
717+
"algorithm": "sha256",
718+
"hash": "70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6",
719+
"url": "https://files.pythonhosted.org/packages/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl"
720+
},
721+
{
722+
"algorithm": "sha256",
723+
"hash": "55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760",
724+
"url": "https://files.pythonhosted.org/packages/63/70/2bf7780ad2d390a8d301ad0b550f1581eadbd9a20f896afe06353c2a2913/requests-2.32.3.tar.gz"
725+
}
726+
],
727+
"project_name": "requests",
728+
"requires_dists": [
729+
"PySocks!=1.5.7,>=1.5.6; extra == \"socks\"",
730+
"certifi>=2017.4.17",
731+
"chardet<6,>=3.0.2; extra == \"use-chardet-on-py3\"",
732+
"charset-normalizer<4,>=2",
733+
"idna<4,>=2.5",
734+
"urllib3<3,>=1.21.1"
735+
],
736+
"requires_python": ">=3.8",
737+
"version": "2.32.3"
738+
},
599739
{
600740
"artifacts": [
601741
{
@@ -942,6 +1082,30 @@
9421082
"requires_dists": [],
9431083
"requires_python": ">=3.8",
9441084
"version": "5.10.0"
1085+
},
1086+
{
1087+
"artifacts": [
1088+
{
1089+
"algorithm": "sha256",
1090+
"hash": "1cee9ad369867bfdbbb48b7dd50374c0967a0bb7710050facf0dd6911440e3df",
1091+
"url": "https://files.pythonhosted.org/packages/c8/19/4ec628951a74043532ca2cf5d97b7b14863931476d117c471e8e2b1eb39f/urllib3-2.3.0-py3-none-any.whl"
1092+
},
1093+
{
1094+
"algorithm": "sha256",
1095+
"hash": "f8c5449b3cf0861679ce7e0503c7b44b5ec981bec0d1d3795a07f1ba96f0204d",
1096+
"url": "https://files.pythonhosted.org/packages/aa/63/e53da845320b757bf29ef6a9062f5c669fe997973f966045cb019c3f4b66/urllib3-2.3.0.tar.gz"
1097+
}
1098+
],
1099+
"project_name": "urllib3",
1100+
"requires_dists": [
1101+
"brotli>=1.0.9; platform_python_implementation == \"CPython\" and extra == \"brotli\"",
1102+
"brotlicffi>=0.8.0; platform_python_implementation != \"CPython\" and extra == \"brotli\"",
1103+
"h2<5,>=4; extra == \"h2\"",
1104+
"pysocks!=1.5.7,<2.0,>=1.5.6; extra == \"socks\"",
1105+
"zstandard>=0.18.0; extra == \"zstd\""
1106+
],
1107+
"requires_python": ">=3.9",
1108+
"version": "2.3.0"
9451109
}
9461110
],
9471111
"platform_tag": null
@@ -956,7 +1120,8 @@
9561120
"prefer_older_binary": false,
9571121
"requirements": [
9581122
"pantsbuild.pants.testutil==2.25.0",
959-
"pantsbuild.pants==2.25.0"
1123+
"pantsbuild.pants==2.25.0",
1124+
"requests"
9601125
],
9611126
"requires_python": [
9621127
"==3.11.*"

pants-plugins/release/BUILD

+4
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ python_sources()
33
python_tests(
44
name="tests",
55
)
6+
7+
python_requirements(
8+
name="reqs",
9+
)
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
requests

0 commit comments

Comments
 (0)