Commit 30e121d
update centos 9 python rpm to 3.12
Summary:
CentOS Stream 9 default is python 3.9, update the manifest to use the available [redhat 3.12 packages](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/installing_and_using_dynamic_programming_languages/assembly_installing-and-using-python_installing-and-using-dynamic-programming-languages)
Sapling needs python 3.10+ as it has modern type declarations and match keyword usage.
I would have taken the RPMS to 3.10 to match ubuntu 22.04 but redhat don't make that available so take it to 3.12 to match upcoming CentOS Stream 10.
Test fixes:
* run-tests.py had a modification while in use error on runningtests.items()
* test-fbconduit.t: updated `eden/scm/sapling/httpclient/__init__.py` as it was using a removed deprecated API. The [new one](https://docs.python.org/3.10/library/ssl.html?highlight=sslcontext%20wrap_socket#ssl.SSLContext.wrap_socket) has been present since python 3.7.
* test-debugfilterid.t: failing as code under test was returning nothing in a non-fb build. It builds ok in non-fb, so removed the conditional compilation
* test-git-shallow.t: was assuming uploadpack.allowFilter was set which is not true on github CI. set it explicitly
Reviewed By: zzl0
Differential Revision: D88010541
fbshipit-source-id: 08a451f16e4725b11e06f78d3db925d0285286a11 parent 5946d1c commit 30e121d
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
0 commit comments