Skip to content

Commit 7f10da6

Browse files
authored
Move of module utbot-python-types into a separate repository (#2734)
* Made the move * Updated docs * fix in module utbot-intellij-python * pr fixes * Updated scheme for local utbot_mypy_runner
1 parent c7f2ac4 commit 7f10da6

File tree

106 files changed

+230
-4855
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+230
-4855
lines changed

gradle.properties

+2
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ commonsIOVersion=2.11.0
102102
javaxVersion=2.2
103103
jakartaVersion=3.1.0
104104
jacoDbVersion=1.4.3
105+
moshiVersion=1.15.1
106+
pythonTypesAPIHash=e5a5d9c
105107

106108
# use latest Java 8 compaitable Spring and Spring Boot versions
107109
springVersion=5.3.28

settings.gradle.kts

-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ if (pythonIde.split(",").contains(ideType)) {
8181
include("utbot-cli-python")
8282
include("utbot-intellij-python")
8383
include("utbot-python-parser")
84-
include("utbot-python-types")
8584
include("utbot-python-executor")
8685
}
8786

utbot-cli-python/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ dependencies {
2424
implementation group: 'com.github.ajalt.clikt', name: 'clikt', version: cliktVersion
2525
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: log4j2Version
2626
implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: log4j2Version
27+
implementation group: 'com.github.UnitTestBot', name: 'PythonTypesAPI', version: pythonTypesAPIHash
2728
}
2829

2930
processResources {

utbot-cli-python/src/main/kotlin/org/utbot/cli/language/python/PythonTypeInferenceCommand.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import com.github.ajalt.clikt.parameters.options.split
88
import com.github.ajalt.clikt.parameters.types.long
99
import mu.KotlinLogging
1010
import org.utbot.python.newtyping.inference.TypeInferenceProcessor
11-
import org.utbot.python.newtyping.pythonTypeRepresentation
11+
import org.utpython.types.pythonTypeRepresentation
1212
import org.utbot.python.utils.Fail
1313
import org.utbot.python.utils.RequirementsUtils.requirements
1414
import org.utbot.python.utils.Success

utbot-intellij-main/src/main/resources/settings.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2023 utbot.org
1+
# Copyright (c) 2024 utbot.org
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

utbot-intellij-python/build.gradle.kts

+3
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ tasks {
5959
}
6060
}
6161

62+
val pythonTypesAPIHash: String by rootProject
63+
6264
dependencies {
6365
implementation(group = "io.github.microutils", name = "kotlin-logging", version = kotlinLoggingVersion)
6466
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.1")
@@ -67,6 +69,7 @@ dependencies {
6769

6870
//Family
6971
implementation(project(":utbot-python"))
72+
implementation("com.github.UnitTestBot:PythonTypesAPI:$pythonTypesAPIHash")
7073
}
7174

7275
intellij {

utbot-python-types/.gitignore

-1
This file was deleted.

utbot-python-types/build.gradle.kts

-151
This file was deleted.

utbot-python-types/src/main/kotlin/org/utbot/python/newtyping/PythonDefinition.kt

-34
This file was deleted.

0 commit comments

Comments
 (0)