Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12041

Python 3.8 transition: CMake problems

Path csiph.com!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder7.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Ole Streicher <olebole@debian.org>
Newsgroups linux.debian.maint.python
Subject Python 3.8 transition: CMake problems
Date Tue, 26 Nov 2019 11:20:02 +0100
Message-ID <z6G6S-58T-7@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Nov 26 10:18:45 2019
Old-Return-Path <news@liska.ath.cx>
X-Amavis-Spam-Status No, score=-6.351 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.25, KHOP_HELO_FCRDNS=0.399, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version 1.0
Content-Type text/plain
Lines 30
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17642
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/87o8wzdkgp.fsf@orrococo
Approved robomod@news.nic.it
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 26 Nov 2019 11:02:14 +0100
X-Original-Message-ID <87o8wzdkgp.fsf@orrococo>
Xref csiph.com linux.debian.maint.python:12041

Show key headers only | View raw


Hi,

I am currently updating the "casacore" package to the latest upstream
version. Doing this, I discovered that it is not marked as part of the
Python 3.8 transition, and was also not binNMUed for this, although it
has the package libcasa-python3-3 (to be renamed to libcasa-python3-4)
that depends on libpython3.7. Was this somehow forgotten?

Nevertheless, when I now try to build the (updated) package, I get the
following error:

--------------------------------8<-------------------------------------
  Could NOT find Python3 (missing: Python3_LIBRARY Python3_INCLUDE_DIR
  Development NumPy) (found version "3.8.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.15/Modules/FindPython/Support.cmake:1653 (find_package_handle_standard_args)
  /usr/share/cmake-3.15/Modules/FindPython3.cmake:215 (include)
  python3/CMakeLists-cmake3.14.txt:3 (find_package)
--------------------------------8<-------------------------------------

The corresponding line in python3/CMakeLists-cmake3.14.txt is

find_package(Python3 REQUIRED COMPONENTS Interpreter Development NumPy)

which looks normal to me. Any idea why CMAKE does not find Python 3.8?

Best regards

Ole

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Python 3.8 transition: CMake problems Ole Streicher <olebole@debian.org> - 2019-11-26 11:20 +0100
  Re: Python 3.8 transition: CMake problems Matthias Klose <doko@debian.org> - 2019-11-26 12:40 +0100

csiph-web