Skip to content

Commit c0f4156

Browse files
authored
Upgrade psutil (5.9.8) for arm macOS wheels (Cherry-pick of #20760) (#20773)
This upgrades Pants' dependencies psutil 5.9.0 -> 5.9.8 because the new version has pre-built wheels for ARM platforms (ijson previously had ARM linux, but not macOS; psutil had neither). This papers over the cache weirdness in #20759 / #20765, which is related to having to build `psutil` native code on ARM macOS, and the builder building x86-64 code by default at the moment. This is a partial cherry-pick of #20760, just psutil, to minimise the impact/risk while still unblocking releases. (`ijson` doesn't have native code.)
1 parent cce10d1 commit c0f4156

File tree

2 files changed

+18
-14
lines changed

2 files changed

+18
-14
lines changed

3rdparty/python/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ freezegun==1.2.1
1111
ijson==3.1.4
1212
packaging==21.3
1313
pex==2.2.1
14-
psutil==5.9.0
14+
psutil==5.9.8
1515
# This should be compatible with pytest.py, although it can be looser so that we don't
1616
# over-constrain pantsbuild.pants.testutil
1717
# Pytest 7.1.0 introduced a significant bug that is apparently not fixed as of 7.1.1 (the most

3rdparty/python/user_reqs.lock

+17-13
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// "node-semver==0.9.0",
2424
// "packaging==21.3",
2525
// "pex==2.2.1",
26-
// "psutil==5.9.0",
26+
// "psutil==5.9.8",
2727
// "pydevd-pycharm==203.5419.8",
2828
// "pytest<7.1.0,>=6.2.4",
2929
// "python-gnupg==0.4.9",
@@ -952,23 +952,28 @@
952952
"artifacts": [
953953
{
954954
"algorithm": "sha256",
955-
"hash": "3611e87eea393f779a35b192b46a164b1d01167c9d323dda9b1e527ea69d697d",
956-
"url": "https://files.pythonhosted.org/packages/c4/35/7cec9647be077784d20913404f914fffd8fe6dfd0673e29f7bd822ac1331/psutil-5.9.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
955+
"hash": "d16bbddf0693323b8c6123dd804100241da461e41d6e332fb0ba6058f630f8c8",
956+
"url": "https://files.pythonhosted.org/packages/05/33/2d74d588408caedd065c2497bdb5ef83ce6082db01289a1e1147f6639802/psutil-5.9.8-cp38-abi3-macosx_11_0_arm64.whl"
957957
},
958958
{
959959
"algorithm": "sha256",
960-
"hash": "869842dbd66bb80c3217158e629d6fceaecc3a3166d3d1faee515b05dd26ca25",
961-
"url": "https://files.pythonhosted.org/packages/47/b6/ea8a7728f096a597f0032564e8013b705aa992a0990becd773dcc4d7b4a7/psutil-5.9.0.tar.gz"
960+
"hash": "6be126e3225486dff286a8fb9a06246a5253f4c7c53b475ea5f5ac934e64194c",
961+
"url": "https://files.pythonhosted.org/packages/90/c7/6dc0a455d111f68ee43f27793971cf03fe29b6ef972042549db29eec39a2/psutil-5.9.8.tar.gz"
962962
},
963963
{
964964
"algorithm": "sha256",
965-
"hash": "539e429da49c5d27d5a58e3563886057f8fc3868a5547b4f1876d9c0f007bccf",
966-
"url": "https://files.pythonhosted.org/packages/48/6a/c6e88a5584544033dbb8318c380e7e1e3796e5ac336577eb91dc75bdecd7/psutil-5.9.0-cp39-cp39-macosx_10_9_x86_64.whl"
965+
"hash": "8cb6403ce6d8e047495a701dc7c5bd788add903f8986d523e3e20b98b733e421",
966+
"url": "https://files.pythonhosted.org/packages/b3/bd/28c5f553667116b2598b9cc55908ec435cb7f77a34f2bff3e3ca765b0f78/psutil-5.9.8-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl"
967967
},
968968
{
969969
"algorithm": "sha256",
970-
"hash": "58c7d923dc209225600aec73aa2c4ae8ea33b1ab31bc11ef8a5933b027476f07",
971-
"url": "https://files.pythonhosted.org/packages/f7/b1/82e95f6368dbde6b7e54ea6b18cf8ac3958223540d0bcbde23ba7be19478/psutil-5.9.0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl"
970+
"hash": "d06016f7f8625a1825ba3732081d77c94589dca78b7a3fc072194851e88461a4",
971+
"url": "https://files.pythonhosted.org/packages/c5/4f/0e22aaa246f96d6ac87fe5ebb9c5a693fbe8877f537a1022527c47ca43c5/psutil-5.9.8-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
972+
},
973+
{
974+
"algorithm": "sha256",
975+
"hash": "aee678c8720623dc456fa20659af736241f575d79429a0e5e9cf88ae0605cc81",
976+
"url": "https://files.pythonhosted.org/packages/e7/e3/07ae864a636d70a8a6f58da27cb1179192f1140d5d1da10886ade9405797/psutil-5.9.8-cp36-abi3-macosx_10_9_x86_64.whl"
972977
}
973978
],
974979
"project_name": "psutil",
@@ -977,11 +982,10 @@
977982
"ipaddress; python_version < \"3.0\" and extra == \"test\"",
978983
"mock; python_version < \"3.0\" and extra == \"test\"",
979984
"pywin32; sys_platform == \"win32\" and extra == \"test\"",
980-
"unittest2; python_version < \"3.0\" and extra == \"test\"",
981985
"wmi; sys_platform == \"win32\" and extra == \"test\""
982986
],
983-
"requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.6",
984-
"version": "5.9.0"
987+
"requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7",
988+
"version": "5.9.8"
985989
},
986990
{
987991
"artifacts": [
@@ -2234,7 +2238,7 @@
22342238
"node-semver==0.9.0",
22352239
"packaging==21.3",
22362240
"pex==2.2.1",
2237-
"psutil==5.9.0",
2241+
"psutil==5.9.8",
22382242
"pydevd-pycharm==203.5419.8",
22392243
"pytest<7.1.0,>=6.2.4",
22402244
"python-gnupg==0.4.9",

0 commit comments

Comments
 (0)