Skip to content

Commit

Permalink
change version to 0.6.0 (#1693)
Browse files Browse the repository at this point in the history
* change version to 0.6.0

* change version to 0.6.0
  • Loading branch information
glorysdj authored Oct 14, 2019
1 parent a57a87c commit 56aa543
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 37 deletions.
4 changes: 2 additions & 2 deletions docker/zoo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ MAINTAINER The Analytics-Zoo Authors https://github.com/intel-analytics/analytic
WORKDIR /opt/work

ARG PY_VERSION_3
ARG ANALYTICS_ZOO_VERSION=0.6.0-SNAPSHOT
ARG BIGDL_VERSION=0.8.0
ARG ANALYTICS_ZOO_VERSION=0.6.0
ARG BIGDL_VERSION=0.9.1
ARG SPARK_VERSION=2.4.3
ARG RUNTIME_SPARK_MASTER=local[4]
ARG RUNTIME_DRIVER_CORES=4
Expand Down
6 changes: 3 additions & 3 deletions docs/docs/PythonUserGuide/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ For Python users, Analytics Zoo can be installed either [from pip](#install-from
You can use the following command to install the latest release version of __analytics-zoo__ via pip easily:

```bash
pip install analytics-zoo # for Python 2.7
pip3 install analytics-zoo # for Python 3.5 and Python 3.6
pip install analytics-zoo==0.6.0 # for Python 2.7
pip3 install analytics-zoo==0.6.0 # for Python 3.5 and Python 3.6
```

* Note that you might need to add `sudo` if you don't have the permission for installation.
Expand All @@ -28,7 +28,7 @@ sc = init_nncontext()
1. We've tested this package with pip 9.0.1. `pip install --upgrade pip` if necessary.
2. Pip install supports __Mac__ and __Linux__ platforms.
3. You need to install Java __>= JDK8__ before running Analytics Zoo, which is required by `pyspark`.
4. `pyspark==2.4.3`, `bigdl==0.9.0` and their dependencies will automatically be installed if they haven't been detected in the current Python environment.
4. `pyspark==2.4.3`, `bigdl==0.9.1` and their dependencies will automatically be installed if they haven't been detected in the current Python environment.

---
## **Install from pip for yarn cluster**
Expand Down
32 changes: 3 additions & 29 deletions docs/docs/ScalaUserGuide/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ Currently, Analytics Zoo releases are hosted on maven central; here's an example
```xml
<dependency>
<groupId>com.intel.analytics.zoo</groupId>
<artifactId>analytics-zoo-bigdl_0.9.0-[spark_2.1.1|spark_2.2.0|spark_2.3.1|spark_2.4.3]</artifactId>
<version>${ANALYTICS_ZOO_VERSION}</version>
<artifactId>analytics-zoo-bigdl_0.9.1-[spark_2.1.1|spark_2.2.0|spark_2.3.1|spark_2.4.3]</artifactId>
<version>0.6.0</version>
</dependency>
```

SBT developers can use
```sbt
libraryDependencies += "com.intel.analytics.zoo" % "analytics-zoo-bigdl_0.9.0-[spark_2.1.1|spark_2.2.0|spark_2.3.1|spark_2.4.3]" % "${ANALYTICS_ZOO_VERSION}"
libraryDependencies += "com.intel.analytics.zoo" % "analytics-zoo-bigdl_0.9.1-[spark_2.1.1|spark_2.2.0|spark_2.3.1|spark_2.4.3]" % "0.6.0"
```

Remarks:
Expand All @@ -25,32 +25,6 @@ Remarks:
- You don't need to add the BigDL dependency to your project as it has already been packaged within Analytics Zoo.
- You can find the option `${ANALYTICS_ZOO_VERSION}` from the [Release Page](../release-download.md).

---
## **Link with a development version**

Currently, Analytics Zoo development version is hosted on [SonaType](https://oss.sonatype.org/content/groups/public/com/intel/analytics/zoo/).

To link your application with the latest Analytics Zoo development version, you should add some dependencies like [Linking with Analytics Zoo releases](#link-with-a-release-version), but set `${ANALYTICS_ZOO_VERSION}` to latest version, and add below repository to your pom.xml.

```xml
<repository>
<id>sonatype</id>
<name>sonatype repository</name>
<url>https://oss.sonatype.org/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
```

SBT developers can use
```sbt
resolvers += "ossrh repository" at "https://oss.sonatype.org/content/repositories/snapshots/"
```

## **Download Analytics Zoo Source**

Analytics Zoo source code is available at [GitHub](https://github.com/intel-analytics/analytics-zoo)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.intel.analytics.zoo</groupId>
<artifactId>zoo-parent</artifactId>
<packaging>pom</packaging>
<version>0.6.0-SNAPSHOT</version>
<version>0.6.0</version>

<name>zoo-parent</name>
<description>A distributed analytics library for Apache Spark.</description>
Expand Down
2 changes: 1 addition & 1 deletion pyzoo/zoo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
for clz in creator_classes:
JavaCreator.add_creator_class(clz)

__version__ = "0.6.0.dev0"
__version__ = "0.6.0"
2 changes: 1 addition & 1 deletion zoo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>zoo-parent</artifactId>
<groupId>com.intel.analytics.zoo</groupId>
<version>0.6.0-SNAPSHOT</version>
<version>0.6.0</version>
</parent>

<artifactId>analytics-zoo-bigdl_${bigdl.version}-spark_${spark.version}</artifactId>
Expand Down

0 comments on commit 56aa543

Please sign in to comment.