You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by di...@apache.org on 2023/01/29 05:59:47 UTC

[flink] branch master updated: [FLINK-25874][python] Limit the version of 'python-dateutil' to '>=2.8.0,<3'

This is an automated email from the ASF dual-hosted git repository.

dianfu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 647f0b29768 [FLINK-25874][python] Limit the version of 'python-dateutil' to '>=2.8.0,<3'
647f0b29768 is described below

commit 647f0b2976865ea37eed0ffabc8cc0e56d6ed28b
Author: Martin Liu <ma...@lyft.com>
AuthorDate: Sat Jan 29 21:27:40 2022 -0800

    [FLINK-25874][python] Limit the version of 'python-dateutil' to '>=2.8.0,<3'
    
    This closes #18561.
---
 flink-python/README.md                | 2 +-
 flink-python/dev/dev-requirements.txt | 2 +-
 flink-python/setup.py                 | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/flink-python/README.md b/flink-python/README.md
index 171ace5708a..cef32b27c82 100644
--- a/flink-python/README.md
+++ b/flink-python/README.md
@@ -26,7 +26,7 @@ The auto-generated Python docs can be found at [https://nightlies.apache.org/fli
 
 ## Python Requirements
 
-Apache Flink Python API depends on Py4J (currently version 0.10.9.7), CloudPickle (currently version 2.2.0), python-dateutil(currently version 2.8.0), Apache Beam (currently version 2.43.0).
+Apache Flink Python API depends on Py4J (currently version 0.10.9.7), CloudPickle (currently version 2.2.0), python-dateutil(currently version >=2.8.0,<3), Apache Beam (currently version 2.43.0).
 
 ## Development Notices
 
diff --git a/flink-python/dev/dev-requirements.txt b/flink-python/dev/dev-requirements.txt
index d0cb404b520..ff19b6f1f15 100755
--- a/flink-python/dev/dev-requirements.txt
+++ b/flink-python/dev/dev-requirements.txt
@@ -18,7 +18,7 @@ wheel
 apache-beam==2.43.0
 cython==0.29.24
 py4j==0.10.9.7
-python-dateutil==2.8.0
+python-dateutil>=2.8.0,<3
 cloudpickle==2.2.0
 avro-python3>=1.8.1,!=1.9.2,<1.10.0
 pandas>=1.3.0,<1.4.0
diff --git a/flink-python/setup.py b/flink-python/setup.py
index f72fddd5a32..9e0affe6c68 100644
--- a/flink-python/setup.py
+++ b/flink-python/setup.py
@@ -305,7 +305,7 @@ try:
         'pyflink.examples': ['*.py', '*/*.py'],
         'pyflink.bin': ['*']}
 
-    install_requires = ['py4j==0.10.9.7', 'python-dateutil==2.8.0', 'apache-beam==2.43.0',
+    install_requires = ['py4j==0.10.9.7', 'python-dateutil>=2.8.0,<3', 'apache-beam==2.43.0',
                         'cloudpickle==2.2.0', 'avro-python3>=1.8.1,!=1.9.2,<1.10.0',
                         'pytz>=2018.3', 'fastavro>=1.1.0,<1.4.8', 'requests>=2.26.0',
                         'protobuf>=3.19.0,<=3.21',