Skip to content

Commit

Permalink
Move of module utbot-python-types into a separate repository (#2734)
Browse files Browse the repository at this point in the history
* Made the move

* Updated docs

* fix in module utbot-intellij-python

* pr fixes

* Updated scheme for local utbot_mypy_runner
  • Loading branch information
tochilinak authored Feb 21, 2024
1 parent c7f2ac4 commit 7f10da6
Show file tree
Hide file tree
Showing 106 changed files with 230 additions and 4,855 deletions.
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ commonsIOVersion=2.11.0
javaxVersion=2.2
jakartaVersion=3.1.0
jacoDbVersion=1.4.3
moshiVersion=1.15.1
pythonTypesAPIHash=e5a5d9c

# use latest Java 8 compaitable Spring and Spring Boot versions
springVersion=5.3.28
Expand Down
1 change: 0 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ if (pythonIde.split(",").contains(ideType)) {
include("utbot-cli-python")
include("utbot-intellij-python")
include("utbot-python-parser")
include("utbot-python-types")
include("utbot-python-executor")
}

Expand Down
1 change: 1 addition & 0 deletions utbot-cli-python/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ dependencies {
implementation group: 'com.github.ajalt.clikt', name: 'clikt', version: cliktVersion
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: log4j2Version
implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: log4j2Version
implementation group: 'com.github.UnitTestBot', name: 'PythonTypesAPI', version: pythonTypesAPIHash
}

processResources {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import com.github.ajalt.clikt.parameters.options.split
import com.github.ajalt.clikt.parameters.types.long
import mu.KotlinLogging
import org.utbot.python.newtyping.inference.TypeInferenceProcessor
import org.utbot.python.newtyping.pythonTypeRepresentation
import org.utpython.types.pythonTypeRepresentation
import org.utbot.python.utils.Fail
import org.utbot.python.utils.RequirementsUtils.requirements
import org.utbot.python.utils.Success
Expand Down
2 changes: 1 addition & 1 deletion utbot-intellij-main/src/main/resources/settings.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023 utbot.org
# Copyright (c) 2024 utbot.org
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
3 changes: 3 additions & 0 deletions utbot-intellij-python/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ tasks {
}
}

val pythonTypesAPIHash: String by rootProject

dependencies {
implementation(group = "io.github.microutils", name = "kotlin-logging", version = kotlinLoggingVersion)
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.1")
Expand All @@ -67,6 +69,7 @@ dependencies {

//Family
implementation(project(":utbot-python"))
implementation("com.github.UnitTestBot:PythonTypesAPI:$pythonTypesAPIHash")
}

intellij {
Expand Down
1 change: 0 additions & 1 deletion utbot-python-types/.gitignore

This file was deleted.

151 changes: 0 additions & 151 deletions utbot-python-types/build.gradle.kts

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7f10da6

Please sign in to comment.