Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pykeepass for 
openSUSE:Factory checked in at 2023-09-06 18:57:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pykeepass (Old)
 and      /work/SRC/openSUSE:Factory/.python-pykeepass.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pykeepass"

Wed Sep  6 18:57:02 2023 rev:11 rq:1109013 version:4.0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pykeepass/python-pykeepass.changes        
2023-06-12 15:27:56.587581503 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pykeepass.new.1766/python-pykeepass.changes  
    2023-09-06 18:58:51.832993048 +0200
@@ -1,0 +2,7 @@
+Tue Sep  5 04:58:15 UTC 2023 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Update to 4.0.6:
+  * fixed #350 - fixed all Python 2 deprecation FIXMEs (e.g. future, )
+- Switch to pyproject macros.
+
+-------------------------------------------------------------------

Old:
----
  pykeepass-4.0.5.tar.gz

New:
----
  pykeepass-4.0.6.tar.gz

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

Other differences:
------------------
++++++ python-pykeepass.spec ++++++
--- /var/tmp/diff_new_pack.zUt9Ow/_old  2023-09-06 18:58:53.069037110 +0200
+++ /var/tmp/diff_new_pack.zUt9Ow/_new  2023-09-06 18:58:53.073037253 +0200
@@ -17,20 +17,20 @@
 
 
 Name:           python-pykeepass
-Version:        4.0.5
+Version:        4.0.6
 Release:        0
 Summary:        Low-level library to interact with keepass databases
 License:        GPL-3.0-only
-Group:          Development/Languages/Python
 URL:            https://github.com/libkeepass/pykeepass
 Source:         
https://github.com/libkeepass/pykeepass/archive/refs/tags/v%{version}.tar.gz#/pykeepass-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-argon2-cffi >= 20.1.0
 Requires:       python-construct >= 2.10.54
-Requires:       python-future
 Requires:       python-lxml >= 4.6.1
 Requires:       python-pycryptodomex >= 3.10.1
 Requires:       python-python-dateutil
@@ -38,7 +38,6 @@
 # SECTION test requirements
 BuildRequires:  %{python_module argon2-cffi >= 20.1.0}
 BuildRequires:  %{python_module construct >= 2.10.54}
-BuildRequires:  %{python_module future}
 BuildRequires:  %{python_module lxml >= 4.6.1}
 BuildRequires:  %{python_module pycryptodomex >= 3.10.1}
 BuildRequires:  %{python_module pytest}
@@ -54,10 +53,10 @@
 sed -i '1{/^#!.*env python/d}' 
pykeepass/{pykeepass,deprecated,kdbx_parsing/kdbx*}.py
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -69,6 +68,6 @@
 %license LICENSE
 %doc README.rst
 %{python_sitelib}/pykeepass/
-%{python_sitelib}/pykeepass-%{version}-py%{python_version}.egg-info/
+%{python_sitelib}/pykeepass-%{version}.dist-info/
 
 %changelog

++++++ pykeepass-4.0.5.tar.gz -> pykeepass-4.0.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pykeepass-4.0.5/CHANGELOG.rst 
new/pykeepass-4.0.6/CHANGELOG.rst
--- old/pykeepass-4.0.5/CHANGELOG.rst   2023-06-05 23:38:19.000000000 +0200
+++ new/pykeepass-4.0.6/CHANGELOG.rst   2023-08-23 01:04:35.000000000 +0200
@@ -1,4 +1,8 @@
-4.0.5 -
+4.0.6 - 2023-08-22
+------------------
+- fixed #350 - fixed all Python 2 deprecation FIXMEs (e.g. future, )
+
+4.0.5 - 2023-06-05
 ------------------
 - fixed #344 - AttributeError when accessing Times with None value
 - use __hash__ when evaluating equality
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pykeepass-4.0.5/pykeepass/attachment.py 
new/pykeepass-4.0.6/pykeepass/attachment.py
--- old/pykeepass-4.0.5/pykeepass/attachment.py 2023-06-05 23:38:19.000000000 
+0200
+++ new/pykeepass-4.0.6/pykeepass/attachment.py 2023-08-23 01:04:35.000000000 
+0200
@@ -1,15 +1,7 @@
-# FIXME python2
-from __future__ import unicode_literals
-from __future__ import print_function
-from __future__ import absolute_import
-from future.utils import python_2_unicode_compatible
-
 import pykeepass.entry
 
 from pykeepass.exceptions import BinaryError
 
-# FIXME python2
-@python_2_unicode_compatible
 class Attachment(object):
     def __init__(self, element=None, kp=None, id=None, filename=None):
         self._element = element
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pykeepass-4.0.5/pykeepass/baseelement.py 
new/pykeepass-4.0.6/pykeepass/baseelement.py
--- old/pykeepass-4.0.5/pykeepass/baseelement.py        2023-06-05 
23:38:19.000000000 +0200
+++ new/pykeepass-4.0.6/pykeepass/baseelement.py        2023-08-23 
01:04:35.000000000 +0200
@@ -1,5 +1,3 @@
-from __future__ import absolute_import
-
 import base64
 import struct
 import uuid
@@ -8,7 +6,7 @@
 from datetime import datetime
 
 
-class BaseElement(object):
+class BaseElement():
     """Entry and Group inherit from this class"""
 
     def __init__(self, element, kp=None, icon=None, expires=False,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pykeepass-4.0.5/pykeepass/entry.py 
new/pykeepass-4.0.6/pykeepass/entry.py
--- old/pykeepass-4.0.5/pykeepass/entry.py      2023-06-05 23:38:19.000000000 
+0200
+++ new/pykeepass-4.0.6/pykeepass/entry.py      2023-08-23 01:04:35.000000000 
+0200
@@ -1,7 +1,3 @@
-# FIXME python2
-from __future__ import absolute_import, unicode_literals
-from future.utils import python_2_unicode_compatible
-
 import logging
 from copy import deepcopy
 from datetime import datetime
@@ -28,8 +24,6 @@
     'otp'
 ]
 
