Skip to content
This repository has been archived by the owner on Mar 27, 2018. It is now read-only.

Commit

Permalink
preparing for 0.8.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Barthelemy Dagenais committed Dec 26, 2013
1 parent 21f956a commit 6517bbc
Show file tree
Hide file tree
Showing 13 changed files with 51 additions and 22 deletions.
2 changes: 1 addition & 1 deletion net.sf.py4j.defaultserver.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<feature
id="net.sf.py4j.defaultserver.feature"
label="Py4J Default Server"
version="0.8.0.qualifier"
version="0.8.1.qualifier"
provider-name="Py4J">

<description url="http://py4j.sourceforge.net/">
Expand Down
2 changes: 1 addition & 1 deletion net.sf.py4j.defaultserver/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Py4J Default Server
Bundle-SymbolicName: net.sf.py4j.defaultserver;singleton:=true
Bundle-Version: 0.8.0.qualifier
Bundle-Version: 0.8.1.qualifier
Bundle-Activator: net.sf.py4j.defaultserver.DefaultServerActivator
Bundle-Vendor: Py4J
Require-Bundle: org.eclipse.core.runtime,
Expand Down
4 changes: 2 additions & 2 deletions net.sf.py4j.example/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Py4J Example
Bundle-SymbolicName: net.sf.py4j.example; singleton:=true
Bundle-Version: 0.8.0.qualifier
Bundle-Version: 0.8.1.qualifier
Bundle-Activator: net.sf.py4j.example.Activator
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
net.sf.py4j;bundle-version="0.8.0"
net.sf.py4j;bundle-version="0.8.1"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
2 changes: 1 addition & 1 deletion net.sf.py4j.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<feature
id="net.sf.py4j.feature"
label="Py4J Library (required)"
version="0.8.0.qualifier"
version="0.8.1.qualifier"
provider-name="Py4J">

<description url="http://py4j.sourceforge.net/">
Expand Down
4 changes: 2 additions & 2 deletions net.sf.py4j.site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<description name="Py4J Main Update Site" url="http://py4j.sourceforge.net/py4j_eclipse">
Main update site for Py4J
</description>
<feature url="features/net.sf.py4j.defaultserver.feature_0.8.0.201306141735.jar" id="net.sf.py4j.defaultserver.feature" version="0.8.0.201306141735">
<feature url="features/net.sf.py4j.defaultserver.feature_0.8.1.201312260830.jar" id="net.sf.py4j.defaultserver.feature" version="0.8.1.201312260830">
<category name="py4j"/>
</feature>
<feature url="features/net.sf.py4j.feature_0.8.0.201306141735.jar" id="net.sf.py4j.feature" version="0.8.0.201306141735">
<feature url="features/net.sf.py4j.feature_0.8.1.201312260830.jar" id="net.sf.py4j.feature" version="0.8.1.201312260830">
<category name="py4j"/>
</feature>
<category-def name="py4j" label="py4j"/>
Expand Down
2 changes: 1 addition & 1 deletion net.sf.py4j/.classpath
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="examples"/>
Expand Down
2 changes: 1 addition & 1 deletion net.sf.py4j/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Eclipse-BuddyPolicy: global
Bundle-ManifestVersion: 2
Bundle-Name: Py4J
Bundle-SymbolicName: net.sf.py4j
Bundle-Version: 0.8.0.qualifier
Bundle-Version: 0.8.1.qualifier
Bundle-Vendor: Py4J
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: py4j,
Expand Down
2 changes: 2 additions & 0 deletions py4j-java/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ dist/
junit/
py4j*.jar
target/
*.asc
bundle.jar
16 changes: 13 additions & 3 deletions py4j-python/release_process.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
0. Update all versions (version.py, properties, documentation, index.rst).
0. Write changelog
0. ant cleanall clean-python-release

