Skip to content

Commit db0219d

Browse files
authored
Update packages (#87)
* Update packages Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com> * Remove pyg_lib Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com> * Update container image packages Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com> --------- Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
1 parent 046025c commit db0219d

File tree

15 files changed

+391
-395
lines changed

15 files changed

+391
-395
lines changed

build.sbt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name := "chen"
22
ThisBuild / organization := "io.appthreat"
3-
ThisBuild / version := "2.1.5"
3+
ThisBuild / version := "2.1.6"
44
ThisBuild / scalaVersion := "3.5.0"
55

66
val cpgVersion = "1.0.0"
@@ -34,8 +34,8 @@ lazy val aggregatedProjects: Seq[ProjectReference] = Seq(
3434
)
3535

3636
ThisBuild / libraryDependencies ++= Seq(
37-
"org.slf4j" % "slf4j-api" % "2.0.13",
38-
"org.slf4j" % "slf4j-nop" % "2.0.13" % Optional,
37+
"org.slf4j" % "slf4j-api" % "2.0.16",
38+
"org.slf4j" % "slf4j-nop" % "2.0.16" % Optional,
3939
)
4040

4141
ThisBuild / compile / javacOptions ++= Seq(

chenpy/cli.py

-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ def install_py_modules(pack="database"):
182182
conda install -n chenpy-local conda-libmamba-solver -y
183183
conda install -n chenpy-local -c conda-forge networkx --solver=libmamba -y
184184
conda install -n chenpy-local -c pytorch pytorch torchtext cpuonly --solver=libmamba -y
185-
pip install pyg_lib -f https://data.pyg.org/whl/torch-2.3.0+cpu.html
186185
conda install -n chenpy-local -c conda-forge numpy packageurl-python nbconvert jupyter_core jupyter_client notebook --solver=libmamba -y
187186
conda install -n chenpy-local -c conda-forge oras-py==0.1.26 httpx websockets orjson rich appdirs psutil gitpython --solver=libmamba -y"""
188187
for line in conda_install_script.split("\n"):

ci/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ LABEL maintainer="appthreat" \
1111
org.opencontainers.image.description="Container image for AppThreat chen code analysis platform" \
1212
org.opencontainers.docker.cmd="docker run --rm -v /tmp:/tmp -v $HOME:$HOME -v $(pwd):/app:rw -it ghcr.io/appthreat/chen chennai"
1313

14-
ARG JAVA_VERSION=22.0.1-graalce
15-
ARG MAVEN_VERSION=3.9.8
16-
ARG GRADLE_VERSION=8.8
14+
ARG JAVA_VERSION=22.0.2-graalce
15+
ARG MAVEN_VERSION=3.9.9
16+
ARG GRADLE_VERSION=8.10
1717

1818
ENV JAVA_VERSION=$JAVA_VERSION \
1919
MAVEN_VERSION=$MAVEN_VERSION \

ci/conda-install.sh

-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ pip install -U pip setuptools poetry
66
conda install -c conda-forge networkx -y
77
conda install -c conda-forge scipy numpy -y
88
conda install -c pytorch pytorch torchtext cpuonly -y
9-
pip install pyg_lib -f https://data.pyg.org/whl/torch-2.3.0+cpu.html
109
conda install -c conda-forge packageurl-python nbconvert jupyter_core jupyter_client notebook -y
1110
conda install -c conda-forge oras-py httpx websockets orjson rich appdirs psutil gitpython -y

codemeta.json

+5-19
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"downloadUrl": "https://github.com/AppThreat/chen",
88
"issueTracker": "https://github.com/AppThreat/chen/issues",
99
"name": "chen",
10-
"version": "2.1.5",
10+
"version": "2.1.6",
1111
"description": "Code Hierarchy Exploration Net (chen) is an advanced exploration toolkit for your application source code and its dependency hierarchy.",
1212
"applicationCategory": "code-analysis",
1313
"keywords": [
@@ -16,24 +16,10 @@
1616
"dependency-analysis",
1717
"code-hierarchy-analysis"
1818
],
19-
"programmingLanguage": [
20-
"Scala 3",
21-
"Node.js",
22-
"Python 3"
23-
],
24-
"runtimePlatform": [
25-
"JVM",
26-
"Python 3"
27-
],
28-
"operatingSystem": [
29-
"Linux",
30-
"Windows",
31-
"MacOS"
32-
],
33-
"softwareRequirements": [
34-
"Python >= 3.10",
35-
"Java >= 21"
36-
],
19+
"programmingLanguage": ["Scala 3", "Node.js", "Python 3"],
20+
"runtimePlatform": ["JVM", "Python 3"],
21+
"operatingSystem": ["Linux", "Windows", "MacOS"],
22+
"softwareRequirements": ["Python >= 3.10", "Java >= 21"],
3723
"author": [
3824
{
3925
"@type": "Person",

console/build.sbt

+5-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name := "console"
33
enablePlugins(JavaAppPackaging)
44

55
val ScoptVersion = "4.1.0"
6-
val CaskVersion = "0.9.2"
7-
val CirceVersion = "0.14.9"
6+
val CaskVersion = "0.9.4"
7+
val CirceVersion = "0.14.10"
88
val ZeroturnaroundVersion = "1.17"
99

1010
dependsOn(
@@ -24,12 +24,13 @@ libraryDependencies ++= Seq(
2424
"io.circe" %% "circe-generic" % CirceVersion,
2525
"io.circe" %% "circe-parser" % CirceVersion,
2626
"org.zeroturnaround" % "zt-zip" % ZeroturnaroundVersion,
27-
"com.lihaoyi" %% "os-lib" % "0.10.2",
27+
"com.lihaoyi" %% "os-lib" % "0.10.6",
2828
"com.lihaoyi" %% "pprint" % "0.9.0",
2929
"com.lihaoyi" %% "cask" % CaskVersion,
3030
"dev.scalapy" %% "scalapy-core" % "0.5.3",
3131
"org.scala-lang.modules" % "scala-asm" % "9.7.0-scala-2",
32-
"org.scalatest" %% "scalatest" % Versions.scalatest % Test
32+
"org.scalatest" %% "scalatest" % Versions.scalatest % Test,
33+
"org.scala-lang" %% "scala3-compiler" % "3.5.0"
3334
)
3435

3536

meta.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% set version = "2.1.5" %}
1+
{% set version = "2.1.6" %}
22

33
package:
44
name: chen

platform/frontends/c2cpg/build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ libraryDependencies ++= Seq(
1010
ExclusionRule(organization = "org.eclipse.platform", name = "org.eclipse.jface"),
1111
ExclusionRule(organization = "org.eclipse.platform", name = "org.eclipse.jface.text")
1212
),
13-
"org.jline" % "jline" % "3.26.2",
13+
"org.jline" % "jline" % "3.26.3",
1414
"org.scalatest" %% "scalatest" % Versions.scalatest % Test
1515
)
1616

platform/frontends/javasrc2cpg/build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dependsOn(Projects.dataflowengineoss, Projects.x2cpg % "compile->compile;test->t
44

55
libraryDependencies ++= Seq(
66
"io.appthreat" %% "cpg2" % Versions.cpg,
7-
"com.github.javaparser" % "javaparser-symbol-solver-core" % "3.26.1",
7+
"com.github.javaparser" % "javaparser-symbol-solver-core" % "3.26.2",
88
"org.gradle" % "gradle-tooling-api" % Versions.gradleTooling,
99
"org.scalatest" %% "scalatest" % Versions.scalatest % Test,
1010
"org.projectlombok" % "lombok" % "1.18.34",

platform/frontends/jssrc2cpg/build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ libraryDependencies ++= Seq(
2222
"com.lihaoyi" %% "upickle" % Versions.upickle,
2323
"com.fasterxml.jackson.core" % "jackson-databind" % "2.17.2",
2424
"com.typesafe" % "config" % "1.4.3",
25-
"com.michaelpollmeier" % "versionsort" % "1.0.11",
25+
"com.michaelpollmeier" % "versionsort" % "1.0.13",
2626
"org.scalatest" %% "scalatest" % Versions.scalatest % Test
2727
)
2828

0 commit comments

Comments
 (0)