-# FIXME python2
-@python_2_unicode_compatible
 class Entry(BaseElement):
 
     def __init__(self, title=None, username=None, password=None, url=None,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pykeepass-4.0.5/pykeepass/group.py 
new/pykeepass-4.0.6/pykeepass/group.py
--- old/pykeepass-4.0.5/pykeepass/group.py      2023-06-05 23:38:19.000000000 
+0200
+++ new/pykeepass-4.0.6/pykeepass/group.py      2023-08-23 01:04:35.000000000 
+0200
@@ -1,7 +1,3 @@
-# FIXME python2
-from __future__ import absolute_import, unicode_literals
-from future.utils import python_2_unicode_compatible
-
 from lxml.builder import E
 from lxml.etree import Element, _Element
 from lxml.objectify import ObjectifiedElement
@@ -10,8 +6,6 @@
 from pykeepass.baseelement import BaseElement
 
 
-# FIXME python2
-@python_2_unicode_compatible
 class Group(BaseElement):
 
     def __init__(self, name=None, element=None, icon=None, notes=None,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pykeepass-4.0.5/pykeepass/pykeepass.py 
new/pykeepass-4.0.6/pykeepass/pykeepass.py
--- old/pykeepass-4.0.5/pykeepass/pykeepass.py  2023-06-05 23:38:19.000000000 
+0200
+++ new/pykeepass-4.0.6/pykeepass/pykeepass.py  2023-08-23 01:04:35.000000000 
+0200
@@ -1,9 +1,4 @@
 # coding: utf-8
-
-# FIXME python2
-from __future__ import absolute_import, print_function, unicode_literals
-from future.utils import python_2_unicode_compatible
-
 import base64
 import logging
 import os
@@ -38,9 +33,7 @@
 BLANK_DATABASE_PASSWORD = "password"
 
 
-# FIXME python2
-@python_2_unicode_compatible
-class PyKeePass(object):
+class PyKeePass():
     """Open a KeePass database
 
     Args:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pykeepass-4.0.5/pykeepass/version.py 
new/pykeepass-4.0.6/pykeepass/version.py
--- old/pykeepass-4.0.5/pykeepass/version.py    2023-06-05 23:38:19.000000000 
+0200
+++ new/pykeepass-4.0.6/pykeepass/version.py    2023-08-23 01:04:35.000000000 
+0200
@@ -1,3 +1,3 @@
-__version__ = "4.0.5"
+__version__ = "4.0.6"
 
 __all__= ["__version__"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pykeepass-4.0.5/pykeepass/xpath.py 
new/pykeepass-4.0.6/pykeepass/xpath.py
--- old/pykeepass-4.0.5/pykeepass/xpath.py      2023-06-05 23:38:19.000000000 
+0200
+++ new/pykeepass-4.0.6/pykeepass/xpath.py      2023-08-23 01:04:35.000000000 
+0200
@@ -1,6 +1,3 @@
-# FIXME python2
-from __future__ import unicode_literals
-
 attachment_xp = {
     False: {
         'id': '/Value[@Ref="{}"]/..',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pykeepass-4.0.5/requirements-rtd.txt 
new/pykeepass-4.0.6/requirements-rtd.txt
--- old/pykeepass-4.0.5/requirements-rtd.txt    2023-06-05 23:38:19.000000000 
+0200
+++ new/pykeepass-4.0.6/requirements-rtd.txt    2023-08-23 01:04:35.000000000 
+0200
@@ -3,5 +3,4 @@
 construct==2.10.68
 argon2-cffi==21.3.0
 python-dateutil==2.8.2
-future==0.18.2
 Sphinx>=3.2.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pykeepass-4.0.5/requirements.txt 
new/pykeepass-4.0.6/requirements.txt
--- old/pykeepass-4.0.5/requirements.txt        2023-06-05 23:38:19.000000000 
+0200
+++ new/pykeepass-4.0.6/requirements.txt        2023-08-23 01:04:35.000000000 
+0200
@@ -3,4 +3,3 @@
 construct==2.10.68
 argon2-cffi==21.3.0
 python-dateutil==2.8.2
-future==0.18.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pykeepass-4.0.5/setup.py new/pykeepass-4.0.6/setup.py
--- old/pykeepass-4.0.5/setup.py        2023-06-05 23:38:19.000000000 +0200
+++ new/pykeepass-4.0.6/setup.py        2023-08-23 01:04:35.000000000 +0200
@@ -21,13 +21,10 @@
     packages=find_packages(include=['pykeepass', 'pykeepass.*']),
     install_requires=[
         "python-dateutil",
-        # FIXME python2 - last version to support python2
-        "construct==2.10.68",
+        "construct",
         "argon2_cffi",
         "pycryptodomex>=3.6.2",
         "lxml",
-        # FIXME python2
-        "future",
     ],
     include_package_data=True,
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pykeepass-4.0.5/tests/tests.py 
new/pykeepass-4.0.6/tests/tests.py
--- old/pykeepass-4.0.5/tests/tests.py  2023-06-05 23:38:19.000000000 +0200
+++ new/pykeepass-4.0.6/tests/tests.py  2023-08-23 01:04:35.000000000 +0200
@@ -1,8 +1,5 @@
 # -*- coding: utf-8 -*-
 
-# FIXME python2
-from __future__ import unicode_literals
-
 import logging
 import os
 import shutil

Reply via email to