Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bincopy for openSUSE:Factory 
checked in at 2026-03-23 17:12:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-bincopy (Old)
 and      /work/SRC/openSUSE:Factory/.python-bincopy.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-bincopy"

Mon Mar 23 17:12:02 2026 rev:5 rq:1341861 version:20.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-bincopy/python-bincopy.changes    
2025-06-17 18:24:27.131870347 +0200
+++ /work/SRC/openSUSE:Factory/.python-bincopy.new.8177/python-bincopy.changes  
2026-03-23 17:12:33.691662821 +0100
@@ -1,0 +2,6 @@
+Sun Mar 15 14:57:08 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 20.1.1:
+  * Adds conversion to bytearray within Segment (#54)
+
+-------------------------------------------------------------------

Old:
----
  bincopy-20.1.0.tar.gz

New:
----
  bincopy-20.1.1.tar.gz

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

Other differences:
------------------
++++++ python-bincopy.spec ++++++
--- /var/tmp/diff_new_pack.0sJwZ1/_old  2026-03-23 17:12:34.787708472 +0100
+++ /var/tmp/diff_new_pack.0sJwZ1/_new  2026-03-23 17:12:34.791708639 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-bincopy
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 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
@@ -19,7 +19,7 @@
 %bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-bincopy
-Version:        20.1.0
+Version:        20.1.1
 Release:        0
 Summary:        Mangling of various file formats that conveys binary 
information
 License:        MIT

++++++ bincopy-20.1.0.tar.gz -> bincopy-20.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bincopy-20.1.0/PKG-INFO new/bincopy-20.1.1/PKG-INFO
--- old/bincopy-20.1.0/PKG-INFO 2025-01-22 18:09:57.348127800 +0100
+++ new/bincopy-20.1.1/PKG-INFO 2026-02-24 17:41:31.308188000 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 2.2
+Metadata-Version: 2.4
 Name: bincopy
-Version: 20.1.0
+Version: 20.1.1
 Summary: Mangling of various file formats that conveys binary information 
(Motorola S-Record, Intel HEX and binary files).
 Home-page: https://github.com/eerimoq/bincopy
 Author: Erik Moqvist
@@ -25,6 +25,7 @@
 Dynamic: home-page
 Dynamic: keywords
 Dynamic: license
+Dynamic: license-file
 Dynamic: requires-dist
 Dynamic: requires-python
 Dynamic: summary
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bincopy-20.1.0/bincopy.egg-info/PKG-INFO 
new/bincopy-20.1.1/bincopy.egg-info/PKG-INFO
--- old/bincopy-20.1.0/bincopy.egg-info/PKG-INFO        2025-01-22 
18:09:57.000000000 +0100
+++ new/bincopy-20.1.1/bincopy.egg-info/PKG-INFO        2026-02-24 
17:41:31.000000000 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 2.2
+Metadata-Version: 2.4
 Name: bincopy
-Version: 20.1.0
+Version: 20.1.1
 Summary: Mangling of various file formats that conveys binary information 
(Motorola S-Record, Intel HEX and binary files).
 Home-page: https://github.com/eerimoq/bincopy
 Author: Erik Moqvist
@@ -25,6 +25,7 @@
 Dynamic: home-page
 Dynamic: keywords
 Dynamic: license
+Dynamic: license-file
 Dynamic: requires-dist
 Dynamic: requires-python
 Dynamic: summary
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bincopy-20.1.0/bincopy.py 
new/bincopy-20.1.1/bincopy.py
--- old/bincopy-20.1.0/bincopy.py       2025-01-22 18:09:45.000000000 +0100
+++ new/bincopy-20.1.1/bincopy.py       2026-02-24 17:41:25.000000000 +0100
@@ -20,7 +20,7 @@
 
 
 __author__ = 'Erik Moqvist'
-__version__ = '20.1.0'
+__version__ = '20.1.1'
 
 
 DEFAULT_WORD_SIZE_BITS = 8
@@ -354,7 +354,7 @@
     def __init__(self, minimum_address, maximum_address, data, 
word_size_bytes):
         self.minimum_address = minimum_address
         self.maximum_address = maximum_address
-        self.data = data
+        self.data = bytearray(data)
         self.word_size_bytes = word_size_bytes
 
     @property
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bincopy-20.1.0/tests/test_bincopy.py 
new/bincopy-20.1.1/tests/test_bincopy.py
--- old/bincopy-20.1.0/tests/test_bincopy.py    2025-01-22 18:09:45.000000000 
+0100
+++ new/bincopy-20.1.1/tests/test_bincopy.py    2026-02-24 17:41:25.000000000 
+0100
@@ -1810,6 +1810,15 @@
         with open('tests/files/elf/keil.bin', 'rb') as fin:
             self.assertEqual(bf.as_binary(), fin.read())
 
+    def test_add_elf_modify_overwrite(self):
+        bf = bincopy.BinFile()
+        bf.add_elf_file('tests/files/elf.out')
+
+        data = b'test'
+        address = bf.minimum_address
+        bf.add_binary(data, address=address, overwrite=True)
+        self.assertEqual(data, bf.as_binary(minimum_address=address, 
maximum_address=address+len(data)))
+
     def test_exclude_edge_cases(self):
         binfile = bincopy.BinFile()
         binfile.add_binary(b'1234', address=10)

Reply via email to