Skip to content
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: Condense patching, update patch versions, and add 3.11/3.12 #22599

Merged
merged 225 commits into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
225 commits
Select commit Hold shift + click to select a range
a3c8eb5
wip
memsharded Jun 20, 2023
342f926
cpython: migrate to Conan v2
valgur Oct 4, 2023
2f838f9
Merge branch 'migrate/cpython' into cpython
valgur Oct 5, 2023
8c8671a
cpython: fix autotools install step
valgur Oct 5, 2023
c1c9f2e
cpython: fix libuuid requirement
valgur Oct 5, 2023
960811e
cpython: update test_package
valgur Oct 5, 2023
522d5d9
cpython: temporarily disable FindPythonX tests
valgur Oct 5, 2023
9c83e18
cpython: package_type should be "library"
valgur Oct 6, 2023
6c496e6
cpython: tidy
valgur Oct 6, 2023
35fac91
cpython: ncurses is required transitively
valgur Oct 6, 2023
ec99e2e
cpython: fix shared test
valgur Oct 6, 2023
220c472
cpython: use cpp_info.aggregated_components() for deps
valgur Nov 13, 2023
2e54e11
cpython: bsddb has been remove in Python 3
valgur Nov 13, 2023
51a3e11
cpython: fix openssl support
valgur Nov 13, 2023
3cc7f61
Fix package layout
Ahajha Nov 23, 2023
1840f62
Fix new generators in test package
Ahajha Nov 25, 2023
d0bcea7
Misc fixes
Ahajha Nov 25, 2023
f0797ef
Remove redundant test
Ahajha Nov 25, 2023
c766334
Add FIXMEs
Ahajha Nov 25, 2023
6a1ebd9
Fix running test package multiple times in a row
Ahajha Nov 25, 2023
1539332
Handle conan 1/2 differences in test_package
Ahajha Nov 25, 2023
1c2d2d1
Fix MSBuild
Nov 26, 2023
a665c98
Misc Conan 2.0 fixes
Nov 26, 2023
b8a0b24
cpython: minor tweaks, bump deps
valgur Nov 26, 2023
fcfd48d
cpython: use altinstall
valgur Nov 26, 2023
c929422
Comment out versions with broken patches for now
Ahajha Nov 28, 2023
2f652f8
Fix Autotools build
Ahajha Nov 30, 2023
593edf5
Restore old versions, temp remove 2.7.18
Dec 1, 2023
f2705c5
Temp remove CPython 2.7.18
Dec 1, 2023
52be52c
Temp remove 2.7.18
Dec 1, 2023
a321a73
Misc MSVC fixes
Dec 1, 2023
88e65f7
Fix Windows/static build
Dec 3, 2023
fa33234
Readd old test_package as test_v1_package
Dec 3, 2023
ba87e52
Add conanrun env to test package self.runs
Ahajha Dec 3, 2023
b9e1aeb
Fix Linux shared build
Ahajha Dec 3, 2023
ff644f9
Shared by default, don't delete compiler in package ID
Ahajha Dec 3, 2023
26209e1
Misc Mac fixes/cleanup
Ahajha Dec 4, 2023
fbb7fba
libxcrypt is transitive
Ahajha Dec 4, 2023
8a3917a
Static by default for now
Ahajha Dec 4, 2023
d81b6b7
Attempt to fix 3.7 on Mac
Ahajha Dec 5, 2023
f53738a
Remove ssl module FIXME
Ahajha Dec 5, 2023
9395feb
self.settings.arch
Ahajha Dec 5, 2023
cf6dec9
Try using vendored libffi for mac on <3.9
Dec 8, 2023
a0d2702
Fix PYTHONHOME on Linux, always set PYTHONHOME for test
Ahajha Dec 15, 2023
82aa4d9
Merge branch 'master' into valgur-fork/cpython
Ahajha Dec 18, 2023
578471b
Try vendored libffi on mac in debug mode
Dec 28, 2023
7b428e8
Merge branch 'valgur-fork/cpython' of https://github.com/Ahajha/conan…
Dec 28, 2023
63fdbf3
Merge branch 'master' into valgur-fork/cpython
Ahajha Dec 28, 2023
d08e7b8
Merge branch 'master' into valgur-fork/cpython
Ahajha Dec 30, 2023
64eee10
Remove "dynamic" check
Dec 30, 2023
81d6828
Remove force on versions
Dec 30, 2023
dd57eec
Merge branch 'valgur-fork/cpython' of https://github.com/Ahajha/conan…
Dec 30, 2023
b106b56
Use Version() when comparing versions
Dec 31, 2023
0441c37
Use a virtualrunenv in build, revert ffi changes
Jan 2, 2024
f09d467
Merge branch 'master' into valgur-fork/cpython
Ahajha Jan 6, 2024
ef41f8b
Bandaid fix for Linux
Jan 6, 2024
fe430fc
Use virtualrunenvs in v1 test package also
Jan 7, 2024
7186b13
Skip 3.7 build on M1 macs
Jan 7, 2024
2e331cf
Set platform toolset directly on <3.8
Jan 7, 2024
9d7eb03
Fix issue with pip installed cmake
Jan 7, 2024
8343d90
Python 2 compat in test_package.py
Jan 7, 2024
d98f3cb
Re-add Python 2.7 + workarounds for MSVC
Jan 7, 2024
7fc8e5f
Misc pre-3.8 msvc fixes
Jan 7, 2024
618394a
Fix python 2 on Linux
Ahajha Jan 7, 2024
e03f786
Add 2.7.18 to config.yml
Ahajha Jan 7, 2024
2f493cd
Merge branch 'master' into valgur-fork/cpython
Ahajha Jan 10, 2024
573a6b8
Remove includedirs for all components other than the main one
Jan 10, 2024
0674cab
Merge branch 'valgur-fork/cpython' of https://github.com/Ahajha/conan…
Jan 10, 2024
432a0c7
Use msvc_runtime_flag
Jan 10, 2024
7508a37
Merge branch 'master' into valgur-fork/cpython
Ahajha Jan 11, 2024
d583f21
Misc MSVC fixes
Jan 12, 2024
1df3067
Merge branch 'valgur-fork/cpython' of https://github.com/Ahajha/conan…
Jan 12, 2024
0b11453
Skip building _freeze_importlib, fix 3.7.12 in msvc Debug MDd
Jan 13, 2024
57a9e0e
Shot in the dark attempt at fixing Mac issue
Jan 13, 2024
a30449c
Unconditionally generate VCVars in test package
Jan 14, 2024
54b4073
Print config.log if autotools configure fails
Ahajha Jan 14, 2024
b7a8468
Skip spam module test in 2.7 (debug, MDd) as well
Jan 14, 2024
c944c49
Merge branch 'valgur-fork/cpython' of https://github.com/Ahajha/conan…
Jan 14, 2024
0ebae9f
Remove unnecessary removals from pcbuild.sln
Jan 15, 2024
deed04f
Merge branch 'master' into valgur-fork/cpython
Ahajha Jan 15, 2024
2c51b26
Inject _bz2 programmatically
Jan 15, 2024
6736abc
Merge branch 'master' into valgur-fork/cpython
AbrilRBS Jan 16, 2024
1e6239c
Merge branch 'master' into valgur-fork/cpython
Ahajha Jan 16, 2024
cf5051e
Also programattically patch bz2 in python 2.7
Jan 17, 2024
e0a8a7d
Dynamically patch _elementtree, _ctypes, and _decimal projects
Jan 17, 2024
be3f3f3
Patch pyexpat project programmatically
Jan 17, 2024
9eac29b
Inject libdb programmatically
Jan 17, 2024
282370a
Inject openssl into hashlib programmatically
Jan 17, 2024
228e20b
Inject xz_utils programattically
Jan 17, 2024
f8dce2c
Programattically inject sqlite
Jan 17, 2024
958b155
Programmatically inject openssl into _ssl project
Jan 17, 2024
0dd65fa
Programmatically inject tk into _tkinter project
Jan 17, 2024
05d8db5
Programmatically inject zlib into pythoncore project
Jan 17, 2024
63f6209
Remove/simplify redundant patching code
Jan 17, 2024
3d1fcd0
Minor cleanup
Jan 17, 2024
8f66d98
Refactor into _regex_replace_in_file
Jan 17, 2024
e574f20
Refactoring of injection of conan props files
Jan 17, 2024
4007268
More refactoring for props file injecting
Jan 17, 2024
aa2dcfa
Programmatically remove parts of _ctypes project
Jan 17, 2024
375d9c2
Programmatically remove parts of _ctypes (patches)
Jan 17, 2024
a91d026
Patch _decimal project programmatically
Jan 17, 2024
e03e84a
Remove sqlite project programmatically
Jan 17, 2024
784c72b
Remove sqlite project programatically (patches)
Jan 17, 2024
a307b6a
Remove lzma project include programmatically
Jan 17, 2024
e3e29d1
Remove openssl props import programmatically
Jan 17, 2024
dadfc6f
Programmatically patch pyexpat project
Jan 18, 2024
11cf288
Patch _elementtree project programmatically
Jan 18, 2024
88ce9db
Allow MSVC/Debug/dynamic with newer libffi
Jan 20, 2024
c943a13
Test package cleanup
Jan 20, 2024
aae9fd3
Fix Debug MSVC test package
Jan 21, 2024
c5d51eb
Use test_package/test_package.py in test_v1_package
Jan 21, 2024
0ecd157
Fix conditional _d in debug mode
Jan 21, 2024
4b067d5
Add -Wl,--as-needed
Ahajha Jan 25, 2024
0821d0a
Use extra_ldflags instead
Ahajha Jan 25, 2024
2ae86ce
Don't use -Wl,--as-needed on Apple OSs
Ahajha Jan 26, 2024
f00e0a2
Merge branch 'conan-io:master' into valgur-fork/cpython
Ahajha Jan 26, 2024
a426207
Programmatically patch pythoncore project
Ahajha Jan 30, 2024
0741df9
Remove pythoncore patches
Ahajha Jan 30, 2024
0f622f5
Remove unnecessary(?) patch
Ahajha Jan 30, 2024
6aab009
Programmatically patch _tkinter project
Ahajha Jan 30, 2024
da13ba6
Programmatically patch _lzma project
Ahajha Jan 30, 2024
d080513
Manually inject platform toolset on 3.8.x
Ahajha Jan 30, 2024
00b1b68
Merge branch 'valgur-fork/cpython' into update-cpython
Ahajha Jan 30, 2024
7a9fbf9
Programmatically patch python project
Ahajha Jan 30, 2024
c553826
Programmatically patch _freeze_importlib
Ahajha Jan 30, 2024
6d93312
Programmatically patch _ssl project, remove empty MSVC patches
Ahajha Jan 30, 2024
2c98696
Misc python 2 fixes
Ahajha Jan 30, 2024
d86435b
Programmatically patch setup py to skip tkinter detection
Ahajha Jan 30, 2024
61db7bd
Programmatically patch ini CFLAGS and CPPFLAGS
Ahajha Jan 30, 2024
1a0104a
Update 3.8.12 to 3.8.18
Ahajha Jan 30, 2024
268a548
Don't use use_2to3 after it is deprecated
Ahajha Jan 30, 2024
5b89802
Update 3.9.7 to 3.9.18
Ahajha Jan 30, 2024
a4c5f49
Update 3.10.0 to 3.10.13
Ahajha Jan 30, 2024
9cadebb
Always manually specify the platform toolset
Ahajha Jan 30, 2024
3b691b7
Merge branch 'valgur-fork/cpython' into update-cpython
Ahajha Jan 30, 2024
0d038c9
Fix MSVC static
Ahajha Jan 30, 2024
eb86733
Fix 3.7 patching
Ahajha Jan 30, 2024
59673d8
Update 3.7.12 to 3.7.17
Ahajha Jan 30, 2024
b76b452
Add 3.11.7 (likely only MSVC works for now)
Ahajha Jan 30, 2024
deb4d44
Add 3.12.1 (likely only working on Windows for now)
Ahajha Jan 30, 2024
e72709d
Update config.yml
Ahajha Jan 31, 2024
e210baf
Remove Py_SetProgramName (deprecated in 3.11)
Ahajha Feb 1, 2024
05bc5b9
Fix 3.12 on Linux
Ahajha Feb 1, 2024
0a24d47
Fix 3.11 on Linux
Ahajha Feb 1, 2024
189334e
Disable GCC 9 build
Ahajha Feb 1, 2024
b396399
Cleanup test_v1_package
Ahajha Feb 1, 2024
e7890a5
Only disable 3.12.1 GCC 9 build
Ahajha Feb 1, 2024
30eb385
Use pkgconfig tool requirement
Ahajha Feb 1, 2024
9711dd4
Another shot in the dark attempt at fixing MacOS sporadic failure
Ahajha Feb 1, 2024
0f50e2b
Merge branch 'master' into valgur-fork/cpython
Ahajha Feb 5, 2024
271580d
Update to 3.12.2 and 3.11.8
Ahajha Feb 8, 2024
a1ec0a8
Update dependencies
Ahajha Feb 9, 2024
d6618da
Add patch descriptions
Ahajha Feb 9, 2024
f9ae2c3
Enable short paths
Ahajha Feb 9, 2024
a56d3b4
Add link to nis system library
Ahajha Feb 9, 2024
8113bf7
nis -> nsl
Ahajha Feb 9, 2024
b2e80a3
Merge branch 'master' into valgur-fork/cpython
Ahajha Feb 10, 2024
b04390b
Merge branch 'valgur-fork/cpython' into update-cpython
Ahajha Feb 10, 2024
27b6bf0
Add final newline
Ahajha Feb 10, 2024
f4631a0
Simplify pkg-config info
Ahajha Feb 10, 2024
60dd9cd
Check for Linux or FreeBSD
Ahajha Feb 10, 2024
0532b59
Fix disabling sqlite3 (on Linux at least)
Ahajha Feb 10, 2024
667851f
Simplify some file removing
Ahajha Feb 12, 2024
67837e1
rm unnecessary rm
Ahajha Feb 12, 2024
3e3c1e7
Simplify pkg-config info
Ahajha Feb 10, 2024
ea0e316
Check for Linux or FreeBSD
Ahajha Feb 10, 2024
3231e9f
Fix disabling sqlite3 (on Linux at least)
Ahajha Feb 10, 2024
f5e379d
Simplify some file removing
Ahajha Feb 12, 2024
19411f4
rm unnecessary rm
Ahajha Feb 12, 2024
c45a64f
Disable GCC 9 build on 3.12 as a whole
Ahajha Feb 13, 2024
05c21d2
Misc configure variable cleanup
Ahajha Feb 15, 2024
9e11ec1
Point test_v1_package to test_package sources
Ahajha Feb 15, 2024
6dbc07b
Fix lint warning
Ahajha Feb 15, 2024
dc6ce06
Diff cleanup
Ahajha Feb 15, 2024
4e6029a
Merge branch 'valgur-fork/cpython' into update-cpython
Ahajha Feb 15, 2024
d481a28
Conditionally add --with-system-ffi
Ahajha Feb 15, 2024
c9aa535
Merge branch 'master' into valgur-fork/cpython
Ahajha Mar 4, 2024
83ebccf
Merge branch 'master' into valgur-fork/cpython
Ahajha Mar 4, 2024
b0b7251
Merge branch 'master' into update-cpython
Ahajha Mar 4, 2024
7154b33
Merge branch 'master' into update-cpython
Ahajha Mar 4, 2024
f2e8a51
Misc test package cleanup
Ahajha Mar 15, 2024
8907f71
Bump xz_utils
Ahajha Mar 15, 2024
3916a16
Bump xz_utils
Ahajha Mar 15, 2024
8a07345
Fix pymalloc argument
Ahajha Mar 15, 2024
8e7f697
Don't read SSL config file
Ahajha Mar 15, 2024
a4b0a60
Merge branch 'valgur-fork/cpython' into update-cpython
Ahajha Mar 16, 2024
0bf3325
xcrypt is not transitive in newer versions
Ahajha Mar 16, 2024
73e25ce
Bandaid fix for test package overflowing Windows max path length
Ahajha Mar 18, 2024
c6d3ed7
Merge branch 'valgur-fork/cpython' into update-cpython
Ahajha Mar 18, 2024
f537347
Fix some lints
Ahajha Mar 18, 2024
93fc5a2
Remove EOL versions
Ahajha Mar 18, 2024
724f95f
Merge branch 'master' into valgur-fork/cpython
Ahajha Mar 18, 2024
f63ad33
Merge branch 'valgur-fork/cpython' into update-cpython
Ahajha Mar 18, 2024
3a50a6b
Remove <3.8 logic
Ahajha Mar 18, 2024
f8e1d5c
Fix more <3.8 logic
Ahajha Mar 18, 2024
ebb9e07
Small fix
Ahajha Mar 18, 2024
ab8ca5f
Remove calculated Python major version
Ahajha Mar 18, 2024
abf8f8a
Merge branch 'valgur-fork/cpython' into update-cpython
Ahajha Mar 18, 2024
f7da737
Merge branch 'master' into update-cpython
Ahajha Mar 19, 2024
9466a2b
Use autotools.install() directly
Ahajha Mar 20, 2024
bc6d232
Remove outdated configure flags and some hacks
Ahajha Mar 20, 2024
3988348
Add 2.0 versions of env variables
Ahajha Mar 20, 2024
c5fa0c5
Remove PYTHONHOME from env info for now
Ahajha Mar 20, 2024
380b76b
Bump patch versions of 3.8/9/10
Ahajha Mar 20, 2024
d4a5015
Merge branch 'valgur-fork/cpython' into update-cpython
Ahajha Mar 20, 2024
bca251b
Merge branch 'master' into update-cpython
Ahajha Mar 20, 2024
48345cc
Merge branch 'master' into update-cpython
Ahajha Mar 21, 2024
ff601f1
Merge branch 'master' into update-cpython
Ahajha Mar 21, 2024
c0e706a
Remove unused import
Ahajha Mar 21, 2024
8ee4362
Merge branch 'master' into update-cpython
Ahajha Mar 25, 2024
eb09056
Fix running test package with spaces in path
Ahajha Mar 25, 2024
9f3a54a
Merge branch 'update-cpython' of https://github.com/Ahajha/conan-cent…
Ahajha Mar 25, 2024
75f57eb
Merge branch 'master' into update-cpython
Ahajha Mar 27, 2024
61c5d9b
Only link to ncursesw and tinfo
Ahajha Mar 27, 2024
d048096
Fix typo
Ahajha Mar 27, 2024
d9c3f9b
Add context comments to most MSVC replace_in_files
Ahajha Mar 28, 2024
61214ba
Merge branch 'master' into update-cpython
Ahajha Mar 31, 2024
f5e11bc
Merge remote-tracking branch 'origin/master' into update-cpython
Ahajha Mar 31, 2024
c26ee51
Merge branch 'master' into update-cpython
Ahajha Apr 2, 2024
b1f784e
Update to 3.11.9
Ahajha Apr 3, 2024
e0fda5c
Add workaround for multithreaded install bug
Ahajha Apr 3, 2024
1aa229b
Remove useless MSVC patch
Ahajha Apr 4, 2024
66ad791
Merge branch 'master' into update-cpython
Ahajha Apr 4, 2024
aea1d14
Convert pkgconfig aliases to list
Ahajha Apr 5, 2024
99d30a8
Merge branch 'master' into update-cpython
Ahajha Apr 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 50 additions & 36 deletions recipes/cpython/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,65 +1,79 @@
sources:
"3.10.0":
url: "https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz"
sha256: "c4e0cbad57c90690cb813fb4663ef670b4d0f587d8171e2c42bd4c9245bd2758"
"3.9.7":
url: "https://www.python.org/ftp/python/3.9.7/Python-3.9.7.tgz"
sha256: "a838d3f9360d157040142b715db34f0218e535333696a5569dc6f854604eb9d1"
"3.8.12":
url: "https://www.python.org/ftp/python/3.8.12/Python-3.8.12.tgz"
sha256: "316aa33f3b7707d041e73f246efedb297a70898c4b91f127f66dc8d80c596f1a"
"3.12.2":
url: "https://www.python.org/ftp/python/3.12.2/Python-3.12.2.tgz"
sha256: "a7c4f6a9dc423d8c328003254ab0c9338b83037bd787d680826a5bf84308116e"
"3.11.9":
url: "https://www.python.org/ftp/python/3.11.9/Python-3.11.9.tgz"
sha256: "e7de3240a8bc2b1e1ba5c81bf943f06861ff494b69fda990ce2722a504c6153d"
"3.10.14":
url: "https://www.python.org/ftp/python/3.10.14/Python-3.10.14.tgz"
sha256: "cefea32d3be89c02436711c95a45c7f8e880105514b78680c14fe76f5709a0f6"
"3.9.19":
url: "https://www.python.org/ftp/python/3.9.19/Python-3.9.19.tgz"
sha256: "f5f9ec8088abca9e399c3b62fd8ef31dbd2e1472c0ccb35070d4d136821aaf71"
"3.8.19":
url: "https://www.python.org/ftp/python/3.8.19/Python-3.8.19.tgz"
sha256: "c7fa55a36e5c7a19ec37d8f90f60a2197548908c9ac8b31e7c0dbffdd470eeac"
patches:
"3.10.0":
- patch_file: "patches/3.10/3.10.0-0001-msvc.patch"
patch_description: "Version specific patches to MSVC projects to allow injection of dependencies"
"3.12.2":
- patch_file: "patches/3.9/3.9.7-0002-_msi-vcxproj.patch"
patch_description: "Fix ARM/ARM64 mismatch in project file"
patch_type: "bugfix"

