Skip to content

Commit 9ee7c43

Browse files
committed
Upgrade to Python 3.10
1 parent 7bdcae6 commit 9ee7c43

File tree

5 files changed

+10
-60
lines changed

5 files changed

+10
-60
lines changed

3rdparty/python/default.lock

Lines changed: 6 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// {
77
// "version": 3,
88
// "valid_for_interpreter_constraints": [
9-
// "CPython>=3.8"
9+
// "CPython>=3.10"
1010
// ],
1111
// "generated_with_requirements": [
1212
// "ansicolors",
@@ -72,34 +72,14 @@
7272
"artifacts": [
7373
{
7474
"algorithm": "sha256",
75-
"hash": "dbb0490f0a880700a6cc4d000384baf19c1f4df59fff158d9482d4dbbca2b239",
76-
"url": "https://files.pythonhosted.org/packages/25/8c/c66b21e89da423adc7fef4c898bab75590f6e2b183a2c911d2a324449ccb/numpy-1.24.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
77-
},
78-
{
79-
"algorithm": "sha256",
80-
"hash": "9af91f794d2d3007d91d749ebc955302889261db514eb24caef30e03e8ec1e41",
81-
"url": "https://files.pythonhosted.org/packages/12/18/396e3b4c796527bd5d0c10d591d077643295604ffebe4602baeff1809659/numpy-1.24.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
75+
"hash": "ada6c1e9608ceadaf7020e1deea508b73ace85560a16f51bef26aecb93626a72",
76+
"url": "https://files.pythonhosted.org/packages/b0/26/8fbdd09f9926dffc272cbb266f7079963f774190ba0b5fddf72097b2c728/numpy-1.24.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
8277
},
8378
{
8479
"algorithm": "sha256",
8580
"hash": "4445f472b246cad6514cc09fbb5ecb7aab09ca2acc3c16f29f8dca6c468af501",
8681
"url": "https://files.pythonhosted.org/packages/1e/8a/2e23dd804191f725ff18a30468f316267be41ad07148a97eac5f48aa1d1d/numpy-1.24.0-cp311-cp311-macosx_10_9_x86_64.whl"
8782
},
88-
{
89-
"algorithm": "sha256",
90-
"hash": "2f8e0df2ecc1928ef7256f18e309c9d6229b08b5be859163f5caa59c93d53646",
91-
"url": "https://files.pythonhosted.org/packages/23/5d/b8212319ca51633f5413c58070d7bcd6ffa7922e83cd40cc4090c7467ae8/numpy-1.24.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
92-
},
93-
{
94-
"algorithm": "sha256",
95-
"hash": "ab11f6a7602cf8ea4c093e091938207de3068c5693a0520168ecf4395750f7ea",
96-
"url": "https://files.pythonhosted.org/packages/51/5f/65b0a05c28913932dc6e587abed4b1419eaaef90455273a071c67e9dc7fd/numpy-1.24.0-cp39-cp39-macosx_10_9_x86_64.whl"
97-
},
98-
{
99-
"algorithm": "sha256",
100-
"hash": "0885d9a7666cafe5f9876c57bfee34226e2b2847bfb94c9505e18d81011e5401",
101-
"url": "https://files.pythonhosted.org/packages/59/e4/94188f7b25ab66b5a15c060db09a2a6f0d35ca15c3475c245e3756e5b279/numpy-1.24.0-cp38-cp38-macosx_10_9_x86_64.whl"
102-
},
10383
{
10484
"algorithm": "sha256",
10585
"hash": "c4ab7c9711fe6b235e86487ca74c1b092a6dd59a3cb45b63241ea0a148501853",
@@ -115,21 +95,6 @@
11595
"hash": "7ad6a024a32ee61d18f5b402cd02e9c0e22c0fb9dc23751991b3a16d209d972e",
11696
"url": "https://files.pythonhosted.org/packages/9c/46/49ba030beef06d8a5d64fd533b9f837078b1a84ddda1a4ef18081ba5fbfb/numpy-1.24.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
11797
},
118-
{
119-
"algorithm": "sha256",
120-
"hash": "8b1ddfac6a82d4f3c8e99436c90b9c2c68c0bb14658d1684cdd00f05fab241f5",
121-
"url": "https://files.pythonhosted.org/packages/a8/e7/695aa010663d32e55622fb41fac3e4217b2cfb88a94b7e1c336819e8d4e3/numpy-1.24.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
122-
},
123-
{
124-
"algorithm": "sha256",
125-
"hash": "e63d2157f9fc98cc178870db83b0e0c85acdadd598b134b00ebec9e0db57a01f",
126-
"url": "https://files.pythonhosted.org/packages/ab/2b/89f2038e9e55649e9c1d7f31925d888e7142043047afbcfe79d2e542d6b7/numpy-1.24.0-cp38-cp38-macosx_11_0_arm64.whl"
127-
},
128-
{
129-
"algorithm": "sha256",
130-
"hash": "ada6c1e9608ceadaf7020e1deea508b73ace85560a16f51bef26aecb93626a72",
131-
"url": "https://files.pythonhosted.org/packages/b0/26/8fbdd09f9926dffc272cbb266f7079963f774190ba0b5fddf72097b2c728/numpy-1.24.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
132-
},
13398
{
13499
"algorithm": "sha256",
135100
"hash": "6e73a1f4f5b74a42abb55bc2b3d869f1b38cbc8776da5f8b66bf110284f7a437",
@@ -140,21 +105,6 @@
140105
"hash": "9387c7d6d50e8f8c31e7bfc034241e9c6f4b3eb5db8d118d6487047b922f82af",
141106
"url": "https://files.pythonhosted.org/packages/d6/71/d7125eaa3290ac95a2b7553f559f00daf81616b1db67dad065c4da687df9/numpy-1.24.0-cp310-cp310-macosx_11_0_arm64.whl"
142107
},
143-
{
144-
"algorithm": "sha256",
145-
"hash": "cf8960f72997e56781eb1c2ea256a70124f92a543b384f89e5fb3503a308b1d3",
146-
"url": "https://files.pythonhosted.org/packages/da/aa/a3c32393eacda738e740bed4ff8a037f006b16214010862ef7987661b9a9/numpy-1.24.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
147-
},
148-
{
149-
"algorithm": "sha256",
150-
"hash": "12bba5561d8118981f2f1ff069ecae200c05d7b6c78a5cdac0911f74bc71cbd1",
151-
"url": "https://files.pythonhosted.org/packages/da/f6/a35d900170b4d0d9ab798c167ac3ed58aad90af420f22930205e5292bba9/numpy-1.24.0-cp39-cp39-macosx_11_0_arm64.whl"
152-
},
153-
{
154-
"algorithm": "sha256",
155-
"hash": "4d01f7832fa319a36fd75ba10ea4027c9338ede875792f7bf617f4b45056fc3a",
156-
"url": "https://files.pythonhosted.org/packages/ec/81/c7783e046fc766a0e79b150214b9b04cadc41d08072db7bf6d92848d3887/numpy-1.24.0-pp38-pypy38_pp73-macosx_10_9_x86_64.whl"
157-
},
158108
{
159109
"algorithm": "sha256",
160110
"hash": "f9168790149f917ad8e3cf5047b353fefef753bd50b07c547da0bdf30bc15d91",
@@ -169,14 +119,14 @@
169119
"project_name": "numpy",
170120
"requires_dists": [],
171121
"requires_python": ">=3.8",
172-
"version": "1.24"
122+
"version": "1.24.0"
173123
}
174124
],
175125
"platform_tag": null
176126
}
177127
],
178128
"path_mappings": {},
179-
"pex_version": "2.1.108",
129+
"pex_version": "2.1.111",
180130
"pip_version": "20.3.4-patched",
181131
"prefer_older_binary": false,
182132
"requirements": [
@@ -185,7 +135,7 @@
185135
"numpy"
186136
],
187137
"requires_python": [
188-
">=3.8"
138+
">=3.10"
189139
],
190140
"resolver_version": "pip-2020-resolver",
191141
"style": "universal",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ This allows users to build binaries for different Python versions and operating
223223
entry_point='math_fun.cli.main:main',
224224
platforms=[
225225
'current',
226-
'macosx-10.9-x86_64-cp-38-cp38',
226+
'macosx-10.9-x86_64-cp-310-cp310',
227227
]
228228
)
229229

pants.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ enable_resolves = true
2323
# The default interpreter compatibility for code in this repo. Individual targets can override
2424
# this with the `interpreter_constraints` field. See
2525
# https://www.pantsbuild.org/docs/python-interpreter-compatibility.
26-
interpreter_constraints = [">=3.8"]
26+
interpreter_constraints = [">=3.10"]
2727

2828
[python-bootstrap]
2929
# We search for interpreters on both on the $PATH and in the `$(pyenv root)/versions` folder.

src/docker/math_fun/cli/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM python:3.9
1+
FROM python:3.10
22
ENTRYPOINT ["/bin/app"]
33
COPY src.python.math_fun.cli/math_fun.pex /bin/app

src/python/math_fun/cli/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ pex_binary(
1111
entry_point="math_fun.cli.main:main",
1212
platforms=[
1313
"current",
14-
"macosx-10.9-x86_64-cp-38-cp38",
14+
"macosx-10.9-x86_64-cp-310-cp310",
1515
],
1616
)

0 commit comments

Comments
 (0)