15
0
forked from pool/python-JPype1

Accepting request 1137273 from devel:languages:python

- 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/request/show/1137273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-JPype1?expand=0&rev=7
This commit is contained in:
2024-01-07 20:39:23 +00:00
committed by Git OBS Bridge
4 changed files with 27 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dc8ee854073474ad79ae168d90c2f6893854f58936cfa18f3587cadae0d3696d
size 797859

3
JPype1-1.5.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:425a6e1966afdd5848b60c2688bcaeb7e40ba504a686f1114589668e0631e878
size 819110

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Sat Jan 6 17:12:01 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <fstrba@suse.com>

View File

@@ -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