Skip to content

Commit 2cd1e71

Browse files
committed
Fix Python dependencies README
1 parent 09d04af commit 2cd1e71

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

python/PythonDependencies/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Examples showing how to include Python libraries in your PyFlink application.
44

5-
* Flink version: 1.19
5+
* Flink version: 1.20
66
* Flink API: Table API & SQL
77
* Flink Connectors: Kinesis Connector
88
* Language: Python
@@ -33,12 +33,12 @@ The output is sent to a Kinesis Data Stream.
3333
#### Development and build environment requirements
3434

3535
* Python 3.11
36-
* PyFlink library: `apache-flink==1.19.1` + any libraries defined in `requirements.txt`
36+
* PyFlink library: `apache-flink==1.20.0` + any libraries defined in `requirements.txt`
3737
* Java JDK 11+ and Maven
3838

39-
> ⚠️ As of 2024-06-27, the Flink Python library 1.19.x may fail installing on Python 3.12.
39+
> ⚠️ The Flink Python library 1.20.0 may fail installing on Python 3.12.
4040
> We recommend using Python 3.11 for development, the same Python version used by Amazon Managed Service for Apache Flink
41-
> runtime 1.19.
41+
> runtime 1.20.
4242
4343
> JDK and Maven are uses to download and package any required Flink dependencies, e.g. connectors, and
4444
to package the application as `.zip` file, for deployment to Amazon Managed Service for Apache Flink.
@@ -89,14 +89,14 @@ In addition to these configuration properties, when running a PyFlink applicatio
8989
> We recommend to use Virtual Environments or any equivalent tool to create isolated environment
9090
9191
To run the application locally, from the command line or in your IDE, you need to install the following Python dependencies:
92-
* `apache-flink==1.19.1`
92+
* `apache-flink==1.20.0`
9393
* Any requirements defined in `requirements.txt`
9494

9595
Assuming you use `virtualenv` and you have it installed already:
9696

9797
1. Create the Virtual Environment in the project directory: `virtualenv venv`
9898
2. Activate the Virtual Environment you just created: `source venv/bin/activate`
99-
3. Install PyFlink library: `pip install apache-flink==1.19.1`
99+
3. Install PyFlink library: `pip install apache-flink==1.20.0`
100100
4. Install other dependencies from `requirements.txt`: `pip install -r requirements.txt`
101101

102102

0 commit comments

Comments
 (0)