From 70d9d1124f0751a758848114836e42861b263b1f111fbd009d41c6fc3f3c2c70 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 6 Jan 2024 17:12:52 +0000 Subject: [PATCH] - update to 1.5.0: * Support for Python 3.12 * Switched __eq__ and __ne__ operator to use equals rather than compareTo for comparable objects to avoid exception when comparing object of different types. * Fixed segmentation fault when comparing Java Comparable to primitives. * Java exceptions that occur in inequality comparisons now map to Python TypeError. * Fixed crash when calling subscript on JArray. * Fixed direct byte buffers not reporting nbytes correctly when cast to memoryview. * Expand the defintion for Functional interface to include classes without FunctionInterface annotation. * Add additional matching level for derived types to resolve ambiguities when a derived type is used in place of base class when determining the method overload. This will resolve some previous ambiguities between methods. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-JPype1?expand=0&rev=13 --- JPype1-1.4.1.tar.gz | 3 --- JPype1-1.5.0.tar.gz | 3 +++ python-JPype1.changes | 22 ++++++++++++++++++++++ python-JPype1.spec | 4 ++-- 4 files changed, 27 insertions(+), 5 deletions(-) delete mode 100644 JPype1-1.4.1.tar.gz create mode 100644 JPype1-1.5.0.tar.gz diff --git a/JPype1-1.4.1.tar.gz b/JPype1-1.4.1.tar.gz deleted file mode 100644 index 3e3330d..0000000 --- a/JPype1-1.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dc8ee854073474ad79ae168d90c2f6893854f58936cfa18f3587cadae0d3696d -size 797859 diff --git a/JPype1-1.5.0.tar.gz b/JPype1-1.5.0.tar.gz new file mode 100644 index 0000000..7885f78 --- /dev/null +++ b/JPype1-1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:425a6e1966afdd5848b60c2688bcaeb7e40ba504a686f1114589668e0631e878 +size 819110 diff --git a/python-JPype1.changes b/python-JPype1.changes index 7812e36..af55341 100644 --- a/python-JPype1.changes +++ b/python-JPype1.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sat Jan 6 17:12:01 UTC 2024 - Dirk Müller + +- update to 1.5.0: + * Support for Python 3.12 + * Switched __eq__ and __ne__ operator to use equals rather than + compareTo for comparable objects to avoid exception when + comparing object of different types. + * Fixed segmentation fault when comparing Java Comparable to + primitives. + * Java exceptions that occur in inequality comparisons now map + to Python TypeError. + * Fixed crash when calling subscript on JArray. + * Fixed direct byte buffers not reporting nbytes correctly when + cast to memoryview. + * Expand the defintion for Functional interface to include + classes without FunctionInterface annotation. + * Add additional matching level for derived types to resolve + ambiguities when a derived type is used in place of base + class when determining the method overload. This will + resolve some previous ambiguities between methods. + ------------------------------------------------------------------- Mon Jun 12 11:00:29 UTC 2023 - Fridrich Strba diff --git a/python-JPype1.spec b/python-JPype1.spec index 9273a6e..74c2532 100644 --- a/python-JPype1.spec +++ b/python-JPype1.spec @@ -1,7 +1,7 @@ # # spec file for package python-JPype1 # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ # https://build.opensuse.org/package/show/Java:packages/h2database is not in Factory %bcond_with test_jdbc Name: python-JPype1 -Version: 1.4.1 +Version: 1.5.0 Release: 0 Summary: Python to Java bridge License: Apache-2.0