Skip to content

Commit

Permalink
Disable pytest's legacypath plugin (apache#35726)
Browse files Browse the repository at this point in the history
  • Loading branch information
Taragolis authored Nov 18, 2023
1 parent 2fc8d2a commit 71b512d
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dev/breeze/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

---------------------------------------------------------------------------------------------------------
2 changes: 1 addition & 1 deletion dev/breeze/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Expand Down
1 change: 0 additions & 1 deletion dev/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
click>=8.0
cached_property;python_version<"3.8"
jinja2>=2.11.3
keyring==10.1
PyGithub
Expand Down
2 changes: 1 addition & 1 deletion docker_tests/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Expand Down
2 changes: 1 addition & 1 deletion docker_tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest
pytest>=7.1
pytest-xdist
requests
2 changes: 1 addition & 1 deletion kubernetes_tests/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def write_version(filename: str = str(AIRFLOW_SOURCES_ROOT / "airflow" / "git_ve
"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",
Expand Down

0 comments on commit 71b512d

Please sign in to comment.