Check warning on line 21 in recipes/cpython/all/conandata.yml

View workflow job for this annotation

GitHub Actions / Lint changed files (YAML files)

conandata.yml schema warning

'patch_type' should have 'patch_source' as per https://github.com/conan-io/conan-center-index/blob/master/docs/adding_packages/conandata_yml_format.md#patch_type it is expected to have a source (e.g. a URL) to where it originates from to help with reviewing and consumers to evaluate patches
- patch_file: "patches/3.12/3.12.1-0001-_ctypes-ffi.patch"
patch_description: "Support shared libffi"
patch_type: "portability"
- patch_file: "patches/3.x-0001-relocatable-python-config.patch"
patch_description: "Allow package to be relocatable"
patch_type: "conan"
- patch_file: "patches/3.12/3.12.1-0002-remove-module-deps.patch"
patch_description: "Remove section of solution file forcing projects to be built that might not be used for this recipe"
patch_type: "conan"
"3.11.8":
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Ahajha is this a typo?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yea it is. I have another PR out, I'll fix it in that one.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, great!

- 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.11/3.11.7-0001-_ctypes-ffi.patch"

Check warning on line 35 in recipes/cpython/all/conandata.yml

View workflow job for this annotation

GitHub Actions / Lint changed files (YAML files)

conandata.yml schema warning

