From 02b2c73baa9a454f96313bcfb23f92511298dfd0b1caffdd2e7dccd3e140474d Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Wed, 17 Aug 2022 04:55:57 +0000 Subject: [PATCH] Accepting request 997446 from home:yarunachalam:branches:devel:languages:python - Update to 1.4.0 Support for all different buffer type conversions. * Improved buffer transfers to numpy as guaranteed to match Java types. However, exact dtype for conversions is os/numpy version dependent. * Support for byte order channels on buffer transfers. * Byte size for buffers now fixed to Java definitions. * When directly accessing Java arrays using memory view, Python requires a cast from buffers. Required because Python does not support memory view alterations on non-native sizes. Fix crash when comparing JChar. * Order handling for numerical operations with JChar fixed. * Improved matching for Java functors based on parameter count. * Dropped support for Python 3.5 and 3.6 * dbapi2 handles drivers that don't support autocommit. * Fixed issue when Java classes with dunder methods such as __del__ caused conflicts in Python type system. Java method which match dunder patterns are longer translated to Python. * Fix issue with numpy arrays with no dimensions resulting in crash. * Support for user defined conversions for java.lang.Class and array types. * Fixed issue with ssize_t on Windows for Python 3.10. OBS-URL: https://build.opensuse.org/request/show/997446 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-JPype1?expand=0&rev=6 --- JPype1-1.3.0.tar.gz | 3 --- JPype1-1.4.0.tar.gz | 3 +++ python-JPype1.changes | 24 ++++++++++++++++++++++++ python-JPype1.spec | 2 +- 4 files changed, 28 insertions(+), 4 deletions(-) delete mode 100644 JPype1-1.3.0.tar.gz create mode 100644 JPype1-1.4.0.tar.gz diff --git a/JPype1-1.3.0.tar.gz b/JPype1-1.3.0.tar.gz deleted file mode 100644 index 31c2e05..0000000 --- a/JPype1-1.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4fc27dba89750cb0c9d692466341ce60c0fe86a16051091cb5347a37cf884151 -size 820316 diff --git a/JPype1-1.4.0.tar.gz b/JPype1-1.4.0.tar.gz new file mode 100644 index 0000000..effbb18 --- /dev/null +++ b/JPype1-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c5f665ee3e6e31c27e9d2d48dd12bf4eb4fe6858823e6a11201a035274ccfe1 +size 1187258 diff --git a/python-JPype1.changes b/python-JPype1.changes index 526a9f9..6934c2e 100644 --- a/python-JPype1.changes +++ b/python-JPype1.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Tue Aug 16 21:45:24 UTC 2022 - Yogalakshmi Arunachalam + +- Update to 1.4.0 + Support for all different buffer type conversions. + * Improved buffer transfers to numpy as guaranteed to match Java types. + However, exact dtype for conversions is os/numpy version dependent. + * Support for byte order channels on buffer transfers. + * Byte size for buffers now fixed to Java definitions. + * When directly accessing Java arrays using memory view, Python requires a cast + from buffers. Required because Python does not support memory view alterations + on non-native sizes. + Fix crash when comparing JChar. + * Order handling for numerical operations with JChar fixed. + * Improved matching for Java functors based on parameter count. + * Dropped support for Python 3.5 and 3.6 + * dbapi2 handles drivers that don't support autocommit. + * Fixed issue when Java classes with dunder methods such as __del__ caused + conflicts in Python type system. Java method which match dunder patterns are longer + translated to Python. + * Fix issue with numpy arrays with no dimensions resulting in crash. + * Support for user defined conversions for java.lang.Class and array types. + * Fixed issue with ssize_t on Windows for Python 3.10. + ------------------------------------------------------------------- Mon Feb 21 12:18:03 UTC 2022 - John Vandenberg diff --git a/python-JPype1.spec b/python-JPype1.spec index 6dd3300..4ae26b2 100644 --- a/python-JPype1.spec +++ b/python-JPype1.spec @@ -23,7 +23,7 @@ # https://build.opensuse.org/package/show/Java:packages/sqlite-jdbc is not in Factory %bcond_with test_jdbc Name: python-JPype1 -Version: 1.3.0 +Version: 1.4.0 Release: 0 Summary: Python to Java bridge License: Apache-2.0