forked from pool/python-JPype1
Accepting request 956484 from home:jayvdb:branches:devel:languages:python
- Update to v1.3.0
* Fixes for memory issues found when upgrading to Python 3.10 beta.
* Add additional diagnositics for importing of non-public class.
* Fixed issue with classes with unsatified dependencies leading to
a crash on windows.
* Fixed a bug with arrays created using the short cut.
- from v1.2.1
* Missing stub files added.
* Python 3.9 issues are resolved on Windows.
* JPype scans jar files and rebuilding missing directories to
allow imports from stripped and obfuscated jar files.
- from v1.2.0
* Added builds for Python 3.9.
* Fixed bug when importing from multi-release jars.
* addClassPath can add jar files after the JVM is started.
The default loader for JPype class is
``org.jpype.classloader.DynamicClassLoader``.
* Build support of z/OS added.
* Bug causing ambiguity between primitives and variadic arguments
in method resolution was corrected.
* Boolean was inadvertently left out of method resolution.
``boolean`` now properly matched with boxed types.
* Support for PyInstaller was added.
OBS-URL: https://build.opensuse.org/request/show/956484
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-JPype1?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
05b5e6846d
commit
8fcfc6a8a8
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c6e36de9f7ef826ff27f6d5260acc710ebc585a534c12cbac905db088ab1d992
|
||||
size 1172651
|
||||
3
JPype1-1.3.0.tar.gz
Normal file
3
JPype1-1.3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4fc27dba89750cb0c9d692466341ce60c0fe86a16051091cb5347a37cf884151
|
||||
size 820316
|
||||
@@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 21 12:18:03 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Update to v1.3.0
|
||||
* Fixes for memory issues found when upgrading to Python 3.10 beta.
|
||||
* Add additional diagnositics for importing of non-public class.
|
||||
* Fixed issue with classes with unsatified dependencies leading to
|
||||
a crash on windows.
|
||||
* Fixed a bug with arrays created using the short cut.
|
||||
- from v1.2.1
|
||||
* Missing stub files added.
|
||||
* Python 3.9 issues are resolved on Windows.
|
||||
* JPype scans jar files and rebuilding missing directories to
|
||||
allow imports from stripped and obfuscated jar files.
|
||||
- from v1.2.0
|
||||
* Added builds for Python 3.9.
|
||||
* Fixed bug when importing from multi-release jars.
|
||||
* addClassPath can add jar files after the JVM is started.
|
||||
The default loader for JPype class is
|
||||
``org.jpype.classloader.DynamicClassLoader``.
|
||||
* Build support of z/OS added.
|
||||
* Bug causing ambiguity between primitives and variadic arguments
|
||||
in method resolution was corrected.
|
||||
* Boolean was inadvertently left out of method resolution.
|
||||
``boolean`` now properly matched with boxed types.
|
||||
* Support for PyInstaller was added.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 27 09:47:52 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-JPype1
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -20,9 +20,10 @@
|
||||
%define skip_python2 1
|
||||
%define skip_python36 1
|
||||
%bcond_without test
|
||||
# https://build.opensuse.org/package/show/Java:packages/sqlite-jdbc is not in Factory
|
||||
%bcond_with test_jdbc
|
||||
Name: python-JPype1
|
||||
Version: 1.1.2
|
||||
Version: 1.3.0
|
||||
Release: 0
|
||||
Summary: Python to Java bridge
|
||||
License: Apache-2.0
|
||||
@@ -58,9 +59,8 @@ A Python to Java bridge.
|
||||
|
||||
%prep
|
||||
%setup -q -n JPype1-%{version}
|
||||
rm setup.cfg
|
||||
# https://github.com/jpype-project/jpype/issues/892
|
||||
rm test/sql/conftest.py examples/stubs/buf_leak_test.py
|
||||
# Avoid build dependency on PyInstaller
|
||||
rm jpype/_pyinstaller/test_jpype_pyinstaller.py
|
||||
|
||||
%build
|
||||
ant -f native/build.xml jar
|
||||
@@ -76,14 +76,9 @@ export CFLAGS="%{optflags}"
|
||||
ant -f test/build.xml compile
|
||||
|
||||
# JClassTestCase.testAsArray fails on i586
|
||||
# https://github.com/jpype-project/jpype/issues/1029
|
||||
skip_tests="(JClassTestCase and testAsArray)"
|
||||
|
||||
# Failed to extract javadoc for class jpype.doc.Test
|
||||
skip_tests+=" or (HtmlTestCase and testClass)"
|
||||
|
||||
# https://github.com/jpype-project/jpype/issues/891
|
||||
skip_tests+=" or test_memory_leak_fix or test_jarray_slice_copy_fix"
|
||||
|
||||
%if %{without test_jbdc}
|
||||
skip_tests+=" or test_sql_h2 or test_sql_hsqldb or test_sql_sqlite"
|
||||
%endif
|
||||
@@ -96,6 +91,9 @@ export CLASSPATH=${PWD}/test/classes:%{_libdir}/java/sqlite-jdbc.jar:%{_localsta
|
||||
%files %{python_files}
|
||||
%doc AUTHORS.rst README.rst
|
||||
%license LICENSE
|
||||
%{python_sitearch}/*
|
||||
%{python_sitearch}/jpype/
|
||||
%{python_sitearch}/org.jpype.jar
|
||||
%{python_sitearch}/_jpype*.so
|
||||
%{python_sitearch}/*JPype1*/
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user