Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package conan for openSUSE:Factory checked in at 2026-06-29 17:30:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/conan (Old) and /work/SRC/openSUSE:Factory/.conan.new.11887 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "conan" Mon Jun 29 17:30:40 2026 rev:24 rq:1362252 version:2.29.1 Changes: -------- --- /work/SRC/openSUSE:Factory/conan/conan.changes 2026-06-11 17:31:26.856613280 +0200 +++ /work/SRC/openSUSE:Factory/.conan.new.11887/conan.changes 2026-06-29 17:31:45.576897483 +0200 @@ -1,0 +2,8 @@ +Sun Jun 28 20:15:55 UTC 2026 - Dirk Müller <[email protected]> + +- update to 2.29.1: + * Bugfix: Handle special case where only one possible option is + defined for shared. (https://github.com/conan- + io/conan/pull/20082) + +------------------------------------------------------------------- Old: ---- conan-2.29.0.tar.gz New: ---- conan-2.29.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ conan.spec ++++++ --- /var/tmp/diff_new_pack.lj97nP/_old 2026-06-29 17:31:47.412960167 +0200 +++ /var/tmp/diff_new_pack.lj97nP/_new 2026-06-29 17:31:47.428960712 +0200 @@ -18,7 +18,7 @@ # Note: We only want to build for the default python3 Name: conan -Version: 2.29.0 +Version: 2.29.1 Release: 0 Summary: A C/C++ package manager License: MIT ++++++ conan-2.29.0.tar.gz -> conan-2.29.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/conan-2.29.0/PKG-INFO new/conan-2.29.1/PKG-INFO --- old/conan-2.29.0/PKG-INFO 2026-05-28 18:28:17.418882400 +0200 +++ new/conan-2.29.1/PKG-INFO 2026-06-12 12:56:18.203234200 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: conan -Version: 2.29.0 +Version: 2.29.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.29.0/conan/__init__.py new/conan-2.29.1/conan/__init__.py --- old/conan-2.29.0/conan/__init__.py 2026-05-28 18:28:04.000000000 +0200 +++ new/conan-2.29.1/conan/__init__.py 2026-06-12 12:56:04.000000000 +0200 @@ -2,5 +2,5 @@ from conan.internal.model.workspace import Workspace from conan.internal.model.version import Version -__version__ = '2.29.0' +__version__ = '2.29.1' conan_version = Version(__version__) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/conan-2.29.0/conan/internal/model/pkg_type.py new/conan-2.29.1/conan/internal/model/pkg_type.py --- old/conan-2.29.0/conan/internal/model/pkg_type.py 2026-05-28 18:28:04.000000000 +0200 +++ new/conan-2.29.1/conan/internal/model/pkg_type.py 2026-06-12 12:56:04.000000000 +0200 @@ -60,14 +60,15 @@ " but no 'shared' option declared") elif any(option in conanfile.options for option in ["shared", "header_only"]): shared_value = conanfile.options.get_safe("shared") - if conanfile_type is PackageType.SHARED and shared_value == False: # noqa - raise ConanException( - f"{conanfile}: 'shared-library' should not have 'shared' option set to False. " - "Consider removing the 'shared' option.") - if conanfile_type is PackageType.STATIC and shared_value: - raise ConanException( - f"{conanfile}: 'static-library' should not have 'shared' option set to True. " - "Consider removing the 'shared' option") + if shared_value is not None: + if conanfile_type == PackageType.SHARED and not shared_value: + raise ConanException( + f"{conanfile}: 'shared-library' should not have 'shared' option set to False. " + "Consider removing the 'shared' option.") + if conanfile_type is PackageType.STATIC and shared_value: + raise ConanException( + f"{conanfile}: 'static-library' should not have 'shared' option set to True. " + "Consider removing the 'shared' option") conanfile.output.warning(f"{conanfile}: package_type '{conanfile_type}' is defined, " "but 'shared' and/or 'header_only' options are present. " "The package_type will have precedence over the options " diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/conan-2.29.0/conan.egg-info/PKG-INFO new/conan-2.29.1/conan.egg-info/PKG-INFO --- old/conan-2.29.0/conan.egg-info/PKG-INFO 2026-05-28 18:28:17.000000000 +0200 +++ new/conan-2.29.1/conan.egg-info/PKG-INFO 2026-06-12 12:56:18.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: conan -Version: 2.29.0 +Version: 2.29.1 Summary: Conan C/C++ package manager Home-page: https://conan.io Author: JFrog LTD
