Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pydyf for openSUSE:Factory 
checked in at 2023-07-18 21:55:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pydyf (Old)
 and      /work/SRC/openSUSE:Factory/.python-pydyf.new.3193 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pydyf"

Tue Jul 18 21:55:12 2023 rev:8 rq:1099028 version:0.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pydyf/python-pydyf.changes        
2023-05-05 15:58:17.336430201 +0200
+++ /work/SRC/openSUSE:Factory/.python-pydyf.new.3193/python-pydyf.changes      
2023-07-18 21:55:27.738741790 +0200
@@ -1,0 +2,7 @@
+Sun Jul 16 21:09:43 UTC 2023 - Axel Braun <[email protected]>
+
+- version 0.7.0
+  * Python 3.11 is supported and tested
+  * Fix size of fields for xref
+
+-------------------------------------------------------------------

Old:
----
  pydyf-0.6.0.tar.gz

New:
----
  pydyf-0.7.0.tar.gz

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

Other differences:
------------------
++++++ python-pydyf.spec ++++++
--- /var/tmp/diff_new_pack.9TVM4f/_old  2023-07-18 21:55:28.410745547 +0200
+++ /var/tmp/diff_new_pack.9TVM4f/_new  2023-07-18 21:55:28.418745592 +0200
@@ -2,7 +2,7 @@
 # spec file for package python-pydyf
 #
 # Copyright (c) 2023 SUSE LLC
-# Copyright (c) 2022 Dr. Axel Braun <[email protected]>
+# Copyright (c) 2022-2023 Dr. Axel Braun <[email protected]>
 #
 # 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 @@
 
 
 Name:           python-pydyf
-Version:        0.6.0
+Version:        0.7.0
 Release:        0
 Summary:        A low-level PDF generator
 License:        BSD-3-Clause

++++++ pydyf-0.6.0.tar.gz -> pydyf-0.7.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pydyf-0.6.0/PKG-INFO new/pydyf-0.7.0/PKG-INFO
--- old/pydyf-0.6.0/PKG-INFO    1970-01-01 01:00:00.000000000 +0100
+++ new/pydyf-0.7.0/PKG-INFO    1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pydyf
-Version: 0.6.0
+Version: 0.7.0
 Summary: A low-level PDF generator.
 Keywords: pdf,generator
 Author-email: CourtBouillon <[email protected]>
@@ -18,6 +18,7 @@
 Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Requires-Dist: sphinx ; extra == "doc"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pydyf-0.6.0/docs/changelog.rst 
new/pydyf-0.7.0/docs/changelog.rst
--- old/pydyf-0.6.0/docs/changelog.rst  2023-03-29 21:47:15.466918700 +0200
+++ new/pydyf-0.7.0/docs/changelog.rst  2023-07-03 10:52:15.952339000 +0200
@@ -2,6 +2,41 @@
 =========
 
 
+Version 0.7.0
+-------------
+
+Released on 2023-07-03.
+
+Dependencies:
+
+* Python 3.11 is supported and tested
+
+Bug fixes:
+
+* Fix size of fields for xref
+
+Backers and sponsors:
+
+* Castedo Ellerman
+* Spacinov
+* Kobalt
+* Grip Angebotssoftware
+* Crisp BV
+* Manuel Barkhau
+* SimonSoft
+* Menutech
+* KontextWork
+* NCC Group
+* René Fritz
+* TrainingSparkle
+* Healthchecks.io
+* Moritz Mahringer
+* Yanal-Yvez Fargialla
+* Synapsium
+* Piotr Horzycki
+* Hammerbacher
+
+
 Version 0.6.0
 -------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pydyf-0.6.0/pydyf/__init__.py 
new/pydyf-0.7.0/pydyf/__init__.py
--- old/pydyf-0.6.0/pydyf/__init__.py   2023-03-29 21:31:01.352578000 +0200
+++ new/pydyf-0.7.0/pydyf/__init__.py   2023-07-03 10:47:14.328190600 +0200
@@ -9,7 +9,7 @@
 from hashlib import md5
 from math import ceil, log
 
-VERSION = __version__ = '0.6.0'
+VERSION = __version__ = '0.7.0'
 
 
 def _to_bytes(item):
@@ -549,11 +549,11 @@
                         object_.generation))
             xref.append((1, self.current_position, 0))
 
-            field2_size = ceil(log(self.current_position, 8))
+            field2_size = ceil(log(self.current_position + 1, 256))
             max_generation = max(
                 object_.generation for object_ in self.objects)
             field3_size = ceil(log(
-                max(max_generation, len(compressed_objects)), 8))
+                max(max_generation, len(compressed_objects)) + 1, 256))
             xref_lengths = (1, field2_size, field3_size)
             xref_stream = b''.join(
                 value.to_bytes(length, 'big')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pydyf-0.6.0/pyproject.toml 
new/pydyf-0.7.0/pyproject.toml
--- old/pydyf-0.6.0/pyproject.toml      2022-09-19 10:20:58.063255500 +0200
+++ new/pydyf-0.7.0/pyproject.toml      2023-07-02 18:38:04.888622500 +0200
@@ -23,6 +23,7 @@
   'Programming Language :: Python :: 3.8',
   'Programming Language :: Python :: 3.9',
   'Programming Language :: Python :: 3.10',
+  'Programming Language :: Python :: 3.11',
   'Programming Language :: Python :: Implementation :: CPython',
   'Programming Language :: Python :: Implementation :: PyPy',
 ]

Reply via email to