'patch_type' should have 'patch_source' as per https://github.com/conan-io/conan-center-index/blob/master/docs/adding_packages/conandata_yml_format.md#patch_type it is expected to have a source (e.g. a URL) to where it originates from to help with reviewing and consumers to evaluate patches
patch_description: "Support shared libffi"
patch_type: "portability"
- patch_file: "patches/3.x-0001-relocatable-python-config.patch"
patch_description: "Allow package to be relocatable"
patch_type: "conan"
- patch_file: "patches/3.x-0002-remove-module-deps.patch"
patch_description: "Remove section of solution file forcing projects to be built that might not be used for this recipe"
patch_type: "conan"
"3.10.14":
- patch_file: "patches/3.9/3.9.7-0002-_msi-vcxproj.patch"

Check warning on line 45 in recipes/cpython/all/conandata.yml

View workflow job for this annotation

GitHub Actions / Lint changed files (YAML files)

conandata.yml inconsistency

Patch(es) are listed for version `3.11.8`, but there is source for this version. You should either remove `3.11.8` from the `patches` section, or add it to the `sources` section
patch_description: "Fix ARM/ARM64 mismatch in project file"
patch_type: "bugfix"
- patch_file: "patches/3.10/3.10.0-0003-_ctypes-ffi.patch"
patch_description: "Remove duplicate libffi symbols and support shared libffi"

