Skip to content

Commit

Permalink
preparing 0.10 release
Browse files Browse the repository at this point in the history
  • Loading branch information
bartdag committed Apr 17, 2016
1 parent a871ceb commit afa54f6
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 40 deletions.
30 changes: 1 addition & 29 deletions py4j-java/ant.properties
@@ -1,33 +1,5 @@
###############################################################################
# Copyright (c) 2010, 2011, Barthelemy Dagenais All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# - Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
# - Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# - The name of the author may not be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
###############################################################################
# Version of the software
version=0.10.0-SNAPSHOT
version=0.10.0

# Path to the JUnit 4 jar. YOU MUST SET THIS VALUE. Otherwise, the test classes won't compile.
junit.path=junit-4.10.jar
Expand Down
2 changes: 1 addition & 1 deletion py4j-java/build.gradle
Expand Up @@ -136,7 +136,7 @@ task createPom {
packaging 'jar'
groupId 'net.sf.py4j'
artifactId 'py4j'
version '0.10.0-SNAPSHOT'
version '0.10.0'
name 'Py4J'
description 'Py4J enables Python programs running in a Python interpreter to dynamically access Java objects in a Java Virtual Machine. Methods are called as if the Java objects resided in the Python interpreter and Java collections can be accessed through standard Python collection methods. Py4J also enables Java programs to call back Python objects.'
scm {
Expand Down
2 changes: 1 addition & 1 deletion py4j-java/gradle.properties
@@ -1,6 +1,6 @@
group=py4j
bundleVersion=0.10.0
version=0.10.0-SNAPSHOT
version=0.10.0
sourceCompatibility=1.6
# Define the jdk6BootClasspath in your ~/.gradle/gradle.properties
jdk6BootClasspath=
Expand Down
2 changes: 1 addition & 1 deletion py4j-java/pom.xml
Expand Up @@ -8,7 +8,7 @@
</parent>
<groupId>net.sf.py4j</groupId>
<artifactId>py4j</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
<name>Py4J</name>
<description>Py4J enables Python programs running in a Python interpreter to dynamically access Java objects in a Java Virtual Machine. Methods are called as if the Java objects resided in the Python interpreter and Java collections can be accessed through standard Python collection methods. Py4J also enables Java programs to call back Python objects.</description>
<licenses>
Expand Down
2 changes: 1 addition & 1 deletion py4j-python/src/py4j/version.py
@@ -1 +1 @@
__version__ = '0.10.0-SNAPSHOT'
__version__ = '0.10.0'
18 changes: 11 additions & 7 deletions py4j-web/changelog.rst
Expand Up @@ -7,21 +7,25 @@ releases.
Py4J 0.10.0
-----------

- Release date: TBD

- Release date: April 18th 2016
- Added a new threading model that is more efficient with indirect recursion
between Java and Python and that enables users to control which thread will
execute calls. Thanks to `kichwacoders <https://kichwacoders.com/>`_ for the
funding and the initial idea.
execute calls. Thanks to `kichwacoders <https://kichwacoders.com/>`_ for
funding the implementation and providing the initial idea.
- Added TLS support to encrypt the communication between both sides. Thanks to
@njwhite.
- Added initial byte stream support so Python can consume Java byte streams
more efficiently. Support is still preliminary and subject to change in the
future, but it provides a good base to build on.
future, but it provides a good base to build on. See these `Python unit test
<https://github.com/bartdag/py4j/blob/9d3a520d9a31ea39534d2d290eaa7da5dc683ed5/py4j-python/src/py4j/tests/java_gateway_test.py#L547>`_
and `Java example class
<https://github.com/bartdag/py4j/blob/9d3a520d9a31ea39534d2d290eaa7da5dc683ed5/py4j-java/src/test/java/py4j/examples/ExampleClass.java#L192>`_
for a small example. Thanks to @njwhite.
- Java side: converted build script from ant to gradle. Introduced Java coding
conventions and static code analysis.
conventions and static code analysis. See :ref:`Java Coding Conventions
<java_conventions>` for more details.
- Java side: it is now possible to build a osgi bundle and an Eclipse update
site from Py4J source.
site from Py4J source. See :ref:`using Py4J with Eclipse <eclipse_features>`
- `tickets closed for 0.10.0 release
<https://github.com/bartdag/py4j/issues?q=milestone%3A0.10+is%3Aclosed>`_

Expand Down
4 changes: 4 additions & 0 deletions py4j-web/contributing.rst
Expand Up @@ -18,6 +18,8 @@ make sure that your contribution includes:
3. Some code examples in the py4j-web documentation subproject if you are
introducing new features.

.. _python_conventions:

Python Coding Conventions
-------------------------

Expand Down Expand Up @@ -47,6 +49,8 @@ installed with pip:
flake8
.. _java_conventions:

Java Coding Conventions
-----------------------

Expand Down
3 changes: 3 additions & 0 deletions py4j-web/index.rst
Expand Up @@ -67,6 +67,9 @@ Support & Resources
News
====

* **April 18th 2016** - Py4J 0.10.0 has been released. See the :doc:`changelog`
for more details about the bug fixes and new features.

* **March 12th 2016** - Py4J 0.9.2 has been released. See the :doc:`changelog`
for more details about the bug fixes and new features.

Expand Down

0 comments on commit afa54f6

Please sign in to comment.