All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH] ceph: support python 3.11
@ 2022-11-18 19:40 Sakib Sajal
  2022-11-23  4:33 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Sakib Sajal @ 2022-11-18 19:40 UTC (permalink / raw)
  To: meta-virtualization

python3 has been upgraded to 3.11 in oe-core causing
ceph do_configure to fail with the error:
|   Could NOT find Python3 (missing: Python3_LIBRARY Python3_INCLUDE_DIR
|   Development) (found suitable version "3.6.9", minimum required is "3")

Support python 3.11 to fix the issue

Upstream-Status: sent to upstream (https://github.com/ceph/ceph/pull/48947)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
---
 ...on3.10.patch => 0001-cmake-add-support-for-python3.11.patch} | 2 +-
 recipes-extended/ceph/ceph_15.2.15.bb                           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename recipes-extended/ceph/ceph/{0001-cmake-add-support-for-python3.10.patch => 0001-cmake-add-support-for-python3.11.patch} (93%)

diff --git a/recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.10.patch b/recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.11.patch
similarity index 93%
rename from recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.10.patch
rename to recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.11.patch
index 94c4b8a..c0b718a 100644
--- a/recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.10.patch
+++ b/recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.11.patch
@@ -25,7 +25,7 @@ index 6584699b79..c05bbe3306 100644
  endif()
  if (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL 3)
 -  set(_${_PYTHON_PREFIX}_VERSIONS 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
-+  set(_${_PYTHON_PREFIX}_VERSIONS 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
++  set(_${_PYTHON_PREFIX}_VERSIONS 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
  elseif (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL 2)
    set(_${_PYTHON_PREFIX}_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
  else()
diff --git a/recipes-extended/ceph/ceph_15.2.15.bb b/recipes-extended/ceph/ceph_15.2.15.bb
index 14b4c97..6312fd3 100644
--- a/recipes-extended/ceph/ceph_15.2.15.bb
+++ b/recipes-extended/ceph/ceph_15.2.15.bb
@@ -12,7 +12,7 @@ SRC_URI = "http://download.ceph.com/tarballs/ceph-${PV}.tar.gz \
            file://0001-ceph-fix-build-errors-for-cross-compile.patch \
            file://0001-fix-host-library-paths-were-used.patch \
            file://ceph.conf \
-           file://0001-cmake-add-support-for-python3.10.patch \
+           file://0001-cmake-add-support-for-python3.11.patch \
            file://0001-SnappyCompressor.h-fix-snappy-compiler-error.patch \
            file://0001-buffer.h-add-missing-header-file-due-to-gcc-upgrade.patch \
            file://0002-common-fix-FTBFS-due-to-dout-need_dynamic-on-GCC-12.patch \
-- 
2.33.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-virtualization][PATCH] ceph: support python 3.11
  2022-11-18 19:40 [meta-virtualization][PATCH] ceph: support python 3.11 Sakib Sajal
@ 2022-11-23  4:33 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2022-11-23  4:33 UTC (permalink / raw)
  To: sakib.sajal; +Cc: meta-virtualization

merged.

Bruce

In message: [meta-virtualization][PATCH] ceph: support python 3.11
on 18/11/2022 sakib.sajal@windriver.com wrote:

> python3 has been upgraded to 3.11 in oe-core causing
> ceph do_configure to fail with the error:
> |   Could NOT find Python3 (missing: Python3_LIBRARY Python3_INCLUDE_DIR
> |   Development) (found suitable version "3.6.9", minimum required is "3")
> 
> Support python 3.11 to fix the issue
> 
> Upstream-Status: sent to upstream (https://github.com/ceph/ceph/pull/48947)
> 
> Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
> ---
>  ...on3.10.patch => 0001-cmake-add-support-for-python3.11.patch} | 2 +-
>  recipes-extended/ceph/ceph_15.2.15.bb                           | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>  rename recipes-extended/ceph/ceph/{0001-cmake-add-support-for-python3.10.patch => 0001-cmake-add-support-for-python3.11.patch} (93%)
> 
> diff --git a/recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.10.patch b/recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.11.patch
> similarity index 93%
> rename from recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.10.patch
> rename to recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.11.patch
> index 94c4b8a..c0b718a 100644
> --- a/recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.10.patch
> +++ b/recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.11.patch
> @@ -25,7 +25,7 @@ index 6584699b79..c05bbe3306 100644
>   endif()
>   if (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL 3)
>  -  set(_${_PYTHON_PREFIX}_VERSIONS 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
> -+  set(_${_PYTHON_PREFIX}_VERSIONS 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
> ++  set(_${_PYTHON_PREFIX}_VERSIONS 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
>   elseif (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL 2)
>     set(_${_PYTHON_PREFIX}_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
>   else()
> diff --git a/recipes-extended/ceph/ceph_15.2.15.bb b/recipes-extended/ceph/ceph_15.2.15.bb
> index 14b4c97..6312fd3 100644
> --- a/recipes-extended/ceph/ceph_15.2.15.bb
> +++ b/recipes-extended/ceph/ceph_15.2.15.bb
> @@ -12,7 +12,7 @@ SRC_URI = "http://download.ceph.com/tarballs/ceph-${PV}.tar.gz \
>             file://0001-ceph-fix-build-errors-for-cross-compile.patch \
>             file://0001-fix-host-library-paths-were-used.patch \
>             file://ceph.conf \
> -           file://0001-cmake-add-support-for-python3.10.patch \
> +           file://0001-cmake-add-support-for-python3.11.patch \
>             file://0001-SnappyCompressor.h-fix-snappy-compiler-error.patch \
>             file://0001-buffer.h-add-missing-header-file-due-to-gcc-upgrade.patch \
>             file://0002-common-fix-FTBFS-due-to-dout-need_dynamic-on-GCC-12.patch \
> -- 
> 2.33.0
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#7689): https://lists.yoctoproject.org/g/meta-virtualization/message/7689
> Mute This Topic: https://lists.yoctoproject.org/mt/95119889/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-23  4:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-18 19:40 [meta-virtualization][PATCH] ceph: support python 3.11 Sakib Sajal
2022-11-23  4:33 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.