From 74df7ab68f9c3f77d6393bb02f4c2984525ea97d Mon Sep 17 00:00:00 2001 From: chrishiste Date: Thu, 1 Feb 2024 10:25:07 -0300 Subject: [PATCH 1/4] Fix wandb version --- python_modules/libraries/dagster-wandb/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_modules/libraries/dagster-wandb/setup.py b/python_modules/libraries/dagster-wandb/setup.py index d3ab29e413317..22826e8e3dc9e 100644 --- a/python_modules/libraries/dagster-wandb/setup.py +++ b/python_modules/libraries/dagster-wandb/setup.py @@ -35,7 +35,7 @@ def get_version() -> str: python_requires=">=3.8,<3.13", install_requires=[ f"dagster{pin}", - "wandb>=0.13.5,<0.15.5", + "wandb>=0.13.5,<1.0", ], extras_require={"dev": ["cloudpickle", "joblib", "callee", "dill"]}, zip_safe=False, From 0903d08c8ff2a4cedd71642476a50e6558615177 Mon Sep 17 00:00:00 2001 From: chrishiste Date: Tue, 27 Feb 2024 15:17:22 -0300 Subject: [PATCH 2/4] fix: Broken path --- .../libraries/dagster-wandb/dagster_wandb/io_manager.py | 1 + .../libraries/dagster-wandb/dagster_wandb/launch/ops.py | 4 ++-- .../libraries/dagster-wandb/dagster_wandb/resources.py | 3 ++- .../dagster-wandb/dagster_wandb_tests/test_io_manager.py | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/python_modules/libraries/dagster-wandb/dagster_wandb/io_manager.py b/python_modules/libraries/dagster-wandb/dagster_wandb/io_manager.py index 231b11864f994..99bcf2af2cf36 100644 --- a/python_modules/libraries/dagster-wandb/dagster_wandb/io_manager.py +++ b/python_modules/libraries/dagster-wandb/dagster_wandb/io_manager.py @@ -21,6 +21,7 @@ io_manager, ) from dagster._core.storage.io_manager import dagster_maintained_io_manager + from wandb import Artifact from wandb.data_types import WBValue diff --git a/python_modules/libraries/dagster-wandb/dagster_wandb/launch/ops.py b/python_modules/libraries/dagster-wandb/dagster_wandb/launch/ops.py index 3a0ee67cf80ff..70b2bb8ae26fe 100644 --- a/python_modules/libraries/dagster-wandb/dagster_wandb/launch/ops.py +++ b/python_modules/libraries/dagster-wandb/dagster_wandb/launch/ops.py @@ -1,6 +1,6 @@ from dagster import OpExecutionContext, op -from wandb.sdk.launch import launch -from wandb.sdk.launch.launch_add import launch_add + +from wandb.sdk.launch import launch, launch_add from .configs import launch_agent_config, launch_config diff --git a/python_modules/libraries/dagster-wandb/dagster_wandb/resources.py b/python_modules/libraries/dagster-wandb/dagster_wandb/resources.py index ca73d5a3c2bcb..21edc55ca5d50 100644 --- a/python_modules/libraries/dagster-wandb/dagster_wandb/resources.py +++ b/python_modules/libraries/dagster-wandb/dagster_wandb/resources.py @@ -1,8 +1,9 @@ from typing import Any, Dict -import wandb from dagster import Field, InitResourceContext, String, StringSource, resource from dagster._core.definitions.resource_definition import dagster_maintained_resource + +import wandb from wandb.sdk.internal.internal_api import Api WANDB_CLOUD_HOST: str = "https://api.wandb.ai" diff --git a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_io_manager.py b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_io_manager.py index 748b486a17fb3..b0dd0eadfdac2 100644 --- a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_io_manager.py +++ b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_io_manager.py @@ -2,7 +2,6 @@ from unittest.mock import ANY, MagicMock, patch import pytest -import wandb from callee import EndsWith, Regex from dagster import ( AssetKey, @@ -19,6 +18,8 @@ wandb_artifacts_io_manager, wandb_resource, ) + +import wandb from wandb import Artifact DAGSTER_RUN_ID = "unit-testing" From 201ba57a5713844238b81d4e8ee40dc934c958cf Mon Sep 17 00:00:00 2001 From: chrishiste Date: Tue, 27 Feb 2024 17:06:12 -0300 Subject: [PATCH 3/4] fix: Ruff --- .../libraries/dagster-wandb/dagster_wandb/io_manager.py | 1 - .../libraries/dagster-wandb/dagster_wandb/launch/ops.py | 1 - .../libraries/dagster-wandb/dagster_wandb/resources.py | 3 +-- .../dagster-wandb/dagster_wandb_tests/launch/test_ops.py | 1 + .../dagster-wandb/dagster_wandb_tests/test_errors.py | 1 + .../dagster-wandb/dagster_wandb_tests/test_io_manager.py | 6 +++--- .../dagster-wandb/dagster_wandb_tests/test_pickling.py | 1 + .../dagster-wandb/dagster_wandb_tests/test_resources.py | 1 + python_modules/libraries/dagster-wandb/pyproject.toml | 2 ++ 9 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 python_modules/libraries/dagster-wandb/pyproject.toml diff --git a/python_modules/libraries/dagster-wandb/dagster_wandb/io_manager.py b/python_modules/libraries/dagster-wandb/dagster_wandb/io_manager.py index 99bcf2af2cf36..231b11864f994 100644 --- a/python_modules/libraries/dagster-wandb/dagster_wandb/io_manager.py +++ b/python_modules/libraries/dagster-wandb/dagster_wandb/io_manager.py @@ -21,7 +21,6 @@ io_manager, ) from dagster._core.storage.io_manager import dagster_maintained_io_manager - from wandb import Artifact from wandb.data_types import WBValue diff --git a/python_modules/libraries/dagster-wandb/dagster_wandb/launch/ops.py b/python_modules/libraries/dagster-wandb/dagster_wandb/launch/ops.py index 70b2bb8ae26fe..f645aad8cd53a 100644 --- a/python_modules/libraries/dagster-wandb/dagster_wandb/launch/ops.py +++ b/python_modules/libraries/dagster-wandb/dagster_wandb/launch/ops.py @@ -1,5 +1,4 @@ from dagster import OpExecutionContext, op - from wandb.sdk.launch import launch, launch_add from .configs import launch_agent_config, launch_config diff --git a/python_modules/libraries/dagster-wandb/dagster_wandb/resources.py b/python_modules/libraries/dagster-wandb/dagster_wandb/resources.py index 21edc55ca5d50..ca73d5a3c2bcb 100644 --- a/python_modules/libraries/dagster-wandb/dagster_wandb/resources.py +++ b/python_modules/libraries/dagster-wandb/dagster_wandb/resources.py @@ -1,9 +1,8 @@ from typing import Any, Dict +import wandb from dagster import Field, InitResourceContext, String, StringSource, resource from dagster._core.definitions.resource_definition import dagster_maintained_resource - -import wandb from wandb.sdk.internal.internal_api import Api WANDB_CLOUD_HOST: str = "https://api.wandb.ai" diff --git a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/launch/test_ops.py b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/launch/test_ops.py index 15e307a47bf8c..56ca2101f4186 100644 --- a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/launch/test_ops.py +++ b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/launch/test_ops.py @@ -2,6 +2,7 @@ import pytest from dagster import build_op_context + from dagster_wandb import wandb_resource from dagster_wandb.launch.ops import raise_on_invalid_config, run_launch_agent, run_launch_job diff --git a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_errors.py b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_errors.py index 8c1544070a4a2..7fccd1a27e4e0 100644 --- a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_errors.py +++ b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_errors.py @@ -1,4 +1,5 @@ import pytest + from dagster_wandb.utils.errors import ( WandbArtifactsIOManagerError, raise_on_empty_configuration, diff --git a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_io_manager.py b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_io_manager.py index b0dd0eadfdac2..ef3f601019b89 100644 --- a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_io_manager.py +++ b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_io_manager.py @@ -2,6 +2,7 @@ from unittest.mock import ANY, MagicMock, patch import pytest +import wandb from callee import EndsWith, Regex from dagster import ( AssetKey, @@ -13,15 +14,14 @@ build_input_context, build_output_context, ) +from wandb import Artifact + from dagster_wandb import ( WandbArtifactsIOManagerError, wandb_artifacts_io_manager, wandb_resource, ) -import wandb -from wandb import Artifact - DAGSTER_RUN_ID = "unit-testing" DAGSTER_RUN_ID_SHORT = DAGSTER_RUN_ID[0:8] DAGSTER_HOME = "/path/to/dagster_home" diff --git a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_pickling.py b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_pickling.py index 870f2052ec28c..055d1f0e080fa 100644 --- a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_pickling.py +++ b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_pickling.py @@ -2,6 +2,7 @@ import pytest from dagster import build_output_context + from dagster_wandb.utils.pickling import pickle_artifact_content diff --git a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_resources.py b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_resources.py index 4fffd2576acae..ed0b316eeaf02 100644 --- a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_resources.py +++ b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_resources.py @@ -1,6 +1,7 @@ from unittest.mock import patch from dagster import build_init_resource_context + from dagster_wandb.resources import WANDB_CLOUD_HOST, wandb_resource API_KEY = "api_key" diff --git a/python_modules/libraries/dagster-wandb/pyproject.toml b/python_modules/libraries/dagster-wandb/pyproject.toml new file mode 100644 index 0000000000000..4e15e65791a35 --- /dev/null +++ b/python_modules/libraries/dagster-wandb/pyproject.toml @@ -0,0 +1,2 @@ +[tool.ruff] +extend = "../../../pyproject.toml" \ No newline at end of file From 900f9f780c0d615fc8a08088d565916aa59181d1 Mon Sep 17 00:00:00 2001 From: alangenfeld Date: Wed, 28 Feb 2024 12:14:34 -0600 Subject: [PATCH 4/4] make ruff --- pyright/alt-1/requirements-pinned.txt | 83 ++++++------ pyright/master/requirements-pinned.txt | 124 +++++++++--------- .../dagster_wandb_tests/launch/test_ops.py | 1 - .../dagster_wandb_tests/test_errors.py | 1 - .../dagster_wandb_tests/test_io_manager.py | 3 +- .../dagster_wandb_tests/test_pickling.py | 1 - .../dagster_wandb_tests/test_resources.py | 1 - .../libraries/dagster-wandb/pyproject.toml | 2 - .../libraries/dagster-wandb/setup.py | 2 +- 9 files changed, 102 insertions(+), 116 deletions(-) delete mode 100644 python_modules/libraries/dagster-wandb/pyproject.toml diff --git a/pyright/alt-1/requirements-pinned.txt b/pyright/alt-1/requirements-pinned.txt index 88cb07accb3ea..298f1e985da2d 100644 --- a/pyright/alt-1/requirements-pinned.txt +++ b/pyright/alt-1/requirements-pinned.txt @@ -1,5 +1,5 @@ agate==1.7.1 -aiobotocore==2.11.2 +aiobotocore==2.12.0 aiofile==3.8.8 aiohttp==3.9.3 aioitertools==0.11.0 @@ -14,32 +14,30 @@ argon2-cffi-bindings==21.2.0 arrow==1.3.0 asn1crypto==1.5.1 -e examples/assets_pandas_type_metadata -astroid==3.0.3 +astroid==3.1.0 asttokens==2.4.1 async-lru==2.0.4 -async-timeout==4.0.3 attrs==23.2.0 Babel==2.14.0 backoff==2.2.1 beautifulsoup4==4.12.3 bleach==6.1.0 -boto3==1.34.34 -botocore==1.34.34 +boto3==1.34.51 +botocore==1.34.51 buildkite-test-collector==0.1.7 -cachetools==5.3.2 +cachetools==5.3.3 caio==0.9.13 certifi==2024.2.2 cffi==1.16.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -colored==1.4.4 coloredlogs==14.0 comm==0.2.1 contourpy==1.2.0 -coverage==7.4.2 +coverage==7.4.3 croniter==2.0.1 -cryptography==41.0.7 +cryptography==42.0.5 cycler==0.12.1 -e python_modules/dagster -e python_modules/libraries/dagster-aws @@ -63,9 +61,9 @@ cycler==0.12.1 -e python_modules/dagster-webserver db-dtypes==1.2.0 dbt-core==1.7.8 -dbt-duckdb==1.7.1 +dbt-duckdb==1.7.2 dbt-extractor==0.5.1 -dbt-semantic-interfaces==0.4.3 +dbt-semantic-interfaces==0.4.4 dbt-snowflake==1.7.2 debugpy==1.8.1 decopatch==1.4.10 @@ -78,7 +76,6 @@ distlib==0.3.8 docker==7.0.0 docstring-parser==0.15 duckdb==0.10.0 -exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 @@ -89,8 +86,8 @@ frozenlist==1.4.1 fsspec==2024.2.0 gcsfs==2024.2.0 google-api-core==2.17.1 -google-api-python-client==2.118.0 -google-auth==2.28.0 +google-api-python-client==2.119.0 +google-auth==2.28.1 google-auth-httplib2==0.2.0 google-auth-oauthlib==1.2.0 google-cloud-bigquery==3.17.2 @@ -103,21 +100,21 @@ gql==3.5.0 graphene==3.3 graphql-core==3.2.3 graphql-relay==3.2.0 -grpcio==1.60.1 -grpcio-health-checking==1.60.1 -grpcio-tools==1.60.1 +grpcio==1.62.0 +grpcio-health-checking==1.62.0 +grpcio-tools==1.62.0 h11==0.14.0 -httpcore==1.0.3 +httpcore==1.0.4 httplib2==0.22.0 httptools==0.6.1 -httpx==0.26.0 +httpx==0.27.0 humanfriendly==10.0 -hypothesis==6.98.9 +hypothesis==6.98.13 idna==3.6 importlib-metadata==6.11.0 iniconfig==2.0.0 -ipykernel==6.29.2 -ipython==8.21.0 +ipykernel==6.29.3 +ipython==8.22.1 isodate==0.6.1 isoduration==20.11.0 isort==5.13.2 @@ -131,7 +128,7 @@ jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 jupyter-events==0.9.0 -jupyter-lsp==2.2.2 +jupyter-lsp==2.2.3 jupyter_client==8.6.0 jupyter_core==5.7.1 jupyter_server==2.12.5 @@ -139,9 +136,9 @@ jupyter_server_terminals==0.5.2 jupyterlab==4.1.2 jupyterlab_pygments==0.3.0 jupyterlab_server==2.25.3 -keyring==24.3.0 +keyring==24.3.1 kiwisolver==1.4.5 -leather==0.3.4 +leather==0.4.0 Logbook==1.5.3 makefun==1.15.2 Mako==1.3.2 @@ -159,7 +156,7 @@ more-itertools==10.2.0 morefs==0.2.0 msgpack==1.0.7 multidict==6.0.5 -multimethod==1.11.1 +multimethod==1.11.2 mypy==1.8.0 mypy-extensions==1.0.0 mypy-protobuf==3.5.0 @@ -173,9 +170,9 @@ notebook_shim==0.2.4 numpy==1.26.4 oauth2client==4.1.3 oauthlib==3.2.2 -objgraph==3.6.0 +objgraph==3.6.1 ordered-set==4.1.0 -orjson==3.9.14 +orjson==3.9.15 overrides==7.7.0 packaging==23.2 pandas==2.0.3 @@ -190,7 +187,7 @@ pexpect==4.9.0 pillow==10.2.0 platformdirs==3.11.0 pluggy==1.4.0 -polars==0.20.10 +polars==0.20.11 -e examples/project_fully_featured prometheus_client==0.20.0 prompt-toolkit==3.0.43 @@ -206,15 +203,15 @@ pyarrow-hotfix==0.6 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 -pydantic==2.6.1 -pydantic_core==2.16.2 +pydantic==2.6.3 +pydantic_core==2.16.3 Pygments==2.17.2 PyJWT==2.8.0 -pylint==3.0.3 -pyOpenSSL==23.3.0 +pylint==3.1.0 +pyOpenSSL==24.0.0 pyparsing==3.1.1 pyright==1.1.349 -pyspark==3.5.0 +pyspark==3.5.1 pytest==7.4.4 pytest-cases==3.8.2 pytest-cov==2.10.1 @@ -238,7 +235,7 @@ requests-toolbelt==1.0.0 responses==0.23.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rich==13.7.0 +rich==13.7.1 rpds-py==0.18.0 rsa==4.9 s3fs==2024.2.0 @@ -248,9 +245,9 @@ scipy==1.12.0 seaborn==0.13.2 Send2Trash==1.8.2 six==1.16.0 -slack_sdk==3.27.0 -sniffio==1.3.0 -snowflake-connector-python==3.7.0 +slack_sdk==3.27.1 +sniffio==1.3.1 +snowflake-connector-python==3.7.1 snowflake-sqlalchemy==1.5.1 sortedcontainers==2.4.0 soupsieve==2.5 @@ -259,7 +256,7 @@ sqlparse==0.4.4 stack-data==0.6.3 starlette==0.37.1 structlog==24.1.0 -syrupy==3.0.6 +syrupy==4.6.1 tabulate==0.9.0 terminado==0.18.0 text-unidecode==1.3 @@ -268,7 +265,7 @@ time-machine==2.13.0 tinycss2==1.2.1 toml==0.10.2 tomli==2.0.1 -tomlkit==0.12.3 +tomlkit==0.12.4 toposort==1.10 tornado==6.4 tox==3.25.0 @@ -285,7 +282,7 @@ types-mock==5.1.0.20240106 types-paramiko==3.4.0.20240205 types-pkg-resources==0.1.3 types-protobuf==4.24.0.20240129 -types-pyOpenSSL==24.0.0.20240130 +types-pyOpenSSL==24.0.0.20240228 types-python-dateutil==2.8.19.20240106 types-pytz==2024.1.0.20240203 types-PyYAML==6.0.12.12 @@ -298,7 +295,7 @@ types-toml==0.10.8.7 types-tzlocal==5.1.0.1 types-urllib3==1.26.25.14 typing-inspect==0.9.0 -typing_extensions==4.9.0 +typing_extensions==4.10.0 tzdata==2024.1 universal_pathlib==0.2.1 uri-template==1.3.0 @@ -306,7 +303,7 @@ uritemplate==4.1.1 urllib3==1.26.18 uvicorn==0.27.1 uvloop==0.19.0 -virtualenv==20.25.0 +virtualenv==20.25.1 watchdog==4.0.0 watchfiles==0.21.0 wcwidth==0.2.13 diff --git a/pyright/master/requirements-pinned.txt b/pyright/master/requirements-pinned.txt index 4ea60c81c43e1..b9d9aea970ed1 100644 --- a/pyright/master/requirements-pinned.txt +++ b/pyright/master/requirements-pinned.txt @@ -22,7 +22,7 @@ apache-airflow-providers-imap==3.5.0 apache-airflow-providers-sqlite==3.7.1 apeye==1.4.1 apeye-core==1.1.5 -apispec==6.4.0 +apispec==6.5.0 appdirs==1.4.4 appnope==0.1.4 argcomplete==3.2.2 @@ -35,7 +35,6 @@ asn1crypto==1.5.1 -e examples/assets_pandas_pyspark asttokens==2.4.1 async-lru==2.0.4 -async-timeout==4.0.3 attrs==23.2.0 autodocsumm==0.2.12 autoflake==2.3.0 @@ -57,20 +56,20 @@ bitmath==1.3.3.1 bleach==6.1.0 blinker==1.7.0 bokeh==3.3.4 -boto3==1.34.46 -botocore==1.34.46 +boto3==1.34.52 +botocore==1.34.52 buildkite-test-collector==0.1.7 CacheControl==0.14.0 cached-property==1.5.2 cachelib==0.9.0 -cachetools==5.3.2 +cachetools==5.3.3 caio==0.9.13 callee==0.3.1 cattrs==23.2.3 celery==5.3.6 certifi==2024.2.2 cffi==1.16.0 -cfn-lint==0.85.2 +cfn-lint==0.85.3 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 @@ -82,7 +81,6 @@ click-spinner==0.1.10 clickclick==20.10.2 cloudpickle==2.2.1 colorama==0.4.6 -colored==1.4.4 coloredlogs==14.0 colorlog==4.8.0 comm==0.2.1 @@ -90,10 +88,10 @@ ConfigUpdater==3.2 confluent-kafka==2.3.0 connexion==2.14.2 contourpy==1.2.0 -coverage==7.4.2 +coverage==7.4.3 cron-descriptor==1.4.3 croniter==2.0.1 -cryptography==41.0.7 +cryptography==42.0.5 cssutils==2.9.0 cycler==0.12.1 -e python_modules/dagit @@ -158,8 +156,8 @@ cycler==0.12.1 -e python_modules/libraries/dagster-wandb -e python_modules/dagster-webserver -e python_modules/libraries/dagstermill -dask==2024.2.0 -dask-jobqueue==0.8.2 +dask==2024.2.1 +dask-jobqueue==0.8.5 dask-kubernetes==2022.9.0 dask-yarn==0.9 databricks-api==0.9.0 @@ -183,7 +181,7 @@ dict2css==0.3.0.post1 diff-match-patch==20200713 dill==0.3.8 distlib==0.3.8 -distributed==2024.2.0 +distributed==2024.2.1 distro==1.9.0 dnspython==2.6.1 docker==5.0.3 @@ -197,7 +195,6 @@ duckdb==0.10.0 ecdsa==0.18.0 email-validator==1.3.1 entrypoints==0.4 -exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 expandvars==0.12.0 @@ -221,12 +218,12 @@ fonttools==4.49.0 fqdn==1.5.1 frozenlist==1.4.1 fsspec==2024.2.0 -future==0.18.3 +future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-api-core==2.17.1 -google-api-python-client==2.118.0 -google-auth==2.28.0 +google-api-python-client==2.119.0 +google-auth==2.28.1 google-auth-httplib2==0.2.0 google-auth-oauthlib==1.2.0 google-cloud-bigquery==3.17.2 @@ -243,29 +240,29 @@ graphql-core==3.2.3 graphql-relay==3.2.0 graphviz==0.20.1 great-expectations==0.17.11 -grpcio==1.60.1 -grpcio-health-checking==1.60.1 -grpcio-status==1.60.1 -grpcio-tools==1.60.1 +grpcio==1.62.0 +grpcio-health-checking==1.62.0 +grpcio-status==1.62.0 +grpcio-tools==1.62.0 gunicorn==21.2.0 h11==0.14.0 hologram==0.0.16 html5lib==1.1 -httpcore==1.0.3 +httpcore==1.0.4 httplib2==0.22.0 httptools==0.6.1 -httpx==0.26.0 +httpx==0.27.0 humanfriendly==10.0 -hypothesis==6.98.9 +hypothesis==6.98.13 idna==3.6 ijson==3.2.3 imagesize==1.4.1 importlib-metadata==6.11.0 -importlib-resources==6.1.1 +importlib_resources==6.1.2 inflection==0.5.1 iniconfig==2.0.0 -ipykernel==6.29.2 -ipython==8.21.0 +ipykernel==6.29.3 +ipython==8.22.1 ipython-genutils==0.2.0 ipywidgets==8.1.2 iso8601==2.1.0 @@ -288,7 +285,7 @@ jsonschema-path==0.3.2 jsonschema-specifications==2023.12.1 junit-xml==1.9 jupyter-events==0.9.0 -jupyter-lsp==2.2.2 +jupyter-lsp==2.2.3 jupyter_client==7.4.9 jupyter_core==5.7.1 jupyter_server==2.12.5 @@ -304,7 +301,7 @@ kopf==1.37.1 kubernetes==29.0.0 kubernetes_asyncio==29.0.0 lazy-object-proxy==1.10.0 -leather==0.3.4 +leather==0.4.0 limits==3.9.0 linkify-it-py==2.0.3 locket==1.0.0 @@ -315,7 +312,7 @@ Mako==1.3.2 Markdown==3.5.2 markdown-it-py==3.0.0 MarkupSafe==2.1.5 -marshmallow==3.20.2 +marshmallow==3.21.0 marshmallow-oneofschema==3.1.1 marshmallow-sqlalchemy==0.26.1 mashumaro==3.6 @@ -333,11 +330,11 @@ more-itertools==10.2.0 morefs==0.2.0 moto==4.2.14 mpmath==1.3.0 -msal==1.26.0 +msal==1.27.0 msal-extensions==1.1.0 msgpack==1.0.7 multidict==6.0.5 -multimethod==1.11.1 +multimethod==1.11.2 mypy-extensions==1.0.0 mypy-protobuf==3.5.0 mysql-connector-python==8.3.0 @@ -350,28 +347,28 @@ networkx==2.8.8 nh3==0.2.15 nodeenv==1.8.0 noteable-origami==0.0.35 -notebook==7.1.0 +notebook==7.1.1 notebook_shim==0.2.4 numpy==1.26.4 oauth2client==4.1.3 oauthlib==3.2.2 -objgraph==3.6.0 +objgraph==3.6.1 onnx==1.15.0 onnxconverter-common==1.13.0 -onnxruntime==1.17.0 +onnxruntime==1.17.1 openai==1.12.0 openapi-schema-validator==0.6.2 openapi-spec-validator==0.7.1 -opentelemetry-api==1.22.0 -opentelemetry-exporter-otlp==1.22.0 -opentelemetry-exporter-otlp-proto-common==1.22.0 -opentelemetry-exporter-otlp-proto-grpc==1.22.0 -opentelemetry-exporter-otlp-proto-http==1.22.0 -opentelemetry-proto==1.22.0 -opentelemetry-sdk==1.22.0 -opentelemetry-semantic-conventions==0.43b0 +opentelemetry-api==1.23.0 +opentelemetry-exporter-otlp==1.23.0 +opentelemetry-exporter-otlp-proto-common==1.23.0 +opentelemetry-exporter-otlp-proto-grpc==1.23.0 +opentelemetry-exporter-otlp-proto-http==1.23.0 +opentelemetry-proto==1.23.0 +opentelemetry-sdk==1.23.0 +opentelemetry-semantic-conventions==0.44b0 ordered-set==4.1.0 -orjson==3.9.14 +orjson==3.9.15 outcome==1.3.0.post0 overrides==7.7.0 packaging==23.2 @@ -389,7 +386,6 @@ partd==1.4.1 path==16.10.0 pathable==0.4.3 pathspec==0.11.2 -pathtools==0.1.2 pathvalidate==3.2.0 pbr==6.0.0 pendulum==2.1.2 @@ -399,10 +395,10 @@ pkginfo==1.9.6 platformdirs==3.11.0 plotly==5.19.0 pluggy==1.4.0 -polars==0.20.10 +polars==0.20.11 portalocker==2.8.2 prison==0.2.1 -progressbar2==4.3.2 +progressbar2==4.4.1 prometheus_client==0.20.0 prompt-toolkit==3.0.43 proto-plus==1.23.0 @@ -425,12 +421,12 @@ pyflakes==3.2.0 Pygments==2.17.2 PyJWT==2.8.0 PyNaCl==1.5.0 -pyOpenSSL==23.3.0 +pyOpenSSL==24.0.0 pyparsing==3.1.1 pypd==1.1.0 pyright==1.1.349 PySocks==1.7.1 -pyspark==3.5.0 +pyspark==3.5.1 pytablereader==0.31.4 pytest==7.4.4 pytest-cases==3.8.2 @@ -455,7 +451,7 @@ pytzdata==2020.1 PyYAML==6.0.1 pyzmq==25.1.2 querystring-parser==1.2.4 -readme-renderer==42.0 +readme_renderer==43.0 referencing==0.31.1 regex==2023.12.25 requests==2.31.0 @@ -466,7 +462,7 @@ requests-toolbelt==1.0.0 responses==0.23.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rich==13.7.0 +rich==13.7.1 rich-argparse==1.4.0 rpds-py==0.18.0 rsa==4.9 @@ -480,18 +476,18 @@ seaborn==0.13.2 selenium==4.18.1 Send2Trash==1.8.2 sending==0.3.0 -sentry-sdk==1.40.5 +sentry-sdk==1.40.6 setproctitle==1.3.3 six==1.16.0 skein==0.8.2 skl2onnx==1.16.0 -slack_sdk==3.27.0 -sling==1.1.6.post1 -sling-mac-universal==1.1.6.post1 +slack_sdk==3.27.1 +sling==1.1.11 +sling-mac-universal==1.1.11 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 snowballstemmer==2.2.0 -snowflake-connector-python==3.7.0 +snowflake-connector-python==3.7.1 snowflake-sqlalchemy==1.5.1 sortedcontainers==2.4.0 soupsieve==2.5 @@ -517,7 +513,7 @@ stack-data==0.6.3 starlette==0.37.1 structlog==22.3.0 sympy==1.12 -syrupy==3.0.6 +syrupy==4.6.1 tabledata==1.3.3 tabulate==0.9.0 tblib==3.0.0 @@ -529,11 +525,11 @@ threadpoolctl==3.3.0 tinycss2==1.2.1 toml==0.10.2 tomli==2.0.1 -tomlkit==0.12.3 +tomlkit==0.12.4 toolz==0.12.1 toposort==1.10 -torch==2.2.0 -torchvision==0.17.0 +torch==2.2.1 +torchvision==0.17.1 tornado==6.4 tox==3.25.0 tqdm==4.66.2 @@ -541,7 +537,7 @@ traitlets==5.14.1 trio==0.24.0 trio-websocket==0.11.1 -e examples/tutorial_notebook_assets -twilio==8.13.0 +twilio==9.0.0 twine==1.15.0 typeguard==4.1.5 typepy==1.3.2 @@ -555,7 +551,7 @@ types-mock==5.1.0.20240106 types-paramiko==3.4.0.20240205 types-pkg-resources==0.1.3 types-protobuf==4.24.0.20240129 -types-pyOpenSSL==24.0.0.20240130 +types-pyOpenSSL==24.0.0.20240228 types-python-dateutil==2.8.19.20240106 types-pytz==2024.1.0.20240203 types-PyYAML==6.0.12.12 @@ -568,7 +564,7 @@ types-toml==0.10.8.7 types-tzlocal==5.1.0.1 types-urllib3==1.26.25.14 typing-inspect==0.9.0 -typing_extensions==4.9.0 +typing_extensions==4.10.0 tzdata==2024.1 tzlocal==5.2 uc-micro-py==1.0.3 @@ -581,7 +577,7 @@ uvicorn==0.27.1 uvloop==0.19.0 vine==5.1.0 virtualenv==20.25.0 -wandb==0.15.4 +wandb==0.16.3 watchdog==4.0.0 watchfiles==0.21.0 wcwidth==0.2.13 diff --git a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/launch/test_ops.py b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/launch/test_ops.py index 56ca2101f4186..15e307a47bf8c 100644 --- a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/launch/test_ops.py +++ b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/launch/test_ops.py @@ -2,7 +2,6 @@ import pytest from dagster import build_op_context - from dagster_wandb import wandb_resource from dagster_wandb.launch.ops import raise_on_invalid_config, run_launch_agent, run_launch_job diff --git a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_errors.py b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_errors.py index 7fccd1a27e4e0..8c1544070a4a2 100644 --- a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_errors.py +++ b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_errors.py @@ -1,5 +1,4 @@ import pytest - from dagster_wandb.utils.errors import ( WandbArtifactsIOManagerError, raise_on_empty_configuration, diff --git a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_io_manager.py b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_io_manager.py index ef3f601019b89..748b486a17fb3 100644 --- a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_io_manager.py +++ b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_io_manager.py @@ -14,13 +14,12 @@ build_input_context, build_output_context, ) -from wandb import Artifact - from dagster_wandb import ( WandbArtifactsIOManagerError, wandb_artifacts_io_manager, wandb_resource, ) +from wandb import Artifact DAGSTER_RUN_ID = "unit-testing" DAGSTER_RUN_ID_SHORT = DAGSTER_RUN_ID[0:8] diff --git a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_pickling.py b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_pickling.py index 055d1f0e080fa..870f2052ec28c 100644 --- a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_pickling.py +++ b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_pickling.py @@ -2,7 +2,6 @@ import pytest from dagster import build_output_context - from dagster_wandb.utils.pickling import pickle_artifact_content diff --git a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_resources.py b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_resources.py index ed0b316eeaf02..4fffd2576acae 100644 --- a/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_resources.py +++ b/python_modules/libraries/dagster-wandb/dagster_wandb_tests/test_resources.py @@ -1,7 +1,6 @@ from unittest.mock import patch from dagster import build_init_resource_context - from dagster_wandb.resources import WANDB_CLOUD_HOST, wandb_resource API_KEY = "api_key" diff --git a/python_modules/libraries/dagster-wandb/pyproject.toml b/python_modules/libraries/dagster-wandb/pyproject.toml deleted file mode 100644 index 4e15e65791a35..0000000000000 --- a/python_modules/libraries/dagster-wandb/pyproject.toml +++ /dev/null @@ -1,2 +0,0 @@ -[tool.ruff] -extend = "../../../pyproject.toml" \ No newline at end of file diff --git a/python_modules/libraries/dagster-wandb/setup.py b/python_modules/libraries/dagster-wandb/setup.py index 22826e8e3dc9e..8f468c7c3c860 100644 --- a/python_modules/libraries/dagster-wandb/setup.py +++ b/python_modules/libraries/dagster-wandb/setup.py @@ -35,7 +35,7 @@ def get_version() -> str: python_requires=">=3.8,<3.13", install_requires=[ f"dagster{pin}", - "wandb>=0.13.5,<1.0", + "wandb>=0.15.11,<1.0", ], extras_require={"dev": ["cloudpickle", "joblib", "callee", "dill"]}, zip_safe=False,