From ebd8c2c9e7a369f1dbebf82d8b9dab6656c40c2b Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Sat, 21 Jan 2023 20:45:36 +0600 Subject: [PATCH 1/3] try "pytest~=7.2.1" --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4a2e10ab375b6..0670dd599d1b6 100644 --- a/setup.py +++ b/setup.py @@ -387,7 +387,7 @@ def write_version(filename: str = str(AIRFLOW_SOURCES_ROOT / "airflow" / "git_ve # It contains a number of potential breaking changes but none of them looks breaking our use # https://docs.pytest.org/en/latest/changelog.html#pytest-7-0-0-2022-02-03 # TODO: upgrade it and remove the limit - "pytest~=6.0", + "pytest~=7.2.1", "pytest-asyncio", "pytest-capture-warnings", "pytest-cov", From 245c4e3a1cf3e58aa347d3351fb2e9e8f6253a45 Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Sat, 21 Jan 2023 21:56:55 +0600 Subject: [PATCH 2/3] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0670dd599d1b6..de3201c56f2cc 100644 --- a/setup.py +++ b/setup.py @@ -387,7 +387,7 @@ def write_version(filename: str = str(AIRFLOW_SOURCES_ROOT / "airflow" / "git_ve # It contains a number of potential breaking changes but none of them looks breaking our use # https://docs.pytest.org/en/latest/changelog.html#pytest-7-0-0-2022-02-03 # TODO: upgrade it and remove the limit - "pytest~=7.2.1", + "pytest", "pytest-asyncio", "pytest-capture-warnings", "pytest-cov", From 21fd72c614e3fa354c1b11a1642bb0d59caf6703 Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Mon, 23 Jan 2023 13:54:16 +0600 Subject: [PATCH 3/3] remove upper bound and redundent comments related --- setup.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/setup.py b/setup.py index de3201c56f2cc..f9da876aece3b 100644 --- a/setup.py +++ b/setup.py @@ -383,18 +383,12 @@ def write_version(filename: str = str(AIRFLOW_SOURCES_ROOT / "airflow" / "git_ve "pre-commit", "pypsrp", "pygithub", - # Pytest 7 has been released in February 2022 and we should attempt to upgrade and remove the limit - # It contains a number of potential breaking changes but none of them looks breaking our use - # https://docs.pytest.org/en/latest/changelog.html#pytest-7-0-0-2022-02-03 - # TODO: upgrade it and remove the limit "pytest", "pytest-asyncio", "pytest-capture-warnings", "pytest-cov", "pytest-instafail", - # We should attempt to remove the limit when we upgrade Pytest - # TODO: remove the limit when we upgrade pytest - "pytest-rerunfailures~=9.1", + "pytest-rerunfailures", "pytest-timeouts", "pytest-xdist", "python-jose",