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 e67b141f2b2 [FLINK-30961][python] Remove deprecated "tests_require" in 
setup.py (#21893)
e67b141f2b2 is described below

commit e67b141f2b2414cf9b6ddc43e817d4250dd38319
Author: Juntao Hu <[email protected]>
AuthorDate: Mon Feb 13 18:51:20 2023 -0800

    [FLINK-30961][python] Remove deprecated "tests_require" in setup.py (#21893)
---
 flink-python/dev/dev-requirements.txt | 1 +
 flink-python/setup.py                 | 1 -
 flink-python/tox.ini                  | 1 -
 3 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/flink-python/dev/dev-requirements.txt 
b/flink-python/dev/dev-requirements.txt
index ff19b6f1f15..f36142c0fb2 100755
--- a/flink-python/dev/dev-requirements.txt
+++ b/flink-python/dev/dev-requirements.txt
@@ -31,3 +31,4 @@ grpcio-tools>=1.29.0,<=1.46.3
 pemja==0.3.0; platform_system != 'Windows'
 httplib2>=0.19.0,<=0.20.4
 protobuf>=3.19.0,<=3.21
+pytest~=7.0
diff --git a/flink-python/setup.py b/flink-python/setup.py
index 9e0affe6c68..893127d232e 100644
--- a/flink-python/setup.py
+++ b/flink-python/setup.py
@@ -330,7 +330,6 @@ try:
         python_requires='>=3.7',
         install_requires=install_requires,
         cmdclass={'build_ext': build_ext},
-        tests_require=['pytest==4.4.1'],
         description='Apache Flink Python API',
         long_description=long_description,
         long_description_content_type='text/markdown',
diff --git a/flink-python/tox.ini b/flink-python/tox.ini
index 78f82a65cf6..ac8573a69dc 100644
--- a/flink-python/tox.ini
+++ b/flink-python/tox.ini
@@ -28,7 +28,6 @@ whitelist_externals=
     /bin/bash
 deps =
     -r dev/dev-requirements.txt
-    pytest
     apache-flink-libraries
 passenv = *
 commands =

Reply via email to