Skip to content
This repository was archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
Update to clojure 1.10 (#1942)
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Crosby <[email protected]>
  • Loading branch information
scrosby and Scott Crosby authored Sep 9, 2021
1 parent 957ecf9 commit 6cd45ae
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion scheduler/bin/start-datomic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -euf -o pipefail

PROJECT_DIR="$(dirname $0)/.."
DATOMIC_VERSION="0.9.5394"
DATOMIC_VERSION="0.9.5561.56"
DATOMIC_DIR="${PROJECT_DIR}/datomic/datomic-free-${DATOMIC_VERSION}"

if [ ! -d "${DATOMIC_DIR}" ];
Expand Down
9 changes: 6 additions & 3 deletions scheduler/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
(defproject cook "1.55.3-SNAPSHOT"
:description "This launches jobs on a Mesos cluster with fair sharing and preemption"
:license {:name "Apache License, Version 2.0"}
:dependencies [[org.clojure/clojure "1.8.0"]
:dependencies [[org.clojure/clojure "1.10.3"]

;;Data marshalling
[org.clojure/data.codec "0.1.0"]
Expand Down Expand Up @@ -119,6 +119,7 @@
:exclusions [org.slf4j/slf4j-log4j12
org.slf4j/log4j
log4j]]
; Used when doing local testing in open source to setup mock curator.
[org.apache.curator/curator-test "2.7.1"
:exclusions [io.netty/netty
io.netty/netty-transport-native-epoll]]
Expand All @@ -130,9 +131,11 @@
[io.kubernetes/client-java "11.0.0"]
[com.google.auth/google-auth-library-oauth2-http "0.16.2"]


;Version forcing by JDK11 upgrade.
[org.flatland/ordered "1.5.9"] ; Upgraded from 1.5.3, brought in by clj-yaml.
[jakarta.xml.ws/jakarta.xml.ws-api "2.3.3"] ; Needed via liberator, No longer in JDK11.
[com.taoensso/encore "3.19.0"] ; Used by ring-congestion.
]

:repositories {"maven2" {:url "https://files.couchbase.com/maven2/"}
Expand Down Expand Up @@ -165,7 +168,7 @@
; library instead of the datomic-free library, by
; using a profiles.clj file that defines a profile
; which pulls in datomic-pro
[com.datomic/datomic-free "0.9.5206"
[com.datomic/datomic-free "0.9.5206" ; Note that updating this causes activeMQ errors. Suspect related to OpenSSL.
:exclusions [io.netty/netty
com.fasterxml.jackson.core/jackson-core
joda-time
Expand All @@ -181,7 +184,7 @@

:uberjar
{:aot [cook.components]
:dependencies [[com.datomic/datomic-free "0.9.5206"
:dependencies [[com.datomic/datomic-free "0.9.5206" ; Note that updating this causes activeMQ errors. Suspect related to OpenSSL.
:exclusions [com.fasterxml.jackson.core/jackson-core
joda-time
org.slf4j/jcl-over-slf4j
Expand Down
4 changes: 2 additions & 2 deletions scheduler/test/cook/test/compute_cluster.clj
Original file line number Diff line number Diff line change
Expand Up @@ -721,8 +721,8 @@
:state-locked? true
:template "template1"
:location "us-east1"
:features [{:key "foo" :value "bar"}
{:key "baz" :value "qux"}]}
:features (list {:key "baz" :value "qux"}
{:key "foo" :value "bar"})}
(-> (get-db-config-ents (d/db conn))
(get "name")
compute-cluster-config-ent->compute-cluster-config)))
Expand Down

0 comments on commit 6cd45ae

Please sign in to comment.