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

taragolis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 71b512d314 Disable pytest's legacypath plugin (#35726)
71b512d314 is described below

commit 71b512d314e14b2e0904f2d3a8ca3b00aa21fdc7
Author: Andrey Anshin <[email protected]>
AuthorDate: Sun Nov 19 01:03:16 2023 +0400

    Disable pytest's legacypath plugin (#35726)
---
 dev/breeze/README.md            | 2 +-
 dev/breeze/pyproject.toml       | 2 +-
 dev/requirements.txt            | 1 -
 docker_tests/pyproject.toml     | 2 +-
 docker_tests/requirements.txt   | 2 +-
 kubernetes_tests/pyproject.toml | 2 +-
 setup.py                        | 2 +-
 7 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/dev/breeze/README.md b/dev/breeze/README.md
index 932e490678..b2d7130210 100644
--- a/dev/breeze/README.md
+++ b/dev/breeze/README.md
@@ -66,6 +66,6 @@ PLEASE DO NOT MODIFY THE HASH BELOW! IT IS AUTOMATICALLY 
UPDATED BY PRE-COMMIT.
 
 
---------------------------------------------------------------------------------------------------------
 
-Package config hash: 
772a3746780de67ba5c0198928b5f6d7461eb6ae3b9537665dab9c504515290d975bb52ef6b3bacc04148702402ab9b02c6e529910f2f727771df56ef56c1554
+Package config hash: 
a5878ba073fa5924f21660531f0988f287269f0d3aca741095cad62b3a1f3ccb262f76df203aff1f02cfec691f839da02bc6844342f49e40f896a1c9b3c450d8
 
 
---------------------------------------------------------------------------------------------------------
diff --git a/dev/breeze/pyproject.toml b/dev/breeze/pyproject.toml
index c160576653..0f0e47a517 100644
--- a/dev/breeze/pyproject.toml
+++ b/dev/breeze/pyproject.toml
@@ -80,7 +80,7 @@ line-length = 110
 target-version = ['py37', 'py38', 'py39', 'py310']
 
 [tool.pytest.ini_options]
-addopts = "-rasl --verbosity=2 -p no:flaky -p no:nose"
+addopts = "-rasl --verbosity=2 -p no:flaky -p no:nose -p no:legacypath"
 norecursedirs = [
     ".eggs",
 ]
diff --git a/dev/requirements.txt b/dev/requirements.txt
index 48141dade7..c0f47ca52d 100644
--- a/dev/requirements.txt
+++ b/dev/requirements.txt
@@ -1,5 +1,4 @@
 click>=8.0
-cached_property;python_version<"3.8"
 jinja2>=2.11.3
 keyring==10.1
 PyGithub
diff --git a/docker_tests/pyproject.toml b/docker_tests/pyproject.toml
index 9617eb4600..21f3b5c119 100644
--- a/docker_tests/pyproject.toml
+++ b/docker_tests/pyproject.toml
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 [tool.pytest.ini_options]
-addopts = "-rasl --verbosity=2 -p no:flaky -p no:nose"
+addopts = "-rasl --verbosity=2 -p no:flaky -p no:nose -p no:legacypath"
 norecursedirs = [
     ".eggs",
 ]
diff --git a/docker_tests/requirements.txt b/docker_tests/requirements.txt
index 1f79a84821..c156378a5a 100644
--- a/docker_tests/requirements.txt
+++ b/docker_tests/requirements.txt
@@ -1,3 +1,3 @@
-pytest
+pytest>=7.1
 pytest-xdist
 requests
diff --git a/kubernetes_tests/pyproject.toml b/kubernetes_tests/pyproject.toml
index 9617eb4600..21f3b5c119 100644
--- a/kubernetes_tests/pyproject.toml
+++ b/kubernetes_tests/pyproject.toml
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 [tool.pytest.ini_options]
-addopts = "-rasl --verbosity=2 -p no:flaky -p no:nose"
+addopts = "-rasl --verbosity=2 -p no:flaky -p no:nose -p no:legacypath"
 norecursedirs = [
     ".eggs",
 ]
diff --git a/setup.py b/setup.py
index 18b478fb01..46a7e68c5a 100644
--- a/setup.py
+++ b/setup.py
@@ -483,7 +483,7 @@ _devel_only_tests = [
     "backports.zoneinfo>=0.2.1;python_version<'3.9'",
     "beautifulsoup4>=4.7.1",
     "coverage>=7.2",
-    "pytest",
+    "pytest>=7.1",
     "pytest-asyncio",
     "pytest-cov",
     "pytest-httpx",

Reply via email to