Check warning on line 49 in recipes/cpython/all/conandata.yml

View workflow job for this annotation

GitHub Actions / Lint changed files (YAML files)

conandata.yml schema warning

'patch_type' should have 'patch_source' as per https://github.com/conan-io/conan-center-index/blob/master/docs/adding_packages/conandata_yml_format.md#patch_type it is expected to have a source (e.g. a URL) to where it originates from to help with reviewing and consumers to evaluate patches
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"
patch_description: "Unconditionally enable tcl/tk on Mac"
patch_type: "conan"
- patch_file: "patches/3.x-0001-relocatable-python-config.patch"
patch_description: "Allow package to be relocatable"
patch_type: "conan"
"3.9.7":
- 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_file: "patches/3.x-0002-remove-module-deps.patch"
patch_description: "Remove section of solution file forcing projects to be built that might not be used for this recipe"
patch_type: "conan"
"3.9.19":
- 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"
patch_type: "portability"

Check warning on line 63 in recipes/cpython/all/conandata.yml

View workflow job for this annotation

GitHub Actions / Lint changed files (YAML files)

conandata.yml schema warning

'patch_type' should have 'patch_source' as per https://github.com/conan-io/conan-center-index/blob/master/docs/adding_packages/conandata_yml_format.md#patch_type it is expected to have a source (e.g. a URL) to where it originates from to help with reviewing and consumers to evaluate patches
- 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"
patch_type: "conan"
- patch_file: "patches/3.x-0001-relocatable-python-config.patch"
patch_description: "Allow package to be relocatable"
patch_type: "conan"
"3.8.12":
- 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_file: "patches/3.x-0002-remove-module-deps.patch"
patch_description: "Remove section of solution file forcing projects to be built that might not be used for this recipe"
patch_type: "conan"
"3.8.19":
- 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"
- patch_file: "patches/3.x-0001-relocatable-python-config.patch"
patch_description: "Allow package to be relocatable"
patch_type: "conan"
- patch_file: "patches/3.x-0002-remove-module-deps.patch"
patch_description: "Remove section of solution file forcing projects to be built that might not be used for this recipe"
patch_type: "conan"
Loading
Loading