You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/12/06 22:18:18 UTC

[GitHub] gigasquid commented on issue #13566: Update version to v1.5.0 except clojure package

gigasquid commented on issue #13566: Update version to v1.5.0 except clojure package
URL: https://github.com/apache/incubator-mxnet/pull/13566#issuecomment-445050375
 
 
   There is a relation between the Clojure and Scala packages the Clojure CI tests build the Scala package, install it locally in maven, and then try to build the package  - since it is no longer building the 1.4.0 version but the 1.5.0 version - it will fail 
   
   The minimum change that you need is in `contrib/clojure/project.clj` that looks like
   
   ```clojure
   (defproject org.apache.mxnet.contrib.clojure/clojure-mxnet "1.5.0-SNAPSHOT"
     :description "Clojure package for MXNet"
     :url "https://github.com/apache/incubator-mxnet"
     :license {:name "Apache License"
               :url "http://www.apache.org/licenses/LICENSE-2.0"}
     :dependencies [[org.clojure/clojure "1.9.0"]
                    [t6/from-scala "0.3.0"]
   
                    ;; Jars from Nexus
                    ;[org.apache.mxnet/mxnet-full_2.11-osx-x86_64-cpu "1.2.1"]
                    ;[org.apache.mxnet/mxnet-full_2.11-linux-x86_64-cpu "1.2.1"]
                    ;[org.apache.mxnet/mxnet-full_2.11-linux-x86_64-gpu "1.2.1"]
   
                    ;;; CI
                    [org.apache.mxnet/mxnet-full_2.11-linux-x86_64-cpu "1.5.0-SNAPSHOT"]
   
                    [org.clojure/tools.logging "0.4.0"]
                    [org.apache.logging.log4j/log4j-core "2.8.1"]
                    [org.apache.logging.log4j/log4j-api "2.8.1"]
                    [org.slf4j/slf4j-log4j12 "1.7.25" :exclusions [org.slf4j/slf4j-api]]]
     :pedantic? :skip
     :plugins [[lein-codox "0.10.3" :exclusions [org.clojure/clojure]]
               [lein-cloverage "1.0.10" :exclusions [org.clojure/clojure]]
               [lein-cljfmt "0.5.7"]]
     :codox {:namespaces [#"^org\.apache\.clojure-mxnet\.(?!gen).*"]}
     :aot [dev.generator]
     :repositories [["staging" {:url "https://repository.apache.org/content/repositories/staging"
                                 ;; If a repository contains releases only setting
                                 ;; :snapshots to false will speed up dependencies.
                                 :snapshots true
                                 ;; Disable signing releases deployed to this repo.
                                 ;; (Not recommended.)
                                 :sign-releases false
                                 ;; You can also set the policies for how to handle
                                 ;; :checksum failures to :fail, :warn, or :ignore.
                                 :checksum :fail
                                 ;; How often should this repository be checked for
                                 ;; snapshot updates? (:daily, :always, or :never)
                                 :update :always
                                 ;; You can also apply them to releases only:
                                 :releases {:checksum :fail :update :always}}]])
   ```
   
   I will follow on later tonight with a PR to update the rest of the Clojure package

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services