Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package conan for openSUSE:Factory checked 
in at 2025-08-16 21:52:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/conan (Old)
 and      /work/SRC/openSUSE:Factory/.conan.new.1085 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "conan"

Sat Aug 16 21:52:43 2025 rev:16 rq:1299914 version:2.19.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/conan/conan.changes      2025-08-07 
16:51:22.122716683 +0200
+++ /work/SRC/openSUSE:Factory/.conan.new.1085/conan.changes    2025-08-16 
21:52:44.334798284 +0200
@@ -1,0 +2,8 @@
+Wed Aug 13 10:27:39 UTC 2025 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 2.19.1:
+  * Fix: Remove the definition of CMAKE_TRY_COMPILE_CONFIGURATION
+    in CMakeToolchain to avoid issues with check_function_exists()
+    legacy code in MSVC (gh#conan-io/conan#18707).
+
+-------------------------------------------------------------------

Old:
----
  conan-2.19.0.tar.gz

New:
----
  conan-2.19.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ conan.spec ++++++
--- /var/tmp/diff_new_pack.AeV2um/_old  2025-08-16 21:52:44.954824044 +0200
+++ /var/tmp/diff_new_pack.AeV2um/_new  2025-08-16 21:52:44.958824211 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package conan
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 # Note: We only want to build for the default python3
 Name:           conan
-Version:        2.19.0
+Version:        2.19.1
 Release:        0
 Summary:        A C/C++ package manager
 License:        MIT

++++++ conan-2.19.0.tar.gz -> conan-2.19.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conan-2.19.0/PKG-INFO new/conan-2.19.1/PKG-INFO
--- old/conan-2.19.0/PKG-INFO   2025-07-23 18:12:56.213808000 +0200
+++ new/conan-2.19.1/PKG-INFO   2025-07-30 09:21:18.834365100 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: conan
-Version: 2.19.0
+Version: 2.19.1
 Summary: Conan C/C++ package manager
 Home-page: https://conan.io
 Author: JFrog LTD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conan-2.19.0/conan/__init__.py 
new/conan-2.19.1/conan/__init__.py
--- old/conan-2.19.0/conan/__init__.py  2025-07-23 18:12:47.000000000 +0200
+++ new/conan-2.19.1/conan/__init__.py  2025-07-30 09:21:10.000000000 +0200
@@ -2,5 +2,5 @@
 from conan.internal.model.workspace import Workspace
 from conan.internal.model.version import Version
 
-__version__ = '2.19.0'
+__version__ = '2.19.1'
 conan_version = Version(__version__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conan-2.19.0/conan/test/utils/tools.py 
new/conan-2.19.1/conan/test/utils/tools.py
--- old/conan-2.19.0/conan/test/utils/tools.py  2025-07-23 18:12:47.000000000 
+0200
+++ new/conan-2.19.1/conan/test/utils/tools.py  2025-07-30 09:21:10.000000000 
+0200
@@ -74,7 +74,7 @@
         os=Macos
         arch={arch_setting}
         compiler=apple-clang
-        compiler.version=15
+        compiler.version=16
         compiler.libcxx=libc++
         build_type=Release
         """)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conan-2.19.0/conan/tools/cmake/toolchain/blocks.py 
new/conan-2.19.1/conan/tools/cmake/toolchain/blocks.py
--- old/conan-2.19.0/conan/tools/cmake/toolchain/blocks.py      2025-07-23 
18:12:47.000000000 +0200
+++ new/conan-2.19.1/conan/tools/cmake/toolchain/blocks.py      2025-07-30 
09:21:10.000000000 +0200
@@ -882,7 +882,6 @@
 class TryCompileBlock(Block):
     template = textwrap.dedent("""\
         # Blocks after this one will not be added when running CMake try/checks
-
         {% if config %}
         if(NOT DEFINED CMAKE_TRY_COMPILE_CONFIGURATION)  # to allow user 
command line override
             set(CMAKE_TRY_COMPILE_CONFIGURATION {{config}})
@@ -897,8 +896,13 @@
 
     def context(self):
         # Only for well known CMake configurations, but not for custom ones
-        bt = self._conanfile.settings.get_safe("build_type")
-        config = bt if bt in ["Debug", "Release", "RelWithDebInfo", 
"MinSizeRel"] else None
+        # Revert of https://github.com/conan-io/conan/pull/18559, even if it 
was correct, there are
+        # legacy code using check_function_exists that breaks in CMake with 
MSVC, see
+        # https://github.com/conan-io/conan/issues/18689
+        # TODO: Resume this effort when other try_compile things are sorted out
+        # bt = self._conanfile.settings.get_safe("build_type")
+        # config = bt if bt in ["Debug", "Release", "RelWithDebInfo", 
"MinSizeRel"] else None
+        config = None  # Keep it defined but as `None` in case some user 
already customized it
         return {"config": config}
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conan-2.19.0/conan.egg-info/PKG-INFO 
new/conan-2.19.1/conan.egg-info/PKG-INFO
--- old/conan-2.19.0/conan.egg-info/PKG-INFO    2025-07-23 18:12:55.000000000 
+0200
+++ new/conan-2.19.1/conan.egg-info/PKG-INFO    2025-07-30 09:21:18.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: conan
-Version: 2.19.0
+Version: 2.19.1
 Summary: Conan C/C++ package manager
 Home-page: https://conan.io
 Author: JFrog LTD

Reply via email to