File tree Expand file tree Collapse file tree 6 files changed +17
-16
lines changed
src/main/scala/ai/kien/python Expand file tree Collapse file tree 6 files changed +17
-16
lines changed Original file line number Diff line number Diff line change 2222 - uses : coursier/setup-action@v1
2323 with :
2424 jvm : ${{ matrix.jdk }}
25- apps : sbtn
25+ apps : sbtn sbt
2626 - name : Set up Python ${{ matrix.python }}
2727 uses : actions/setup-python@v2
2828 with :
Original file line number Diff line number Diff line change 1- version = "3.4.3 "
1+ version = "3.10.1 "
22align.preset = more
33maxColumn = 100
44runner.dialect = scala213source3
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ inThisBuild(
55 organization := " ai.kien" ,
66 homepage := Some (url(" https://github.com/kiendang/python-native-libs" )),
77 licenses := List (" BSD-3-Clause" -> url(" https://opensource.org/licenses/BSD-3-Clause" )),
8- developers := List (
8+ developers := List (
99 Developer (
1010 " kiendang" ,
1111 " Dang Trung Kien" ,
@@ -16,9 +16,9 @@ inThisBuild(
1616 )
1717)
1818
19- lazy val scala212 = " 2.12.15 "
20- lazy val scala213 = " 2.13.6 "
21- lazy val scala3 = " 3.0.2 "
19+ lazy val scala212 = " 2.12.20 "
20+ lazy val scala213 = " 2.13.17 "
21+ lazy val scala3 = " 3.3.7 "
2222
2323ThisBuild / scalaVersion := scala213
2424ThisBuild / scalafixDependencies += organizeImports
@@ -46,10 +46,11 @@ lazy val root = project
4646 }
4747 }
4848 )
49- .settings(
50- sonatypeCredentialHost := " s01.oss.sonatype.org" ,
51- sonatypeRepository := " https://s01.oss.sonatype.org/service/local"
52- )
49+ // TODO: reconfigure sonatype publishing
50+ // .settings(
51+ // sonatypeCredentialHost := "s01.oss.sonatype.org",
52+ // sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
53+ // )
5354
5455lazy val docs = project
5556 .in(file(" python-docs" ))
Original file line number Diff line number Diff line change 1- sbt.version =1.7.1
1+ sbt.version =1.11.7
Original file line number Diff line number Diff line change 1- addSbtPlugin(" org.scalameta" % " sbt-mdoc" % " 2.3.3 " )
2- addSbtPlugin(" com.github.sbt" % " sbt-ci-release" % " 1.5.10 " )
3- addSbtPlugin(" ch.epfl.scala" % " sbt-scalafix" % " 0.10.1 " )
1+ addSbtPlugin(" org.scalameta" % " sbt-mdoc" % " 2.8.0 " )
2+ addSbtPlugin(" com.github.sbt" % " sbt-ci-release" % " 1.11.2 " )
3+ addSbtPlugin(" ch.epfl.scala" % " sbt-scalafix" % " 0.14.4 " )
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ class Python private[python] (
8989 rawLdflags <- rawLdflags
9090 nativeLibraryPaths <- nativeLibraryPaths
9191 libPathFlags = nativeLibraryPaths.map(" -L" + _)
92- flags = rawLdflags
92+ flags = rawLdflags
9393 .split(" \\ s+(?=-)" )
9494 .filter(f => f.nonEmpty && ! libPathFlags.contains(f))
9595 .flatMap(f => if (f.startsWith(" -L" )) Array (f) else f.split(" \\ s+" ))
@@ -107,7 +107,7 @@ class Python private[python] (
107107
108108 private def existsInPath (exec : String ): Boolean = {
109109 val pathExts = getEnv(" PATHEXT" ).getOrElse(" " ).split(pathSeparator)
110- val l = for {
110+ val l = for {
111111 elem <- path.split(pathSeparator).iterator
112112 elemPath = fs.getPath(elem)
113113 ext <- pathExts.iterator
You can’t perform that action at this time.
0 commit comments