Skip to content

Commit cfb7127

Browse files
committed
[dependency] Update flink version and constraint.
1 parent b1d65de commit cfb7127

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

dist/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ under the License.
3030
<packaging>pom</packaging>
3131

3232
<properties>
33-
<flink.1.20.version>1.20.3</flink.1.20.version>
34-
<flink.2.0.version>2.0.1</flink.2.0.version>
35-
<flink.2.1.version>2.1.1</flink.2.1.version>
36-
<flink.2.2.version>2.2.0</flink.2.2.version>
33+
<flink.1.20.version>1.20.4</flink.1.20.version>
34+
<flink.2.0.version>2.0.2</flink.2.0.version>
35+
<flink.2.1.version>2.1.2</flink.2.1.version>
36+
<flink.2.2.version>2.2.1</flink.2.2.version>
3737
</properties>
3838

3939
<modules>

plan/src/main/java/org/apache/flink/agents/plan/actions/Utils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public final class Utils {
3030
private static final Logger LOG = LoggerFactory.getLogger(Utils.class);
3131
private static final String DEFAULT_VALUE = "<unknown>";
3232
public static final List<String> requiredVersions =
33-
List.of("1.20.4", "2.0.1", "2.1.1", "2.2.0");
33+
List.of("1.20.4", "2.0.1", "2.1.2", "2.2.0");
3434

3535
static final Versions INSTANCE = new Versions();
3636

@@ -57,9 +57,9 @@ public static boolean supportAsync() {
5757
int minor = Integer.parseInt(st.nextToken());
5858
int micro = Integer.parseInt(st.nextToken());
5959

60-
if ((major == 1 && (minor < 20 || (minor == 20 && micro <= 3)))
60+
if ((major == 1 && (minor < 20 || (minor == 20 && micro <= 4)))
6161
|| (major == 2 && minor == 0 && micro <= 1)
62-
|| (major == 2 && minor == 1 && micro <= 1)
62+
|| (major == 2 && minor == 1 && micro <= 2)
6363
|| (major == 2 && minor == 2 && micro <= 0)) {
6464
LOG.debug(
6565
"Flink {} doesn't support async execution for java resource, will fallback to sync execution.",

python/flink_agents/plan/actions/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
UNSUPPORTED_RANGES: List[Tuple[str, str]] = [
3030
("1.0.0", "1.20.4"),
3131
("2.0.0", "2.0.1"),
32-
("2.1.0", "2.1.1"),
32+
("2.1.0", "2.1.2"),
3333
("2.2.0", "2.2.0"),
3434
]
3535

0 commit comments

Comments
 (0)