[dist] Release notes for Java And other Languages
See original GitHub issueDescribe your feature request
Ray java release is not well done currently. We need a formal release process for ray java.
Other language that ray will support in future all need a formal release process.
Maven
For every release of ray, we should upload ray jars to maven repository.
Currently ray jars only contains current platform native c++ shared libraries. For maven distribution, we need package native c++ shared libraries of every platform into ray jars, so that users can use same maven dependencies in every platform.
Wheel
For the users of Ray cross-lang, we always need the ray-jars setup. When the Python user wants to create Java actor, ray-jars is needed. Package jars into wheel is a way for this, deploy jars in advance is also viable, but maybe too complicated for users. ray-all package depends on ray package, pip install ray-all will pip install ray automatically if ray is not installed.
So I suggest to release a ray-all wheel dist which contains ray java jars to pypi for every release of ray. Resources of other languages should be packaged into this wheel in future.
If this is viable, #6600 is a simple wheel implementation. We need to determine the name of wheel. Will it be suitable to call it ray-all or ray-java?
If there is a better way, please let me know.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:10 (9 by maintainers)

Top Related StackOverflow Question
Since we added an extra
ray-javawheel, its release should be sync withraywheel. When we uploadraywheel to pypi, we also need to uploadray-javawheel to pypi.For maven release, we need release every commit in master as a snapshoot in maven. For every release version of
raywheel in pypi, we should release jars to maven release too.@robertnishihara
ray-javawheel is a separate wheel, packaged by a separatesetup.py. It won’t affectraywheel size. We thought packagejarsintoraywheel. But it’s too large and not useful for pure python users. So we packagejarsinto a separate wheel. Please take a look at #6600. It’s how we do it.