Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package conan for openSUSE:Factory checked 
in at 2024-04-07 22:11:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/conan (Old)
 and      /work/SRC/openSUSE:Factory/.conan.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "conan"

Sun Apr  7 22:11:01 2024 rev:7 rq:1165722 version:2.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/conan/conan.changes      2024-03-25 
21:17:29.201880992 +0100
+++ /work/SRC/openSUSE:Factory/.conan.new.1905/conan.changes    2024-04-07 
22:13:14.606505368 +0200
@@ -1,0 +2,11 @@
+Thu Apr  4 07:44:40 UTC 2024 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 2.2.2:
+  * Fix: Avoid issues with recipe `print(..., file=fileobj)`
+    (gh#conan-io/conan#15934).
+  * Fix: Fix broken calls to `print(x, file=y)` with duplicate
+    keyword arguments (gh#conan-io/conan#15912).
+  * Bugfix: Fix handling of `tools.build:defines` for multiconfig
+    CMake (gh#conan-io/conan#15924).
+
+-------------------------------------------------------------------

Old:
----
  conan-2.2.1.tar.gz

New:
----
  conan-2.2.2.tar.gz

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

Other differences:
------------------
++++++ conan.spec ++++++
--- /var/tmp/diff_new_pack.7W6EXn/_old  2024-04-07 22:13:15.518538768 +0200
+++ /var/tmp/diff_new_pack.7W6EXn/_new  2024-04-07 22:13:15.518538768 +0200
@@ -18,7 +18,7 @@
 
 # Note: We only want to build for the default python3
 Name:           conan
-Version:        2.2.1
+Version:        2.2.2
 Release:        0
 Summary:        A C/C++ package manager
 License:        MIT

++++++ conan-2.2.1.tar.gz -> conan-2.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conan-2.2.1/PKG-INFO new/conan-2.2.2/PKG-INFO
--- old/conan-2.2.1/PKG-INFO    2024-03-20 18:52:51.385523800 +0100
+++ new/conan-2.2.2/PKG-INFO    2024-03-25 16:15:52.572598500 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: conan
-Version: 2.2.1
+Version: 2.2.2
 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.2.1/conan/tools/cmake/toolchain/blocks.py 
new/conan-2.2.2/conan/tools/cmake/toolchain/blocks.py
--- old/conan-2.2.1/conan/tools/cmake/toolchain/blocks.py       2024-03-20 
18:52:44.000000000 +0100
+++ new/conan-2.2.2/conan/tools/cmake/toolchain/blocks.py       2024-03-25 
16:15:44.000000000 +0100
@@ -154,7 +154,7 @@
 
         if not config_dict:
             return None
-        
+
         vs_debugger_path = ""
         for config, value in config_dict.items():
             vs_debugger_path += f"$<$<CONFIG:{config}>:{value}>"
@@ -613,7 +613,9 @@
         {% endif %}
         {% if defines %}
         {% if config %}
-        add_compile_definitions($<$<CONFIG:{{config}}>:{% for define in 
defines %}" {{ define }}"{% endfor %}>)
+        {% for define in defines %}
+        add_compile_definitions($<$<CONFIG:{{config}}>:"{{ define }}">)
+        {% endfor %}
         {% else %}
         add_compile_definitions({% for define in defines %} "{{ define }}"{% 
endfor %})
         {% endif %}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conan-2.2.1/conan.egg-info/PKG-INFO 
new/conan-2.2.2/conan.egg-info/PKG-INFO
--- old/conan-2.2.1/conan.egg-info/PKG-INFO     2024-03-20 18:52:51.000000000 
+0100
+++ new/conan-2.2.2/conan.egg-info/PKG-INFO     2024-03-25 16:15:52.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: conan
-Version: 2.2.1
+Version: 2.2.2
 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.2.1/conans/__init__.py 
new/conan-2.2.2/conans/__init__.py
--- old/conan-2.2.1/conans/__init__.py  2024-03-20 18:52:44.000000000 +0100
+++ new/conan-2.2.2/conans/__init__.py  2024-03-25 16:15:44.000000000 +0100
@@ -2,4 +2,4 @@
 REVISIONS = "revisions"  # Only when enabled in config, not by default look at 
server_launcher.py
 OAUTH_TOKEN = "oauth_token"
 
-__version__ = '2.2.1'
+__version__ = '2.2.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conan-2.2.1/conans/client/loader.py 
new/conan-2.2.2/conans/client/loader.py
--- old/conan-2.2.1/conans/client/loader.py     2024-03-20 18:52:44.000000000 
+0100
+++ new/conan-2.2.2/conans/client/loader.py     2024-03-25 16:15:44.000000000 
+0100
@@ -323,7 +323,8 @@
         raise NotFoundException("%s not found!" % conan_file_path)
 
     def new_print(*args, **kwargs):  # Make sure that all user python files 
print() goes to stderr
-        print(*args, **kwargs, file=sys.stderr)
+        kwargs.setdefault("file", sys.stderr)
+        print(*args, **kwargs)
 
     module_id = str(uuid.uuid1())
     current_dir = os.path.dirname(conan_file_path)

Reply via email to