Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cvise for openSUSE:Factory checked 
in at 2021-11-20 02:39:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cvise (Old)
 and      /work/SRC/openSUSE:Factory/.cvise.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cvise"

Sat Nov 20 02:39:22 2021 rev:42 rq:932531 version:2.4.0+git.20211119.7ad9ac5

Changes:
--------
--- /work/SRC/openSUSE:Factory/cvise/cvise.changes      2021-11-01 
18:36:16.393355028 +0100
+++ /work/SRC/openSUSE:Factory/.cvise.new.1895/cvise.changes    2021-11-20 
02:40:34.764495210 +0100
@@ -1,0 +2,16 @@
+Fri Nov 19 12:35:00 UTC 2021 - mli...@suse.cz
+
+- Update to version 2.4.0+git.20211119.7ad9ac5:
+  * Enable -Werror also for release configurations.
+  * Enable privilage mode again.
+  * Mention colordiff in INSTALL.
+  * Fix detection of colordiff.
+  * Stop using codecov.
+  * Run in privilage mode.
+  * Add build target: LLVM 13.
+  * Port to the new codecod uploader.
+  * Fix thinko in warning option: -Wall to -Wdefault.
+  * Report all warnings from pytest.
+  * Fix resource leaks in tests.
+
+-------------------------------------------------------------------

Old:
----
  cvise-2.4.0+git.20211014.5c63665.tar.xz

New:
----
  cvise-2.4.0+git.20211119.7ad9ac5.tar.xz

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

Other differences:
------------------
++++++ cvise.spec ++++++
--- /var/tmp/diff_new_pack.LGNGkJ/_old  2021-11-20 02:40:35.264493560 +0100
+++ /var/tmp/diff_new_pack.LGNGkJ/_new  2021-11-20 02:40:35.268493546 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           cvise
-Version:        2.4.0+git.20211014.5c63665
+Version:        2.4.0+git.20211119.7ad9ac5
 Release:        0
 Summary:        Super-parallel Python port of the C-Reduce
 License:        BSD-3-Clause

++++++ cvise-2.4.0+git.20211014.5c63665.tar.xz -> 
cvise-2.4.0+git.20211119.7ad9ac5.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.4.0+git.20211014.5c63665/.github/workflows/build.yml 
new/cvise-2.4.0+git.20211119.7ad9ac5/.github/workflows/build.yml
--- old/cvise-2.4.0+git.20211014.5c63665/.github/workflows/build.yml    
2021-10-14 13:24:11.000000000 +0200
+++ new/cvise-2.4.0+git.20211119.7ad9ac5/.github/workflows/build.yml    
2021-11-19 13:28:11.000000000 +0100
@@ -12,25 +12,23 @@
 
     strategy:
       matrix:
-        llvm: [9, 10, 11, 12]
+        llvm: [9, 10, 11, 12, 13]
         build-type: [DEBUG]
         docker: [opensuse/tumbleweed]
         include:
-          - llvm: 12
+          - llvm: 13
             build-type: ASAN
             docker: opensuse/tumbleweed
-          - llvm: 12
+          - llvm: 13
             build-type: UBSAN
             docker: opensuse/tumbleweed
-          - llvm: 12
-            build-type: COVERAGE
-            docker: opensuse/tumbleweed
           - llvm: 9
             build-type: DEBUG
             docker: opensuse/leap
       fail-fast: false
 
-    container: ${{ matrix.docker }}
+    container:
+      image: ${{ matrix.docker }}
 
     steps:
     - run: zypper -n install
@@ -43,7 +41,7 @@
         python3-flake8-quotes
     - run: zypper -n install python3-pip python3-flake8-comprehensions python3 
sqlite-devel
       if: matrix.docker == 'opensuse/tumbleweed'
-    - run: pip install codecov pytest-cov
+    - run: pip install pytest-cov
       if: matrix.docker == 'opensuse/tumbleweed'
     - uses: actions/checkout@v2
     - run: nproc
@@ -57,10 +55,3 @@
       run: |
             cd objdir
             pytest
