From 7dc04ab42d24e439c96030982ae920805227d8c2 Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Fri, 20 May 2022 12:33:41 -0700 Subject: [PATCH 1/9] backport #1011 to 0.26 Signed-off-by: Yee Hing Tong --- flytekit/common/translator.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flytekit/common/translator.py b/flytekit/common/translator.py index 27e9c62fb2..de92b65431 100644 --- a/flytekit/common/translator.py +++ b/flytekit/common/translator.py @@ -185,7 +185,9 @@ def get_serializable_workflow( outputs=entity.output_bindings, ) - return admin_workflow_models.WorkflowSpec(template=wf_t, sub_workflows=list(set(sub_wfs))) + return admin_workflow_models.WorkflowSpec( + template=wf_t, sub_workflows=sorted(set(sub_wfs), key=lambda x: x.short_string()) + ) def get_serializable_launch_plan( From fdde2eea18a4de9eb4fb4e0c59a9deb720a8c2bc Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Fri, 20 May 2022 14:24:15 -0700 Subject: [PATCH 2/9] update pytest-flyte protocol in requirements file Signed-off-by: Yee Hing Tong --- dev-requirements.in | 2 +- dev-requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-requirements.in b/dev-requirements.in index 9743d0fc20..c8eb2c0601 100644 --- a/dev-requirements.in +++ b/dev-requirements.in @@ -1,6 +1,6 @@ -c requirements.txt -git+git://github.com/flyteorg/pytest-flyte@main#egg=pytest-flyte +git+https://github.com/flyteorg/pytest-flyte@main#egg=pytest-flyte coverage[toml] joblib mock diff --git a/dev-requirements.txt b/dev-requirements.txt index 8cc4f7ba3f..00f60ca919 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -262,7 +262,7 @@ pytest==6.2.5 # pytest-flyte pytest-docker==0.10.3 # via pytest-flyte -pytest-flyte @ git+git://github.com/flyteorg/pytest-flyte@main +pytest-flyte @ git+https://github.com/flyteorg/pytest-flyte@main#egg=pytest-flyte # via -r dev-requirements.in python-dateutil==2.8.1 # via From 1d1184c75629969158d2f3562c7d2f1c507d9c45 Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Fri, 20 May 2022 14:43:12 -0700 Subject: [PATCH 3/9] bump black to 22.3.0 and make fmt Signed-off-by: Yee Hing Tong --- .pre-commit-config.yaml | 2 +- flytekit/clients/raw.py | 2 +- tests/flytekit/common/workflows/batch.py | 16 ++++++++-------- tests/flytekit/common/workflows/spark.py | 2 +- tests/flytekit/loadtests/cp_spark.py | 2 +- tests/flytekit/unit/cli/test_cli_helpers.py | 2 +- tests/flytekit/unit/core/test_serialization.py | 2 +- tests/flytekit/unit/core/test_type_hints.py | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7e0d8bcced..316f1b0ee2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: hooks: - id: flake8 - repo: https://github.com/psf/black - rev: 21.7b0 + rev: 22.3.0 hooks: - id: black - repo: https://github.com/PyCQA/isort diff --git a/flytekit/clients/raw.py b/flytekit/clients/raw.py index b8f7f578cf..bf12b25102 100644 --- a/flytekit/clients/raw.py +++ b/flytekit/clients/raw.py @@ -151,7 +151,7 @@ def handler(*args, **kwargs): raise else: # Retry: Start with 200ms wait-time and exponentially back-off up to 1 second. - wait_time = min(200 * (2 ** i), max_wait_time) + wait_time = min(200 * (2**i), max_wait_time) cli_logger.error(f"Non-auth RPC error {e}, sleeping {wait_time}ms and retrying") time.sleep(wait_time / 1000) diff --git a/tests/flytekit/common/workflows/batch.py b/tests/flytekit/common/workflows/batch.py index d3e095dd82..0a3ed17494 100644 --- a/tests/flytekit/common/workflows/batch.py +++ b/tests/flytekit/common/workflows/batch.py @@ -104,14 +104,14 @@ def print_every_time(wf_params, ints_to_print, strings_to_print): print( "Expected String values: {}".format( [ - u"I'm the first result", - u"hello 0", - u"I'm after each sub-task result", - u"hello 1", - u"I'm after each sub-task result", - u"hello 2", - u"I'm after each sub-task result", - u"I'm the last result", + "I'm the first result", + "hello 0", + "I'm after each sub-task result", + "hello 1", + "I'm after each sub-task result", + "hello 2", + "I'm after each sub-task result", + "I'm the last result", ] ) ) diff --git a/tests/flytekit/common/workflows/spark.py b/tests/flytekit/common/workflows/spark.py index b3f381f6ba..54f235d308 100644 --- a/tests/flytekit/common/workflows/spark.py +++ b/tests/flytekit/common/workflows/spark.py @@ -40,7 +40,7 @@ def print_every_time(workflow_parameters, value_to_print, date_triggered): def f(_): x = random.random() * 2 - 1 y = random.random() * 2 - 1 - return 1 if x ** 2 + y ** 2 <= 1 else 0 + return 1 if x**2 + y**2 <= 1 else 0 @workflow_class diff --git a/tests/flytekit/loadtests/cp_spark.py b/tests/flytekit/loadtests/cp_spark.py index b79fbc3509..74fffe8dcf 100644 --- a/tests/flytekit/loadtests/cp_spark.py +++ b/tests/flytekit/loadtests/cp_spark.py @@ -34,7 +34,7 @@ def hello_spark(workflow_parameters, spark_context, partitions, out): def f(_): x = random.random() * 2 - 1 y = random.random() * 2 - 1 - return 1 if x ** 2 + y ** 2 <= 1 else 0 + return 1 if x**2 + y**2 <= 1 else 0 @workflow_class diff --git a/tests/flytekit/unit/cli/test_cli_helpers.py b/tests/flytekit/unit/cli/test_cli_helpers.py index 9188b2fc3a..5d77cd5612 100644 --- a/tests/flytekit/unit/cli/test_cli_helpers.py +++ b/tests/flytekit/unit/cli/test_cli_helpers.py @@ -14,7 +14,7 @@ def test_parse_args_into_dict(): - sample_args1 = (u"input_b=mystr", u"input_c=18") + sample_args1 = ("input_b=mystr", "input_c=18") sample_args2 = ("input_a=mystr===d",) sample_args3 = () output = helpers.parse_args_into_dict(sample_args1) diff --git a/tests/flytekit/unit/core/test_serialization.py b/tests/flytekit/unit/core/test_serialization.py index fac26994a1..22d088eaf0 100644 --- a/tests/flytekit/unit/core/test_serialization.py +++ b/tests/flytekit/unit/core/test_serialization.py @@ -291,7 +291,7 @@ def test_serialization_types(): @task(cache=True, cache_version="1.0.0") def squared(value: int) -> typing.List[typing.Dict[str, int]]: return [ - {"squared_value": value ** 2}, + {"squared_value": value**2}, ] @workflow diff --git a/tests/flytekit/unit/core/test_type_hints.py b/tests/flytekit/unit/core/test_type_hints.py index 57990dc120..f4a0569884 100644 --- a/tests/flytekit/unit/core/test_type_hints.py +++ b/tests/flytekit/unit/core/test_type_hints.py @@ -1288,7 +1288,7 @@ def my_subwf(): def test_nested_dict(): @task(cache=True, cache_version="1.0.0") def squared(value: int) -> typing.Dict[str, int]: - return {"value:": value ** 2} + return {"value:": value**2} @workflow def compute_square_wf(input_integer: int) -> typing.Dict[str, int]: @@ -1302,7 +1302,7 @@ def test_nested_dict2(): @task(cache=True, cache_version="1.0.0") def squared(value: int) -> typing.List[typing.Dict[str, int]]: return [ - {"squared_value": value ** 2}, + {"squared_value": value**2}, ] @workflow From dcb2db1a92d6e79847d31fdeb59b309c1ecfeb33 Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario Date: Fri, 20 May 2022 16:39:02 -0700 Subject: [PATCH 4/9] Fix url in sqlite tests Signed-off-by: Eduardo Apolinario --- tests/flytekit/unit/extras/sqlite3/test_task.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/flytekit/unit/extras/sqlite3/test_task.py b/tests/flytekit/unit/extras/sqlite3/test_task.py index 365a55cee8..f586d94a16 100644 --- a/tests/flytekit/unit/extras/sqlite3/test_task.py +++ b/tests/flytekit/unit/extras/sqlite3/test_task.py @@ -6,7 +6,7 @@ # https://www.sqlitetutorial.net/sqlite-sample-database/ from flytekit.types.schema import FlyteSchema -EXAMPLE_DB = "https://cdn.sqlitetutorial.net/wp-content/uploads/2018/03/chinook.zip" +EXAMPLE_DB = "https://www.sqlitetutorial.net/wp-content/uploads/2018/03/chinook.zip" # This task belongs to test_task_static but is intentionally here to help test tracking tk = SQLite3Task( @@ -28,7 +28,7 @@ def test_task_static(): def test_task_schema(): # sqlite3_start - DB_LOCATION = "https://cdn.sqlitetutorial.net/wp-content/uploads/2018/03/chinook.zip" + DB_LOCATION = "https://www.sqlitetutorial.net/wp-content/uploads/2018/03/chinook.zip" sql_task = SQLite3Task( "test", From 1b49cf07c9e0ae156bdf8fe849f25c6871a25583 Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario Date: Fri, 20 May 2022 17:39:44 -0700 Subject: [PATCH 5/9] pip install -r requirements.txt for plugins tests Signed-off-by: Eduardo Apolinario --- .github/workflows/pythonbuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonbuild.yml b/.github/workflows/pythonbuild.yml index ee688d4fe5..c297305330 100644 --- a/.github/workflows/pythonbuild.yml +++ b/.github/workflows/pythonbuild.yml @@ -99,7 +99,7 @@ jobs: python -m pip install --upgrade pip==21.2.4 setuptools wheel make setup cd plugins/${{ matrix.plugin-names }} - pip install -e . + pip install -r requirements.txt if [ -f dev-requirements.txt ]; then pip install -r dev-requirements.txt; fi pip install --no-deps -U https://github.com/flyteorg/flytekit/archive/${{ github.sha }}.zip#egg=flytekit pip freeze From 798fbc19dc891ec0c688da8027fb7e138f4f85da Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Wed, 9 Mar 2022 16:18:45 -0800 Subject: [PATCH 6/9] delete ci for integration tests Signed-off-by: Yee Hing Tong Signed-off-by: Eduardo Apolinario --- .github/workflows/pythonbuild.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/pythonbuild.yml b/.github/workflows/pythonbuild.yml index c297305330..9576335f1f 100644 --- a/.github/workflows/pythonbuild.yml +++ b/.github/workflows/pythonbuild.yml @@ -41,13 +41,7 @@ jobs: pip freeze - name: Test with coverage run: | - coverage run -m pytest tests/flytekit/unit - - name: Integration Tests with coverage - # https://github.com/actions/runner/issues/241#issuecomment-577360161 - shell: 'script -q -e -c "bash {0}"' - run: | - python -m pip install awscli - coverage run --append -m pytest tests/flytekit/integration + FLYTE_SDK_USE_STRUCTURED_DATASET=TRUE coverage run -m pytest tests/flytekit/unit - name: Codecov uses: codecov/codecov-action@v1 with: From 8feb9f8acbd48a4bf2b42c322a6413c61359779c Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario Date: Mon, 23 May 2022 10:17:40 -0700 Subject: [PATCH 7/9] bump flyteidl to 0.21.11 to pick up cache_serialize change Signed-off-by: Eduardo Apolinario --- plugins/flytekit-k8s-pod/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/flytekit-k8s-pod/requirements.txt b/plugins/flytekit-k8s-pod/requirements.txt index fa01bf43ca..e5d4e71415 100644 --- a/plugins/flytekit-k8s-pod/requirements.txt +++ b/plugins/flytekit-k8s-pod/requirements.txt @@ -48,7 +48,7 @@ docker-image-py==0.1.12 # via flytekit docstring-parser==0.12 # via flytekit -flyteidl==0.21.8 +flyteidl==0.21.11 # via flytekit flytekit==0.24.0 # via flytekitplugins-pod From a43b41eb70e634590ff97fbd1976cb24233bb08a Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario Date: Mon, 23 May 2022 10:48:57 -0700 Subject: [PATCH 8/9] Fix docs failures Signed-off-by: Eduardo Apolinario --- doc-requirements.in | 2 +- doc-requirements.txt | 221 ++++++++++++++++++++++--------------------- setup.py | 2 +- 3 files changed, 116 insertions(+), 109 deletions(-) diff --git a/doc-requirements.in b/doc-requirements.in index 9cc60cfd43..972e5cf166 100644 --- a/doc-requirements.in +++ b/doc-requirements.in @@ -1,7 +1,7 @@ .[all] -e file:.#egg=flytekit -git+git://github.com/flyteorg/furo@main +git+https://github.com/flyteorg/furo@main sphinx sphinx-gallery sphinx-prompt diff --git a/doc-requirements.txt b/doc-requirements.txt index cba57b13b7..418275d3d2 100644 --- a/doc-requirements.txt +++ b/doc-requirements.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with python 3.9 +# This file is autogenerated by pip-compile with python 3.10 # To update, run: # # make doc-requirements.txt @@ -10,36 +10,37 @@ alabaster==0.7.12 # via sphinx ansiwrap==0.8.4 # via papermill -arrow==1.2.1 +arrow==1.2.2 # via jinja2-time -astroid==2.9.0 +astroid==2.11.5 # via sphinx-autoapi -attrs==21.2.0 +asttokens==2.0.5 + # via stack-data +attrs==21.4.0 # via jsonschema -babel==2.9.1 +babel==2.10.1 # via sphinx backcall==0.2.0 # via ipython -bcrypt==3.2.0 +bcrypt==3.2.2 # via paramiko -beautifulsoup4==4.10.0 +beautifulsoup4==4.11.1 # via # furo + # nbconvert # sphinx-code-include # sphinx-material binaryornot==0.4.4 # via cookiecutter -black==21.12b0 - # via papermill -bleach==4.1.0 +bleach==5.0.0 # via nbconvert -boto3==1.20.26 +boto3==1.23.5 # via sagemaker-training -botocore==1.23.26 +botocore==1.26.5 # via # boto3 # s3transfer -certifi==2021.10.8 +certifi==2022.5.18.1 # via requests cffi==1.15.0 # via @@ -48,33 +49,32 @@ cffi==1.15.0 # pynacl chardet==4.0.0 # via binaryornot -charset-normalizer==2.0.9 +charset-normalizer==2.0.12 # via requests checksumdir==1.2.0 # via flytekit click==7.1.2 # via - # black # cookiecutter # flytekit # hmsclient # papermill -cloudpickle==2.0.0 +cloudpickle==2.1.0 # via flytekit cookiecutter==1.7.3 # via flytekit -croniter==1.1.0 +croniter==1.3.5 # via flytekit -cryptography==36.0.1 +cryptography==37.0.2 # via # -r doc-requirements.in # paramiko # secretstorage css-html-js-minify==2.5.5 # via sphinx-material -dataclasses-json==0.5.6 +dataclasses-json==0.5.7 # via flytekit -decorator==5.1.0 +decorator==5.1.1 # via # ipython # retry @@ -82,28 +82,34 @@ defusedxml==0.7.1 # via nbconvert deprecated==1.2.13 # via flytekit -diskcache==5.3.0 +diskcache==5.4.0 # via flytekit docker-image-py==0.1.12 # via flytekit -docstring-parser==0.13 +docstring-parser==0.14.1 # via flytekit docutils==0.17.1 # via sphinx -entrypoints==0.3 +entrypoints==0.4 # via # jupyter-client # nbconvert # papermill -flyteidl==0.21.13 +executing==0.8.3 + # via stack-data +fastjsonschema==2.15.3 + # via nbformat +flyteidl==1.1.1 # via flytekit -furo @ git+git://github.com/flyteorg/furo@main +furo @ git+https://github.com/flyteorg/furo@main # via -r doc-requirements.in gevent==21.12.0 # via sagemaker-training +googleapis-common-protos==1.56.1 + # via flyteidl greenlet==1.1.2 # via gevent -grpcio==1.43.0 +grpcio==1.46.3 # via # -r doc-requirements.in # flytekit @@ -113,25 +119,23 @@ idna==3.3 # via requests imagesize==1.3.0 # via sphinx -importlib-metadata==4.10.0 +importlib-metadata==4.11.4 # via keyring -inotify_simple==1.2.1 +inotify-simple==1.2.1 # via sagemaker-training ipykernel==5.5.6 # via flytekit -ipython==7.30.1 +ipython==8.3.0 # via ipykernel ipython-genutils==0.2.0 - # via - # ipykernel - # nbformat + # via ipykernel jedi==0.18.1 # via ipython -jeepney==0.7.1 +jeepney==0.8.0 # via # keyring # secretstorage -jinja2==3.0.3 +jinja2==3.1.2 # via # cookiecutter # jinja2-time @@ -140,34 +144,36 @@ jinja2==3.0.3 # sphinx-autoapi jinja2-time==0.2.0 # via cookiecutter -jmespath==0.10.0 +jmespath==1.0.0 # via # boto3 # botocore -jsonschema==4.3.2 +jsonschema==4.5.1 # via nbformat -jupyter-client==7.1.0 +jupyter-client==7.3.1 # via # ipykernel # nbclient -jupyter-core==4.9.1 +jupyter-core==4.10.0 # via # jupyter-client # nbconvert # nbformat -jupyterlab-pygments==0.1.2 +jupyterlab-pygments==0.2.2 # via nbconvert k8s-proto==0.0.3 # via flytekit -keyring==23.4.0 +keyring==23.5.1 # via flytekit lazy-object-proxy==1.7.1 # via astroid -lxml==4.7.1 +lxml==4.8.0 # via sphinx-material -markupsafe==2.0.1 - # via jinja2 -marshmallow==3.14.1 +markupsafe==2.1.1 + # via + # jinja2 + # nbconvert +marshmallow==3.15.0 # via # dataclasses-json # marshmallow-enum @@ -181,27 +187,25 @@ matplotlib-inline==0.1.3 mistune==0.8.4 # via nbconvert mypy-extensions==0.4.3 - # via - # black - # typing-inspect -natsort==8.0.2 + # via typing-inspect +natsort==8.1.0 # via flytekit -nbclient==0.5.9 +nbclient==0.6.3 # via # nbconvert # papermill -nbconvert==6.3.0 +nbconvert==6.5.0 # via flytekit -nbformat==5.1.3 +nbformat==5.4.0 # via # nbclient # nbconvert # papermill -nest-asyncio==1.5.4 +nest-asyncio==1.5.5 # via # jupyter-client # nbclient -numpy==1.21.5 +numpy==1.22.4 # via # flytekit # pandas @@ -210,64 +214,67 @@ numpy==1.21.5 # scipy packaging==21.3 # via - # bleach + # marshmallow + # nbconvert # sphinx -pandas==1.3.5 +pandas==1.4.2 # via flytekit pandocfilters==1.5.0 # via nbconvert -papermill==2.3.3 +papermill==2.3.4 # via flytekit -paramiko==2.8.1 +paramiko==2.11.0 # via sagemaker-training parso==0.8.3 # via jedi -pathspec==0.9.0 - # via black pexpect==4.8.0 # via ipython pickleshare==0.7.5 # via ipython -platformdirs==2.4.0 - # via black poyo==0.5.0 # via cookiecutter -prompt-toolkit==3.0.24 +prompt-toolkit==3.0.29 # via ipython -protobuf==3.19.1 +protobuf==3.20.1 # via # flyteidl # flytekit + # googleapis-common-protos # k8s-proto + # protoc-gen-swagger # sagemaker-training -psutil==5.8.0 +protoc-gen-swagger==0.1.0 + # via flyteidl +psutil==5.9.1 # via sagemaker-training ptyprocess==0.7.0 # via pexpect +pure-eval==0.2.2 + # via stack-data py==1.11.0 # via retry -py4j==0.10.9.2 +py4j==0.10.9.3 # via pyspark pyarrow==6.0.1 # via flytekit pycparser==2.21 # via cffi -pygments==2.10.0 +pygments==2.12.0 # via + # furo # ipython - # jupyterlab-pygments # nbconvert # sphinx # sphinx-prompt -pynacl==1.4.0 +pynacl==1.5.0 # via paramiko -pyparsing==3.0.6 +pyparsing==3.0.9 # via packaging -pyrsistent==0.18.0 +pyrsistent==0.18.1 # via jsonschema -pyspark==3.2.0 +pyspark==3.2.1 # via flytekit -python-dateutil==2.8.1 +python-dateutil==2.8.2 # via # arrow # botocore @@ -277,13 +284,13 @@ python-dateutil==2.8.1 # pandas python-json-logger==2.0.2 # via flytekit -python-slugify[unidecode]==5.0.2 +python-slugify[unidecode]==6.1.2 # via # cookiecutter # sphinx-material pytimeparse==1.1.8 # via flytekit -pytz==2021.3 +pytz==2022.1 # via # babel # flytekit @@ -292,41 +299,39 @@ pyyaml==6.0 # via # papermill # sphinx-autoapi -pyzmq==22.3.0 +pyzmq==23.0.0 # via jupyter-client -regex==2021.11.10 +regex==2022.4.24 # via docker-image-py -requests==2.26.0 +requests==2.27.1 # via # cookiecutter # flytekit # papermill # responses # sphinx -responses==0.16.0 +responses==0.20.0 # via flytekit retry==0.9.2 # via flytekit retrying==1.3.3 # via sagemaker-training -s3transfer==0.5.0 +s3transfer==0.5.2 # via boto3 sagemaker-training==3.9.2 # via flytekit -scipy==1.7.3 +scipy==1.8.1 # via sagemaker-training -secretstorage==3.3.1 +secretstorage==3.3.2 # via keyring six==1.16.0 # via - # bcrypt # bleach # cookiecutter # flytekit # grpcio - # pynacl + # paramiko # python-dateutil - # responses # retrying # sagemaker-training # sphinx-code-include @@ -335,13 +340,14 @@ snowballstemmer==2.2.0 # via sphinx sortedcontainers==2.4.0 # via flytekit -soupsieve==2.3.1 +soupsieve==2.3.2.post1 # via beautifulsoup4 -sphinx==4.3.2 +sphinx==4.5.0 # via # -r doc-requirements.in # furo # sphinx-autoapi + # sphinx-basic-ng # sphinx-code-include # sphinx-copybutton # sphinx-fontawesome @@ -351,9 +357,11 @@ sphinx==4.3.2 # sphinxcontrib-yt sphinx-autoapi==1.8.4 # via -r doc-requirements.in +sphinx-basic-ng==0.0.1a10 + # via furo sphinx-code-include==1.1.1 # via -r doc-requirements.in -sphinx-copybutton==0.4.0 +sphinx-copybutton==0.5.0 # via -r doc-requirements.in sphinx-fontawesome==0.0.6 # via -r doc-requirements.in @@ -377,27 +385,27 @@ sphinxcontrib-serializinghtml==1.1.5 # via sphinx sphinxcontrib-yt==0.2.2 # via -r doc-requirements.in +stack-data==0.2.0 + # via ipython statsd==3.3.0 # via flytekit tenacity==8.0.1 # via papermill -testpath==0.5.0 - # via nbconvert text-unidecode==1.3 # via python-slugify textwrap3==0.9.2 # via ansiwrap -thrift==0.15.0 +thrift==0.16.0 # via hmsclient -tomli==1.2.3 - # via black +tinycss2==1.1.1 + # via nbconvert tornado==6.1 # via # ipykernel # jupyter-client -tqdm==4.62.3 +tqdm==4.64.0 # via papermill -traitlets==5.1.1 +traitlets==5.2.1.post0 # via # ipykernel # ipython @@ -407,18 +415,15 @@ traitlets==5.1.1 # nbclient # nbconvert # nbformat -typing-extensions==4.0.1 - # via - # astroid - # black - # typing-inspect +typing-extensions==4.2.0 + # via typing-inspect typing-inspect==0.7.1 # via dataclasses-json -unidecode==1.3.2 +unidecode==1.3.4 # via # python-slugify # sphinx-autoapi -urllib3==1.26.7 +urllib3==1.26.9 # via # botocore # flytekit @@ -427,21 +432,23 @@ urllib3==1.26.7 wcwidth==0.2.5 # via prompt-toolkit webencodings==0.5.1 - # via bleach -werkzeug==2.0.2 + # via + # bleach + # tinycss2 +werkzeug==2.1.2 # via sagemaker-training wheel==0.37.1 # via flytekit -wrapt==1.13.3 +wrapt==1.14.1 # via # astroid # deprecated # flytekit -zipp==3.6.0 +zipp==3.8.0 # via importlib-metadata -zope.event==4.5.0 +zope-event==4.5.0 # via gevent -zope.interface==5.4.0 +zope-interface==5.4.0 # via gevent # The following packages are considered to be unsafe in a requirements file: diff --git a/setup.py b/setup.py index 5bf9f83aa7..77729f724a 100644 --- a/setup.py +++ b/setup.py @@ -71,7 +71,7 @@ "click>=6.6,<8.0", "croniter>=0.3.20,<4.0.0", "deprecated>=1.0,<2.0", - "python-dateutil<=2.8.1,>=2.1", + "python-dateutil<=2.8.2,>=2.1", "grpcio>=1.3.0,<2.0", "protobuf>=3.6.1,<4", "python-json-logger>=2.0.0", From 2bf2a952e52c3ff94aea82c87acd930173403582 Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario Date: Mon, 23 May 2022 17:41:47 -0700 Subject: [PATCH 9/9] Bump version of codecov-action to 1.5.2 Signed-off-by: Eduardo Apolinario --- .github/workflows/pythonbuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonbuild.yml b/.github/workflows/pythonbuild.yml index 9576335f1f..af626c9654 100644 --- a/.github/workflows/pythonbuild.yml +++ b/.github/workflows/pythonbuild.yml @@ -43,7 +43,7 @@ jobs: run: | FLYTE_SDK_USE_STRUCTURED_DATASET=TRUE coverage run -m pytest tests/flytekit/unit - name: Codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v1.5.2 with: fail_ci_if_error: true # optional (default = false)