1. ant python-release
2. create signature using gpg (gpg -b --armor)
3. create folder on sourceforge
Expand All @@ -11,6 +15,12 @@ scp Py4J-0.4.zip barthe,[email protected]:/home/frs/project/p/py/py4j/0.4
8. python setup.py register
9. upload to PyPI
10. ant deploy-website
11. close all bugs on github
12. tag the release on git
13. send an email to the mailing list.
11. mvn package javadoc:jar source:jar
12. create signature
13. jar -cvf bundle.jar pom.xml ... (all files)
14. create staging release in central
15. close release
16. publish release
17. close all bugs on github
18. tag the release on git
19. send an email to the mailing list.
16 changes: 14 additions & 2 deletions py4j-web/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@ Changelog

The changelog describes in plain English the changes that occurred between Py4J releases.

Py4J 0.8.1
--------

- Fixed a bug in type inference when interface hierarchy is deeper than
abstract class hierarchy.
- Added a utility method ``is_instance_of`` in py4j.java_gateway to determine
if a JavaObject is an instance of a class.
- Released Py4J in central Maven repository.
- `github 0.8.1 milestone
<https://github.com/bartdag/py4j/issues?milestone=8&page=1&state=closed>`_


Py4J 0.8
--------

Expand Down Expand Up @@ -53,12 +65,12 @@ Py4J 0.5
- Added support for pattern filtering in ``JavaGateway.help()`` (e.g., ``gateway.help(obj,'get*Foo*Bar')``)
- Added support for automatic conversion of Python collections (list, set,
dictionary) to Java collections. User ``JavaGateway(auto_convert=True)`` or
an explicit convertor.
an explicit convertor.
- Created two Eclipse features: one embeds the Py4J
Java library. The other
provides a default GatewayServer that is started when Eclipse starts. Both
features are available on the new Py4J Eclipse update site:
``http://py4j.sourceforge.net/py4j_eclipse``
``http://py4j.sourceforge.net/py4j_eclipse``
- Redesigned the module decomposition of Py4J: there are no more mandatory circular dependencies among modules.
- `github 0.5 milestone
<https://github.com/bartdag/py4j/issues/labels/v0.5>`_
Expand Down
4 changes: 2 additions & 2 deletions py4j-web/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
# built documents.
#
# The short X.Y version.
version = '0.8'
version = '0.8.1'
# The full version, including alpha/beta/rc tags.
release = '0.8'
release = '0.8.1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
9 changes: 6 additions & 3 deletions py4j-web/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ JVM.
public int addition(int first, int second) {
return first + second;
}
public static void main(String[] args) {
AdditionApplication app = new AdditionApplication();
// app is now the gateway.entry_point
GatewayServer server = new GatewayServer(app);
server.start();
}
}
}
Resources
Expand All @@ -65,6 +65,9 @@ Resources
News
====

* **December 26th 2013** - Py4J 0.8.1 has been released. See the
:doc:`changelog` for more details about the new features.

* **June 14th 2013** - Py4J 0.8 has been released. See the :doc:`changelog` for
more details about the new features.

Expand All @@ -89,6 +92,6 @@ News

* **December 23rd 2009** - Py4J 0.1 has been released. Rejoice!

* **December 11th 2009** - Py4J is still in the planning phase, but the
* **December 11th 2009** - Py4J is still in the planning phase, but the
code currently works for basic scenarios. A release and a tutorial should
be available in the following weeks.
8 changes: 5 additions & 3 deletions py4j-web/py4j_java_gateway.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ JavaGateway
:members:
:undoc-members:


.. _api_java_gateway_examples:

Examples
Expand All @@ -44,7 +44,7 @@ Using the ``jvm`` property:
>>> l.sort()
>>> l
[1, 5, 10]

Using ``auto_field``:

First we declare a class that has a field AND a method called `member`:
Expand Down Expand Up @@ -75,7 +75,7 @@ Then we play with the class using the two possible values of auto_field:
1
>>> get_method(example2,'member')()
u'Hello World'

.. _api_gatewayclient:

GatewayClient
Expand Down Expand Up @@ -265,4 +265,6 @@ The following functions get be used to import packages or to get a particular fi

.. autofunction:: py4j.java_gateway.get_method

.. autofunction:: py4j.java_gateway.is_instance_of


0 comments on commit 6517bbc

Please sign in to comment.