Hello community, here is the log from the commit of package xcb-proto for openSUSE:Factory checked in at 2020-10-11 20:15:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xcb-proto (Old) and /work/SRC/openSUSE:Factory/.xcb-proto.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xcb-proto" Sun Oct 11 20:15:28 2020 rev:14 rq:840399 version:7.6_1.14.1 Changes: -------- --- /work/SRC/openSUSE:Factory/xcb-proto/xcb-proto.changes 2020-02-29 21:18:36.210044782 +0100 +++ /work/SRC/openSUSE:Factory/.xcb-proto.new.4249/xcb-proto.changes 2020-10-11 20:15:38.768397244 +0200 @@ -1,0 +2,8 @@ +Fri Oct 9 08:15:40 UTC 2020 - Stefan Dirsch <sndir...@suse.com> + +- Update to version 1.14.1 + * This minor bug fix release provides compatibility with + Python 3.9 by replacing usage of deprecated API's which + were removed in Python 3.9. + +------------------------------------------------------------------- Old: ---- xcb-proto-1.14.tar.xz New: ---- xcb-proto-1.14.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xcb-proto.spec ++++++ --- /var/tmp/diff_new_pack.9Dgj5I/_old 2020-10-11 20:15:40.084398067 +0200 +++ /var/tmp/diff_new_pack.9Dgj5I/_new 2020-10-11 20:15:40.088398069 +0200 @@ -16,7 +16,7 @@ # -%define dirsuffix 1.14 +%define dirsuffix 1.14.1 %if 0%{?suse_version} >= 1500 %bcond_with python2 %else ++++++ xcb-proto-1.14.tar.xz -> xcb-proto-1.14.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xcb-proto-1.14/NEWS new/xcb-proto-1.14.1/NEWS --- old/xcb-proto-1.14/NEWS 2020-02-22 21:16:54.000000000 +0100 +++ new/xcb-proto-1.14.1/NEWS 2020-10-09 00:31:54.000000000 +0200 @@ -1,3 +1,8 @@ +Release 1.14.1 (2020-10-08) +=========================== +* Python 3.9 compatibility (stop using removed interfaces) +* Fix handling of enum attributes in fields + Release 1.14 (2020-02-22) ========================= * Fix size computation of imported lists diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xcb-proto-1.14/configure new/xcb-proto-1.14.1/configure --- old/xcb-proto-1.14/configure 2020-02-22 21:16:56.000000000 +0100 +++ new/xcb-proto-1.14.1/configure 2020-10-09 00:31:57.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for XCB Proto 1.14. +# Generated by GNU Autoconf 2.69 for XCB Proto 1.14.1. # # Report bugs to <x...@lists.freedesktop.org>. # @@ -579,8 +579,8 @@ # Identity of this package. PACKAGE_NAME='XCB Proto' PACKAGE_TARNAME='xcb-proto' -PACKAGE_VERSION='1.14' -PACKAGE_STRING='XCB Proto 1.14' +PACKAGE_VERSION='1.14.1' +PACKAGE_STRING='XCB Proto 1.14.1' PACKAGE_BUGREPORT='x...@lists.freedesktop.org' PACKAGE_URL='' @@ -1214,7 +1214,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures XCB Proto 1.14 to adapt to many kinds of systems. +\`configure' configures XCB Proto 1.14.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1280,7 +1280,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of XCB Proto 1.14:";; + short | recursive ) echo "Configuration of XCB Proto 1.14.1:";; esac cat <<\_ACEOF @@ -1360,7 +1360,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -XCB Proto configure 1.14 +XCB Proto configure 1.14.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1377,7 +1377,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by XCB Proto $as_me 1.14, which was +It was created by XCB Proto $as_me 1.14.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2241,7 +2241,7 @@ # Define the identity of the package. PACKAGE='xcb-proto' - VERSION='1.14' + VERSION='1.14.1' cat >>confdefs.h <<_ACEOF @@ -3211,7 +3211,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by XCB Proto $as_me 1.14, which was +This file was extended by XCB Proto $as_me 1.14.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3264,7 +3264,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -XCB Proto config.status 1.14 +XCB Proto config.status 1.14.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xcb-proto-1.14/configure.ac new/xcb-proto-1.14.1/configure.ac --- old/xcb-proto-1.14/configure.ac 2020-02-22 21:16:54.000000000 +0100 +++ new/xcb-proto-1.14.1/configure.ac 2020-10-09 00:31:54.000000000 +0200 @@ -3,7 +3,7 @@ AC_PREREQ(2.57) AC_INIT([XCB Proto], - 1.14, + 1.14.1, [x...@lists.freedesktop.org]) AC_CONFIG_SRCDIR([xcb-proto.pc.in]) AM_INIT_AUTOMAKE([foreign dist-xz]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xcb-proto-1.14/src/xproto.xml new/xcb-proto-1.14.1/src/xproto.xml --- old/xcb-proto-1.14/src/xproto.xml 2020-02-22 21:16:54.000000000 +0100 +++ new/xcb-proto-1.14.1/src/xproto.xml 2020-10-09 00:31:54.000000000 +0200 @@ -2624,7 +2624,7 @@ if ((reply = xcb_grab_pointer_reply(conn, cookie, NULL))) { if (reply->status == XCB_GRAB_STATUS_SUCCESS) printf("successfully grabbed the pointer\\n"); - free(preply); + free(reply); } } ]]></example> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xcb-proto-1.14/xcbgen/align.py new/xcb-proto-1.14.1/xcbgen/align.py --- old/xcb-proto-1.14/xcbgen/align.py 2020-02-22 21:16:54.000000000 +0100 +++ new/xcb-proto-1.14.1/xcbgen/align.py 2020-10-09 00:31:54.000000000 +0200 @@ -2,7 +2,12 @@ This module contains helper classes for alignment arithmetic and checks ''' -from fractions import gcd +from sys import version_info + +if version_info[:2] >= (3, 5): + from math import gcd +else: + from fractions import gcd class Alignment(object): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xcb-proto-1.14/xcbgen/matcher.py new/xcb-proto-1.14.1/xcbgen/matcher.py --- old/xcb-proto-1.14/xcbgen/matcher.py 2020-02-22 21:16:54.000000000 +0100 +++ new/xcb-proto-1.14.1/xcbgen/matcher.py 2020-10-09 00:31:54.000000000 +0200 @@ -7,7 +7,12 @@ ''' from os.path import join -from xml.etree.cElementTree import parse +from sys import version_info + +if version_info[:2] >= (3, 3): + from xml.etree.ElementTree import parse +else: + from xml.etree.cElementTree import parse from xcbgen.xtypes import * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xcb-proto-1.14/xcbgen/state.py new/xcb-proto-1.14.1/xcbgen/state.py --- old/xcb-proto-1.14/xcbgen/state.py 2020-02-22 21:16:54.000000000 +0100 +++ new/xcb-proto-1.14.1/xcbgen/state.py 2020-10-09 00:31:54.000000000 +0200 @@ -2,7 +2,12 @@ This module contains the namespace class and the singleton module class. ''' from os.path import dirname, basename -from xml.etree.cElementTree import parse +from sys import version_info + +if version_info[:2] >= (3, 3): + from xml.etree.ElementTree import parse +else: + from xml.etree.cElementTree import parse from xcbgen import matcher from xcbgen.error import * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xcb-proto-1.14/xcbgen/xtypes.py new/xcb-proto-1.14.1/xcbgen/xtypes.py --- old/xcb-proto-1.14/xcbgen/xtypes.py 2020-02-22 21:16:54.000000000 +0100 +++ new/xcb-proto-1.14.1/xcbgen/xtypes.py 2020-10-09 00:31:54.000000000 +0200 @@ -528,10 +528,10 @@ def resolve(self, module): if self.resolved: return - enum = None # Resolve all of our field datatypes. for child in list(self.elt): + enum = None if child.tag == 'pad': field_name = 'pad' + str(module.pads) fkey = 'CARD8'