From 087018799a5ccd1c035f22135e48a4defcbd4355 Mon Sep 17 00:00:00 2001 From: Evan Tahler Date: Mon, 28 Nov 2022 17:57:06 -0800 Subject: [PATCH] Use pytest v6.2.5 (#19848) * Use pytest v6.2.5 * bump test definitions --- airbyte-integrations/bases/source-acceptance-test/setup.py | 2 +- .../connector-templates/destination-python/setup.py | 2 +- .../connector-templates/source-configuration-based/setup.py.hbs | 2 +- .../connector-templates/source-python-http-api/setup.py.hbs | 2 +- .../connector-templates/source-python/setup.py.hbs | 2 +- .../connector-templates/source-singer/setup.py.hbs | 2 +- .../connectors/destination-scaffold-destination-python/setup.py | 2 +- .../connectors/source-scaffold-source-http/setup.py | 2 +- .../connectors/source-scaffold-source-python/setup.py | 2 +- buildSrc/src/main/groovy/airbyte-python.gradle | 2 +- pyproject.toml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/airbyte-integrations/bases/source-acceptance-test/setup.py b/airbyte-integrations/bases/source-acceptance-test/setup.py index 9b9d7ffe8fa9..e5c4bb96e07f 100644 --- a/airbyte-integrations/bases/source-acceptance-test/setup.py +++ b/airbyte-integrations/bases/source-acceptance-test/setup.py @@ -13,7 +13,7 @@ "inflection~=0.5", "pdbpp~=0.10", "pydantic~=1.6", - "pytest~=6.1", + "pytest~=6.2", "pytest-sugar~=0.9", "pytest-timeout~=1.4", "pprintpp~=0.4", diff --git a/airbyte-integrations/connector-templates/destination-python/setup.py b/airbyte-integrations/connector-templates/destination-python/setup.py index fc0ed9135858..1a550e611aff 100644 --- a/airbyte-integrations/connector-templates/destination-python/setup.py +++ b/airbyte-integrations/connector-templates/destination-python/setup.py @@ -9,7 +9,7 @@ "airbyte-cdk", ] -TEST_REQUIREMENTS = ["pytest~=6.1"] +TEST_REQUIREMENTS = ["pytest~=6.2"] setup( name="destination_{{snakeCase name}}", diff --git a/airbyte-integrations/connector-templates/source-configuration-based/setup.py.hbs b/airbyte-integrations/connector-templates/source-configuration-based/setup.py.hbs index 2bba61e116a7..3012c8c027d9 100644 --- a/airbyte-integrations/connector-templates/source-configuration-based/setup.py.hbs +++ b/airbyte-integrations/connector-templates/source-configuration-based/setup.py.hbs @@ -10,7 +10,7 @@ MAIN_REQUIREMENTS = [ ] TEST_REQUIREMENTS = [ - "pytest~=6.1", + "pytest~=6.2", "pytest-mock~=3.6.1", "source-acceptance-test", ] diff --git a/airbyte-integrations/connector-templates/source-python-http-api/setup.py.hbs b/airbyte-integrations/connector-templates/source-python-http-api/setup.py.hbs index cc7cbf02ba6c..4c12bfa25fc3 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/setup.py.hbs +++ b/airbyte-integrations/connector-templates/source-python-http-api/setup.py.hbs @@ -10,7 +10,7 @@ MAIN_REQUIREMENTS = [ ] TEST_REQUIREMENTS = [ - "pytest~=6.1", + "pytest~=6.2", "pytest-mock~=3.6.1", "source-acceptance-test", ] diff --git a/airbyte-integrations/connector-templates/source-python/setup.py.hbs b/airbyte-integrations/connector-templates/source-python/setup.py.hbs index 2c78aeb2ae2d..0476541f00a1 100644 --- a/airbyte-integrations/connector-templates/source-python/setup.py.hbs +++ b/airbyte-integrations/connector-templates/source-python/setup.py.hbs @@ -10,7 +10,7 @@ MAIN_REQUIREMENTS = [ ] TEST_REQUIREMENTS = [ - "pytest~=6.1", + "pytest~=6.2", "source-acceptance-test", ] diff --git a/airbyte-integrations/connector-templates/source-singer/setup.py.hbs b/airbyte-integrations/connector-templates/source-singer/setup.py.hbs index d2049bccd395..10fa5ef2d6e1 100644 --- a/airbyte-integrations/connector-templates/source-singer/setup.py.hbs +++ b/airbyte-integrations/connector-templates/source-singer/setup.py.hbs @@ -11,7 +11,7 @@ MAIN_REQUIREMENTS = [ ] TEST_REQUIREMENTS = [ - "pytest~=6.1", + "pytest~=6.2", "source-acceptance-test", ] diff --git a/airbyte-integrations/connectors/destination-scaffold-destination-python/setup.py b/airbyte-integrations/connectors/destination-scaffold-destination-python/setup.py index 28ce3e24d610..9acb10c22ab0 100644 --- a/airbyte-integrations/connectors/destination-scaffold-destination-python/setup.py +++ b/airbyte-integrations/connectors/destination-scaffold-destination-python/setup.py @@ -9,7 +9,7 @@ "airbyte-cdk", ] -TEST_REQUIREMENTS = ["pytest~=6.1"] +TEST_REQUIREMENTS = ["pytest~=6.2"] setup( name="destination_scaffold_destination_python", diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/setup.py b/airbyte-integrations/connectors/source-scaffold-source-http/setup.py index d4d1f9591eb2..ccb39e96eef1 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/setup.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/setup.py @@ -10,7 +10,7 @@ ] TEST_REQUIREMENTS = [ - "pytest~=6.1", + "pytest~=6.2", "pytest-mock~=3.6.1", "source-acceptance-test", ] diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/setup.py b/airbyte-integrations/connectors/source-scaffold-source-python/setup.py index 3031ea896510..09b3bbe717da 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/setup.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/setup.py @@ -10,7 +10,7 @@ ] TEST_REQUIREMENTS = [ - "pytest~=6.1", + "pytest~=6.2", "source-acceptance-test", ] diff --git a/buildSrc/src/main/groovy/airbyte-python.gradle b/buildSrc/src/main/groovy/airbyte-python.gradle index 38a88c38b5fa..9f4bc12c69e4 100644 --- a/buildSrc/src/main/groovy/airbyte-python.gradle +++ b/buildSrc/src/main/groovy/airbyte-python.gradle @@ -92,7 +92,7 @@ class AirbytePythonPlugin implements Plugin { pip 'black:22.3.0' pip 'mypy:0.930' pip 'isort:5.6.4' - pip 'pytest:6.1.2' + pip 'pytest:6.2.5' pip 'coverage[toml]:6.3.1' } diff --git a/pyproject.toml b/pyproject.toml index 437bc1a8d0a4..17544d0afc31 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -80,7 +80,7 @@ color_output = true error_summary = true [tool.pytest.ini_options] -minversion = "6.0" +minversion = "6.2.5" addopts ="-r a --capture=no -vv --log-level=DEBUG --color=yes"