Skip to content

Commit

Permalink
Upgrading py version (#3341)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjtirado authored Dec 21, 2023
1 parent 1c56039 commit 8c28277
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 13 deletions.
2 changes: 1 addition & 1 deletion kogito-build/kogito-dependencies-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@

<!-- see: https://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html#parallel-test-execution-and-single-thread-execution -->
<version.com.github.stephenc.jcip>1.0-1</version.com.github.stephenc.jcip>
<version.black.ninia>4.1.1</version.black.ninia>
<version.black.ninia>4.2.0</version.black.ninia>
<version.com.google.guava>32.0.0-jre</version.com.google.guava>
<version.apache.commons.commons-compress>1.24.0</version.apache.commons.commons-compress>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,20 @@
</arguments>
</configuration>
</execution>
<execution>
<id>jep</id>
<phase>generate-resources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>pip</executable>
<arguments>
<argument>install</argument>
<argument>jep==4.2.0</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
numpy>=1.21.0
jep>=4.1.1
numpy>=1.21.0
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import java.util.Collections;
import java.util.Map;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.kie.kogito.serverless.workflow.fluent.ActionBuilder.ScriptType;
import org.kie.kogito.serverless.workflow.python.PythonWorkItemHandlerUtils;
Expand All @@ -38,7 +37,6 @@
import static org.kie.kogito.serverless.workflow.fluent.WorkflowBuilder.jsonObject;
import static org.kie.kogito.serverless.workflow.fluent.WorkflowBuilder.workflow;

@Disabled
public class PythonFluentWorkflowApplicationTest {

@Test
Expand Down
4 changes: 2 additions & 2 deletions quarkus/addons/python/integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
</arguments>
</configuration>
</execution>
<execution>
<execution>
<id>jep</id>
<phase>generate-resources</phase>
<goals>
Expand All @@ -126,7 +126,7 @@
<executable>pip</executable>
<arguments>
<argument>install</argument>
<argument>jep</argument>
<argument>jep==4.2.0</argument>
</arguments>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/
package org.kie.kogito.quarkus.workflows;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import io.quarkus.test.junit.QuarkusIntegrationTest;
Expand All @@ -28,7 +27,6 @@
import static org.hamcrest.CoreMatchers.is;

@QuarkusIntegrationTest
@Disabled
class PythonFlowIT {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
*/
package org.kie.kogito.quarkus.serverless.workflow.python;

import jakarta.annotation.PostConstruct;
import jakarta.annotation.PreDestroy;
import jakarta.enterprise.context.ApplicationScoped;

import org.kie.kogito.internal.process.runtime.KogitoWorkItemHandler;
import org.kie.kogito.process.impl.CachedWorkItemHandlerConfig;
import org.kie.kogito.serverless.workflow.python.PythonScriptWorkItemHandler;
import org.kie.kogito.serverless.workflow.python.PythonServiceWorkItemHandler;

import jakarta.annotation.PostConstruct;
import jakarta.annotation.PreDestroy;
import jakarta.enterprise.context.ApplicationScoped;

@ApplicationScoped
public class PythonWorkItemHandlerConfig extends CachedWorkItemHandlerConfig {

Expand Down

0 comments on commit 8c28277

Please sign in to comment.