8000 Pants: Add GHA workflow to regenerate lockfiles (#6356) · sec-js/st2@fcf41e4 · GitHub
[go: up one dir, main page]

Skip to content

Commit fcf41e4

Browse files
authored
Pants: Add GHA workflow to regenerate lockfiles (StackStorm#6356)
2 parents c5a4186 + 8a99ddd commit fcf41e4

22 files changed

+1303
-455
lines changed

.github/workflows/lockfiles.yaml

Lines changed: 594 additions & 0 deletions
Large diffs are not rendered by default.

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Added
8383
#6118 #6141 #6133 #6120 #6181 #6183 #6200 #6237 #6229 #6240 #6241 #6244 #6251 #6253
8484
#6254 #6258 #6259 #6260 #6269 #6275 #6279 #6278 #6282 #6283 #6273 #6287 #6306 #6307
8585
#6311 #6314 #6315 #6317 #6319 #6312 #6320 #6321 #6323 #6324 #6325 #6326 #6327 #6328
86-
#6329 #6330 #6337
86+
#6329 #6330 #6337 #6356
8787
Contributed by @cognifloyd
8888
* Build of ST2 EL9 packages #6153
8989
Contributed by @amanda11

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ flake8: requirements .flake8
537537
$(VIRTUALENV_ST2CLIENT_DIR)/bin/pip install --upgrade "pip==$(PIP_VERSION)"
538538
$(VIRTUALENV_ST2CLIENT_DIR)/bin/pip install --upgrade "setuptools==$(SETUPTOOLS_VERSION)"
539539

540-
$(VIRTUALENV_ST2CLIENT_DIR)/bin/activate; cd st2client ; ../$(VIRTUALENV_ST2CLIENT_DIR)/bin/python setup.py install ; cd ..
540+
$(VIRTUALENV_ST2CLIENT_DIR)/bin/activate; cd st2client ; ../$(VIRTUALENV_ST2CLIENT_DIR)/bin/pip install . ; cd ..
541541
$(VIRTUALENV_ST2CLIENT_DIR)/bin/st2 --version
542542
$(VIRTUALENV_ST2CLIENT_DIR)/bin/python -c "import st2client"
543543

contrib/examples/actions/pythonactions/forloop_parse_github_repos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def run(self, content):
2727
repo_list = soup.find_all("h3")
2828
output = {}
2929

30-
for each_item in repo_list:
30+
for each_item in repo_list or ():
3131
repo_half_url = each_item.find("a")["href"]
3232
repo_name = repo_half_url.split("/")[-1]
3333
repo_url = "https://github.com" + repo_half_url

fixed-requirements.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,17 @@ pyinotify==0.9.6 ; platform_system=="Linux"
3939
pymongo==4.6.3
4040
pyparsing==3.1.4
4141
zstandard==0.23.0
42-
# pyOpenSSL 23.1.0 supports cryptography up to 40.0.x
43-
#pyOpenSSL==23.1.0
42+
# pyOpenSSL is a candidate for removal and is not in lockfiles/st2.lock since it is not used.
43+
# pyOpenSSL 25.1.0 supports cryptography>=41.0.5,<46
44+
pyOpenSSL<25.2
4445
# 202403: switch from python-editor to editor for py3.10 support
4546
editor==1.6.6
4647
# editor dependency, required here for inclusion in st2client setup.py
4748
pygments==2.19.2
4849
python-keyczar==0.716
4950
pytz==2025.2
5051
pywinrm==0.5.0
51-
pyyaml==6.0.2
52+
pyyaml==6.0.3
5253
redis==6.1.1
5354
requests==2.32.4
5455
# urllib3 is a transitive dep
@@ -59,8 +60,8 @@ semver==3.0.4
5960
six==1.17.0
6061
argparse==1.4.0
6162
argcomplete==3.6.2
62-
prettytable==3.10.2
63-
importlib-metadata==7.1.0
63+
prettytable==3.11.0
64+
importlib-metadata==8.5.0
6465
# 20250909 virtualenv 20.34.0 requires typing-extension>=4.13.2
6566
typing-extensions>=4.13.2; python_version < "3.11"
6667
# NOTE: sseclient has various issues which sometimes hang the connection for a long time, etc.
@@ -79,11 +80,11 @@ webob==1.8.9
7980
webtest==3.0.1
8081
zake==0.2.2
8182
# test requirements below
82-
bcrypt==4.3.0
83+
bcrypt==5.0.0
8384
jinja2==3.1.6
8485
mock==5.2.0
8586
pytest==7.0.1
86-
psutil==7.0.0
87+
psutil==7.1.0
8788
python-dateutil==2.9.0.post0
8889
python-statsd==2.1.0
8990
orjson==3.10.15

lockfiles/bandit.lock

Lines changed: 55 additions & 55 deletions
Large diffs are not rendered by default.

lockfiles/pants-plugins.lock

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -576,13 +576,13 @@
576576
"artifacts": [
577577
{
578578
"algorithm": "sha256",
579-
"hash": "a749938e02d6fd0b59b356ca504a24982314bb090c383e3cf201c95ef7e2bfcf",
580-
"url": "https://files.pythonhosted.org/packages/05/e7/df2285f3d08fee213f2d041540fa4fc9ca6c2d44cf36d3a035bf2a8d2bcc/pyparsing-3.2.3-py3-none-any.whl"
579+
"hash": "e38a4f02064cf41fe6593d328d0512495ad1f3d8a91c4f73fc401b3079a59a5e",
580+
"url": "https://files.pythonhosted.org/packages/10/5e/1aa9a93198c6b64513c9d7752de7422c06402de6600a8767da1524f9570b/pyparsing-3.2.5-py3-none-any.whl"
581581
},
582582
{
583583
"algorithm": "sha256",
584-
"hash": "b9c13f1ab8b3b542f72e28f634bad4de758ab3ce4546e4301970ad6fa77c38be",
585-
"url": "https://files.pythonhosted.org/packages/bb/22/f1129e69d94ffff626bdb5c835506b3a5b4f3d070f17ea295e12c2c6f60f/pyparsing-3.2.3.tar.gz"
584+
"hash": "2df8d5b7b2802ef88e8d016a2eb9c7aeaa923529cd251ed0fe4608275d4105b6",
585+
"url": "https://files.pythonhosted.org/packages/f2/a5/181488fc2b9d093e3972d2a472855aae8a03f000592dbfce716a512b3359/pyparsing-3.2.5.tar.gz"
586586
}
587587
],
588588
"project_name": "pyparsing",
@@ -591,7 +591,7 @@
591591
"railroad-diagrams; extra == \"diagrams\""
592592
],
593593
"requires_python": ">=3.9",
594-
"version": "3.2.3"
594+
"version": "3.2.5"
595595
},
596596
{
597597
"artifacts": [
@@ -658,49 +658,49 @@
658658
"artifacts": [
659659
{
660660
"algorithm": "sha256",
661-
"hash": "797b4f722ffa07cc8d62053e4cff1486fa6dc094105d13fea7b1de7d8bf71c9e",
662-
"url": "https://files.pythonhosted.org/packages/45/73/0f49dacd6e82c9430e46f4a027baa4ca205e8b0a9dce1397f44edc23559d/PyYAML-6.0.2-cp311-cp311-musllinux_1_1_x86_64.whl"
661+
"hash": "37503bfbfc9d2c40b344d06b2199cf0e96e97957ab1c1b546fd4f87e53e5d3e4",
662+
"url": "https://files.pythonhosted.org/packages/f2/6a/b627b4e0c1dd03718543519ffb2f1deea4a1e6d42fbab8021936a4d22589/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_x86_64.whl"
663663
},
664664
{
665665
"algorithm": "sha256",
666-
"hash": "5ac9328ec4831237bec75defaf839f7d4564be1e6b25ac710bd1a96321cc8317",
667-
"url": "https://files.pythonhosted.org/packages/51/16/6af8d6a6b210c8e54f1406a6b9481febf9c64a3109c541567e35a49aa2e7/PyYAML-6.0.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl"
666+
"hash": "d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f",
667+
"url": "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz"
668668
},
669669
{
670670
"algorithm": "sha256",
671-
"hash": "d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e",
672-
"url": "https://files.pythonhosted.org/packages/54/ed/79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17/pyyaml-6.0.2.tar.gz"
671+
"hash": "10892704fc220243f5305762e276552a0395f7beb4dbf9b14ec8fd43b57f126c",
672+
"url": "https://files.pythonhosted.org/packages/0c/62/d2eb46264d4b157dae1275b573017abec435397aa59cbcdab6fc978a8af4/pyyaml-6.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl"
673673
},
674674
{
675675
"algorithm": "sha256",
676-
"hash": "3ad2a3decf9aaba3d29c8f537ac4b243e36bef957511b4766cb0057d32b0be85",
677-
"url": "https://files.pythonhosted.org/packages/75/e4/2c27590dfc9992f73aabbeb9241ae20220bd9452df27483b6e56d3975cc5/PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
676+
"hash": "850774a7879607d3a6f50d36d04f00ee69e7fc816450e5f7e58d7f17f1ae5c00",
677+
"url": "https://files.pythonhosted.org/packages/10/cb/16c3f2cf3266edd25aaa00d6c4350381c8b012ed6f5276675b9eba8d9ff4/pyyaml-6.0.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl"
678678
},
679679
{
680680
"algorithm": "sha256",
681-
"hash": "1e2120ef853f59c7419231f3bf4e7021f1b936f6ebd222406c3b60212205d2ee",
682-
"url": "https://files.pythonhosted.org/packages/8b/62/b9faa998fd185f65c1371643678e4d58254add437edb764a08c5a98fb986/PyYAML-6.0.2-cp311-cp311-macosx_11_0_arm64.whl"
681+
"hash": "652cb6edd41e718550aad172851962662ff2681490a8a711af6a4d288dd96824",
682+
"url": "https://files.pythonhosted.org/packages/16/19/13de8e4377ed53079ee996e1ab0a9c33ec2faf808a4647b7b4c0d46dd239/pyyaml-6.0.3-cp311-cp311-macosx_11_0_arm64.whl"
683683
},
684684
{
685685
"algorithm": "sha256",
686-
"hash": "ff3824dc5261f50c9b0dfb3be22b4567a6f938ccce4587b38952d85fd9e9afe4",
687-
"url": "https://files.pythonhosted.org/packages/9b/97/ecc1abf4a823f5ac61941a9c00fe501b02ac3ab0e373c3857f7d4b83e2b6/PyYAML-6.0.2-cp311-cp311-musllinux_1_1_aarch64.whl"
686+
"hash": "44edc647873928551a01e7a563d7452ccdebee747728c1080d881d68af7b997e",
687+
"url": "https://files.pythonhosted.org/packages/6d/16/a95b6757765b7b031c9374925bb718d55e0a9ba8a1b6a12d25962ea44347/pyyaml-6.0.3-cp311-cp311-macosx_10_13_x86_64.whl"
688688
},
689689
{
690690
"algorithm": "sha256",
691-
"hash": "5d225db5a45f21e78dd9358e58a98702a0302f2659a3c6cd320564b75b86f47c",
692-
"url": "https://files.pythonhosted.org/packages/ad/0c/c804f5f922a9a6563bab712d8dcc70251e8af811fce4524d57c2c0fd49a4/PyYAML-6.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
691+
"hash": "b8bb0864c5a28024fac8a632c443c87c5aa6f215c0b126c449ae1a150412f31d",
692+
"url": "https://files.pythonhosted.org/packages/71/60/917329f640924b18ff085ab889a11c763e0b573da888e8404ff486657602/pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl"
693693
},
694694
{
695695
"algorithm": "sha256",
696-
"hash": "cc1c1159b3d456576af7a3e4d1ba7e6924cb39de8f67111c735f6fc832082774",
697-
"url": "https://files.pythonhosted.org/packages/f8/aa/7af4e81f7acba21a4c6be026da38fd2b872ca46226673c89a758ebdc4fd2/PyYAML-6.0.2-cp311-cp311-macosx_10_9_x86_64.whl"
696+
"hash": "1d37d57ad971609cf3c53ba6a7e365e40660e3be0e5175fa9f2365a379d6095a",
697+
"url": "https://files.pythonhosted.org/packages/dd/6f/529b0f316a9fd167281a6c3826b5583e6192dba792dd55e3203d3f8e655a/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_aarch64.whl"
698698
}
699699
],
700700
"project_name": "pyyaml",
701701
"requires_dists": [],
702702
"requires_python": ">=3.8",
703-
"version": "6.0.2"
703+
"version": "6.0.3"
704704
},
705705
{
706706
"artifacts": [

0 commit comments

Comments
 (0)
0