-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPython: Conan 2.0 #21387
CPython: Conan 2.0 #21387
Changes from 119 commits
a3c8eb5
342f926
2f838f9
8c8671a
c1c9f2e
960811e
522d5d9
9c83e18
6c496e6
35fac91
ec99e2e
220c472
2e54e11
51a3e11
3cc7f61
1840f62
d0bcea7
f0797ef
c766334
6a1ebd9
1539332
1c2d2d1
a665c98
b8a0b24
fcfd48d
c929422
2f652f8
593edf5
f2705c5
52be52c
a321a73
88e65f7
fa33234
ba87e52
b9e1aeb
ff644f9
26209e1
fbb7fba
8a3917a
d81b6b7
f53738a
9395feb
cf6dec9
a0d2702
82aa4d9
578471b
7b428e8
63fdbf3
d08e7b8
64eee10
81d6828
dd57eec
b106b56
0441c37
f09d467
ef41f8b
fe430fc
7186b13
2e331cf
9d7eb03
8343d90
d98f3cb
7fc8e5f
618394a
e03f786
2f493cd
573a6b8
0674cab
432a0c7
7508a37
d583f21
1df3067
0b11453
57a9e0e
a30449c
54b4073
b7a8468
c944c49
deed04f
6736abc
1e6239c
88ce9db
c943a13
aae9fd3
c5d51eb
0ecd157
4b067d5
0821d0a
2ae86ce
f00e0a2
d080513
9cadebb
0f50e2b
a1ec0a8
d6618da
f9ae2c3
a56d3b4
8113bf7
b2e80a3
f4631a0
60dd9cd
0532b59
667851f
67837e1
05c21d2
9e11ec1
6dbc07b
dc6ce06
c9aa535
83ebccf
f2e8a51
8907f71
3916a16
8a07345
8e7f697
73e25ce
93fc5a2
724f95f
ab8ca5f
9466a2b
bc6d232
3988348
c5fa0c5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,65 +8,58 @@ | |
"3.8.12": | ||
url: "https://www.python.org/ftp/python/3.8.12/Python-3.8.12.tgz" | ||
sha256: "316aa33f3b7707d041e73f246efedb297a70898c4b91f127f66dc8d80c596f1a" | ||
"3.7.12": | ||
url: "https://www.python.org/ftp/python/3.7.12/Python-3.7.12.tgz" | ||
sha256: "33b4daaf831be19219659466d12645f87ecec6eb21d4d9f9711018a7b66cce46" | ||
"2.7.18": | ||
url: "https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz" | ||
sha256: "da3080e3b488f648a3d7a4560ddee895284c3380b11d6de75edb986526b9a814" | ||
patches: | ||
"3.10.0": | ||
- patch_file: "patches/3.10.0-0001-msvc.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/3.9.7-0002-_msi-vcxproj.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/3.10.0-0003-_ctypes-ffi.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/3.10.0-0004-setup.py-pass-CFLAGS-CPPFLAGS.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/3.10.0-0005-disable-macos-tcltk.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/3.10/3.10.0-0001-msvc.patch" | ||
patch_description: "Version specific patches to MSVC projects to allow injection of dependencies" | ||
patch_type: "conan" | ||
- patch_file: "patches/3.9/3.9.7-0002-_msi-vcxproj.patch" | ||
patch_description: "Fix ARM/ARM64 mismatch in project file" | ||
patch_type: "bugfix" | ||
- patch_file: "patches/3.10/3.10.0-0003-_ctypes-ffi.patch" | ||
Check warning on line 19 in recipes/cpython/all/conandata.yml GitHub Actions / Lint changed files (YAML files)conandata.yml schema warning
|
||
patch_description: "Remove duplicate libffi symbols and support shared libffi" | ||
patch_type: "portability" | ||
- patch_file: "patches/3.10/3.10.0-0004-setup.py-pass-CFLAGS-CPPFLAGS.patch" | ||
patch_description: "Pass C and CPP flags from configure script to setup.py" | ||
patch_type: "bugfix" | ||
- patch_file: "patches/3.10/3.10.0-0005-disable-macos-tcltk.patch" | ||
Check warning on line 25 in recipes/cpython/all/conandata.yml GitHub Actions / Lint changed files (YAML files)conandata.yml schema warning
|
||
patch_description: "Unconditionally enable tcl/tk on Mac" | ||
patch_type: "conan" | ||
- patch_file: "patches/3.x-0001-relocatable-python-config.patch" | ||
base_path: "source_subfolder" | ||
patch_description: "Allow package to be relocatable" | ||
patch_type: "conan" | ||
"3.9.7": | ||
- patch_file: "patches/3.9.7-0001-msvc.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/3.9.7-0002-_msi-vcxproj.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/3.9.7-0003-_ctypes-ffi.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/3.9.7-0004-setup.py-pass-CFLAGS-CPPFLAGS.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/3.9.7-0005-disable-macos-tcltk.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/3.9/3.9.7-0001-msvc.patch" | ||
patch_description: "Version specific patches to MSVC projects to allow injection of dependencies" | ||
patch_type: "conan" | ||
- patch_file: "patches/3.9/3.9.7-0002-_msi-vcxproj.patch" | ||
patch_description: "Fix ARM/ARM64 mismatch in project file" | ||
patch_type: "bugfix" | ||
- patch_file: "patches/3.9/3.9.7-0003-_ctypes-ffi.patch" | ||
patch_description: "Remove duplicate libffi symbols and support shared libffi" | ||
Check warning on line 39 in recipes/cpython/all/conandata.yml GitHub Actions / Lint changed files (YAML files)conandata.yml schema warning
|
||
patch_type: "portability" | ||
- patch_file: "patches/3.9/3.9.7-0004-setup.py-pass-CFLAGS-CPPFLAGS.patch" | ||
patch_description: "Pass C and CPP flags from configure script to setup.py" | ||
patch_type: "bugfix" | ||
- patch_file: "patches/3.9/3.9.7-0005-disable-macos-tcltk.patch" | ||
patch_description: "Unconditionally enable tcl/tk on Mac" | ||
Check warning on line 45 in recipes/cpython/all/conandata.yml GitHub Actions / Lint changed files (YAML files)conandata.yml schema warning
|
||
patch_type: "conan" | ||
- patch_file: "patches/3.x-0001-relocatable-python-config.patch" | ||
base_path: "source_subfolder" | ||
patch_description: "Allow package to be relocatable" | ||
patch_type: "conan" | ||
"3.8.12": | ||
- patch_file: "patches/3.8.12-0001-msvc.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/3.8.12-0002-_ctypes-ffi.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/3.8.12-0003-setup.py-pass-CFLAGS-CPPFLAGS.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/3.8.12-0004-disable-macos-tcltk.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/3.8/3.8.12-0001-msvc.patch" | ||
patch_description: "Version specific patches to MSVC projects to allow injection of dependencies" | ||
patch_type: "conan" | ||
- patch_file: "patches/3.8/3.8.12-0002-_ctypes-ffi.patch" | ||
patch_description: "Remove duplicate libffi symbols and support shared libffi" | ||
patch_type: "portability" | ||
- patch_file: "patches/3.8/3.8.12-0003-setup.py-pass-CFLAGS-CPPFLAGS.patch" | ||
patch_description: "Pass C and CPP flags from configure script to setup.py" | ||
patch_type: "bugfix" | ||
- patch_file: "patches/3.8/3.8.12-0004-disable-macos-tcltk.patch" | ||
patch_description: "Unconditionally enable tcl/tk on Mac" | ||
patch_type: "conan" | ||
Check warning on line 62 in recipes/cpython/all/conandata.yml GitHub Actions / Lint changed files (YAML files)conandata.yml schema warning
|
||
- patch_file: "patches/3.x-0001-relocatable-python-config.patch" | ||
base_path: "source_subfolder" | ||
"3.7.12": | ||
- patch_file: "patches/3.7.9-0001-msvc.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/3.7.9-0002-setup.py-pass-CFLAGS-CPPFLAGS.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/3.7.9-0003-disable-macos-tcltk.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/3.x-0001-relocatable-python-config.patch" | ||
base_path: "source_subfolder" | ||
"2.7.18": | ||
- patch_file: "patches/2.7.18-0001-msvc.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/2.7.18-0002-add-support-msvc-14.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/2.7.18-0003-msvc-fix-static.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/2.7.18-0004-disable-macos-tcltk.patch" | ||
base_path: "source_subfolder" | ||
patch_description: "Allow package to be relocatable" | ||
patch_type: "conan" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the shake of the recipe being perfect, can we get the rest of the patch fields added for patches? It will make future maintainability so much easier!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do plan on removing the MSVC patches in a future PR, but for now I can document all of them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finally got around to adding these. A few notes on some of the patches, some are irrelevant upstream as the relevant sections have been removed for one reason or another:
patches/3.9/3.9.7-0002-_msi-vcxproj.patch
:msilib
is removed in 3.13: python/cpython#104911patches/3.10/3.10.0-0004-setup.py-pass-CFLAGS-CPPFLAGS.patch
: The setup.py script is entirely removed in 3.12patches/3.10/3.10.0-0005-disable-macos-tcltk.patch
: This is in setup.py, I think the relevant section is removed in 3.11, though again regardless the whole script is removed in 3.12