-      if: matrix.build-type != 'COVERAGE'
-    - name: test with coverage
-      run: |
-            cd objdir
-            pytest --cov=./
-            codecov
-      if: matrix.build-type == 'COVERAGE'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cvise-2.4.0+git.20211014.5c63665/CMakeLists.txt 
new/cvise-2.4.0+git.20211119.7ad9ac5/CMakeLists.txt
--- old/cvise-2.4.0+git.20211014.5c63665/CMakeLists.txt 2021-10-14 
13:24:11.000000000 +0200
+++ new/cvise-2.4.0+git.20211119.7ad9ac5/CMakeLists.txt 2021-11-19 
13:28:11.000000000 +0100
@@ -146,16 +146,13 @@
     OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
   # XXX figure out how to get "-std=c++14 -fno-rtti" from LLVM.  That's how we
   # get those options in the Automake path...
-  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra")
-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fno-rtti 
-fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter")
+  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
+  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fno-rtti 
-fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Werror")
   if(SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG)
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden")
   endif()
   set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3")
   set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} -O3")
-
-  set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Werror")
-  set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Werror")
 endif()
 
 ###############################################################################
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cvise-2.4.0+git.20211014.5c63665/INSTALL.md 
new/cvise-2.4.0+git.20211119.7ad9ac5/INSTALL.md
--- old/cvise-2.4.0+git.20211014.5c63665/INSTALL.md     2021-10-14 
13:24:11.000000000 +0200
+++ new/cvise-2.4.0+git.20211119.7ad9ac5/INSTALL.md     2021-11-19 
13:28:11.000000000 +0100
@@ -94,6 +94,8 @@
 
 * [pytest](https://docs.pytest.org/en/latest/)
 
+* [colordiff](https://www.colordiff.org/)
+
 ## Building and installing C-Vise
 
 You can configure, build, and install C-Vise with the CMake.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cvise-2.4.0+git.20211014.5c63665/README.md 
new/cvise-2.4.0+git.20211119.7ad9ac5/README.md
--- old/cvise-2.4.0+git.20211014.5c63665/README.md      2021-10-14 
13:24:11.000000000 +0200
+++ new/cvise-2.4.0+git.20211119.7ad9ac5/README.md      2021-11-19 
13:28:11.000000000 +0100
@@ -5,7 +5,6 @@
 [![Total 
alerts](https://img.shields.io/lgtm/alerts/g/marxin/cvise.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/marxin/cvise/alerts/)
 [![Language grade: 
Python](https://img.shields.io/lgtm/grade/python/g/marxin/cvise.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/marxin/cvise/context:python)
 [![Language grade: 
C/C++](https://img.shields.io/lgtm/grade/cpp/g/marxin/cvise.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/marxin/cvise/context:cpp)
-[![codecov](https://codecov.io/gh/marxin/cvise/branch/master/graph/badge.svg)](https://codecov.io/gh/marxin/cvise)
 
 ## About 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.4.0+git.20211014.5c63665/clang_delta/tests/test_clang_delta.py 
new/cvise-2.4.0+git.20211119.7ad9ac5/clang_delta/tests/test_clang_delta.py
--- old/cvise-2.4.0+git.20211014.5c63665/clang_delta/tests/test_clang_delta.py  
2021-10-14 13:24:11.000000000 +0200
+++ new/cvise-2.4.0+git.20211119.7ad9ac5/clang_delta/tests/test_clang_delta.py  
2021-11-19 13:28:11.000000000 +0100
@@ -11,10 +11,10 @@
         binary = os.path.join(current, '../clang_delta')
         cmd = '%s %s %s' % (binary, os.path.join(current, testcase), arguments)
         output = subprocess.check_output(cmd, shell=True, encoding='utf8')
-        if output_file:
-            expected = open(os.path.join(current, output_file)).read()
-        else:
-            expected = open(os.path.join(current, 
os.path.splitext(testcase)[0] + '.output')).read()
+        if not output_file:
+            output_file = os.path.splitext(testcase)[0] + '.output'
+        with open(os.path.join(current, output_file)) as f:
+            expected = f.read()
         assert output == expected
 
     @classmethod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cvise-2.4.0+git.20211014.5c63665/clex/driver.c 
new/cvise-2.4.0+git.20211119.7ad9ac5/clex/driver.c
--- old/cvise-2.4.0+git.20211014.5c63665/clex/driver.c  2021-10-14 
13:24:11.000000000 +0200
+++ new/cvise-2.4.0+git.20211119.7ad9ac5/clex/driver.c  2021-11-19 
13:28:11.000000000 +0100
@@ -10,6 +10,9 @@
 #  include <config.h>
 #endif
 
+// always enabled asserts in this file
+#undef NDEBUG
+
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -486,29 +489,29 @@
   switch (mode) {
   case MODE_PRINT:
     print_toks();
-    assert(0);
+    __builtin_unreachable();
   case MODE_RENAME:
     rename_toks(tok_index);
-    assert(0);
+    __builtin_unreachable();
   case MODE_DELETE_STRING:
     delete_string(tok_index);
-    assert(0);
+    __builtin_unreachable();
   case MODE_SHORTEN_STRING:
     shorten_string(tok_index);
-    assert(0);
+    __builtin_unreachable();
   case MODE_X_STRING:
     x_string(tok_index);
-    assert(0);
+    __builtin_unreachable();
   case MODE_RM_TOKS:
     rm_toks(tok_index);
-    assert(0);
+    __builtin_unreachable();
   case MODE_RM_TOK_PATTERN:
     rm_tok_pattern(tok_index);
-    assert(0);
+    __builtin_unreachable();
   case MODE_DEFINE:
     define(tok_index);
-    assert(0);
+    __builtin_unreachable();
   default:
-    assert(0);
+    __builtin_unreachable();
   }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cvise-2.4.0+git.20211014.5c63665/codecov.yml 
new/cvise-2.4.0+git.20211119.7ad9ac5/codecov.yml
--- old/cvise-2.4.0+git.20211014.5c63665/codecov.yml    2021-10-14 
13:24:11.000000000 +0200
+++ new/cvise-2.4.0+git.20211119.7ad9ac5/codecov.yml    1970-01-01 
01:00:00.000000000 +0100
@@ -1,12 +0,0 @@
-codecov:
-  disable_default_path_fixes: no
-
-fixes:
-  - "/__w/cvise/cvise/objdir::"
-  - "/__w/cvise/cvise/::"
-ignore:
-  - "**/include"
-  - "cvise/tests"
-  - "/__w/cvise/cvise/objdir/delta/topformflat.c"
-  - "/__w/cvise/cvise/objdir/clex/strlex.c"
-  - "/__w/cvise/cvise/objdir/clex/clex.c"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.4.0+git.20211014.5c63665/cvise/utils/testing.py 
new/cvise-2.4.0+git.20211119.7ad9ac5/cvise/utils/testing.py
--- old/cvise-2.4.0+git.20211014.5c63665/cvise/utils/testing.py 2021-10-14 
13:24:11.000000000 +0200
+++ new/cvise-2.4.0+git.20211119.7ad9ac5/cvise/utils/testing.py 2021-11-19 
13:28:11.000000000 +0100
@@ -167,7 +167,8 @@
             raise InvalidInterestingnessTestError(self.test_script)
 
         self.use_colordiff = (sys.stdout.isatty() and
-                              subprocess.run('colordiff --version', 
shell=True, stdout=subprocess.DEVNULL).returncode == 0)
+                              subprocess.run('colordiff --version', shell=True,
+                                             stdout=subprocess.DEVNULL, 
stderr=subprocess.DEVNULL).returncode == 0)
 
     def create_root(self):
         pass_name = str(self.current_pass).replace('::', '-')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cvise-2.4.0+git.20211014.5c63665/setup.cfg 
new/cvise-2.4.0+git.20211119.7ad9ac5/setup.cfg
--- old/cvise-2.4.0+git.20211014.5c63665/setup.cfg      2021-10-14 
13:24:11.000000000 +0200
+++ new/cvise-2.4.0+git.20211119.7ad9ac5/setup.cfg      2021-11-19 
13:28:11.000000000 +0100
@@ -4,4 +4,4 @@
 exclude = objdir
 
 [tool:pytest]
-addopts = -vv --flake8
+addopts = -vv -Wdefault --flake8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cvise-2.4.0+git.20211014.5c63665/tests/test_cvise.py 
new/cvise-2.4.0+git.20211119.7ad9ac5/tests/test_cvise.py
--- old/cvise-2.4.0+git.20211014.5c63665/tests/test_cvise.py    2021-10-14 
13:24:11.000000000 +0200
+++ new/cvise-2.4.0+git.20211119.7ad9ac5/tests/test_cvise.py    2021-11-19 
13:28:11.000000000 +0100
@@ -15,7 +15,8 @@
         os.chmod(testcase, 0o644)
         cmd = '%s %s %s' % (binary, testcase, arguments)
         subprocess.check_output(cmd, shell=True, encoding='utf8')
-        content = open(testcase).read()
+        with open(testcase) as f:
+            content = f.read()
         assert content in expected
         assert stat.filemode(os.stat(testcase).st_mode) == '-rw-r--r--'
 

Reply via email to