Skip to content

Commit e5a97fa

Browse files
ahornbymeta-codesync[bot]
authored andcommitted
update source python version to 3.10
Summary: Update getdeps source python version to 3.10. This brings in line with ubuntu 22.04 which installs 3.10. Reviewed By: bigfootjon Differential Revision: D88596311 fbshipit-source-id: 80fb650817522e76fad0a996c1c817813e4f3384
1 parent a574869 commit e5a97fa

File tree

1 file changed

+8
-10
lines changed
  • build/fbcode_builder/manifests

1 file changed

+8
-10
lines changed

build/fbcode_builder/manifests/python

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
name = python
33

44
[homebrew]
5-
python@3.8
5+
python@3.10
66

7-
[rpms]
7+
# sapling needs match statements with arrive in python 3.12 in centos 10
8+
[rpms.not(all(distro=centos_stream,distro_vers=9))]
89
python3
910
python3-devel
1011

@@ -13,23 +14,20 @@ python3-devel
1314
python3.12
1415
python3.12-devel
1516

16-
# sapling needs dataclasses which arrive in 3.7, and the bionic python is 3.6
17-
[debs.all(distro=ubuntu,distro_vers="18.04")]
18-
python3.8-dev
19-
20-
[debs.not(all(distro=ubuntu,distro_vers="18.04"))]
17+
# sapling needs match statements with arrive in python 3.10 in ubuntu 22.04
18+
[debs.not(all(distro=ubuntu,any(distro_vers="18.04",distro_vers="20.04")))]
2119
python3-all-dev
2220

2321
[pps]
2422
python3
2523

2624
[download]
27-
url = https://www.python.org/ftp/python/3.8.13/Python-3.8.13.tgz
28-
sha256 = 903b92d76354366b1d9c4434d0c81643345cef87c1600adfa36095d7b00eede4
25+
url = https://www.python.org/ftp/python/3.10.19/Python-3.10.19.tgz
26+
sha256 = a078fb2d7a216071ebbe2e34b5f5355dd6b6e9b0cd1bacc4a41c63990c5a0eec
2927

3028
[build]
3129
builder = autoconf
32-
subdir = Python-3.8.13
30+
subdir = Python-3.10.19
3331

3432
[autoconf.args]
3533
--enable-shared

0 commit comments

Comments
 (0)