Skip to content

Commit 2322f6c

Browse files
authored
update github action release script with correct dagster-dg dependencies (#227)
summary: dagster-dg has been split into dagster-dg-cli and dagster-dg-core. Import both in the github action release pipeline. Test Plan: Run the release script locally
1 parent f3193b8 commit 2322f6c

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

scripts/release.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,17 @@ def build_dagster_cloud_pex(
9494
info(f"Using dagster@{dagster_oss_branch} for dagster packages")
9595
dagster_pkg = f"git+https://github.com/dagster-io/dagster.git@{dagster_oss_branch}#egg=dagster&subdirectory=python_modules/dagster"
9696
dagster_cloud_cli_pkg = f"git+https://github.com/dagster-io/dagster.git@{dagster_oss_branch}#egg=dagster-cloud-cli&subdirectory=python_modules/libraries/dagster-cloud-cli"
97-
dagster_dg_pkg = f"git+https://github.com/dagster-io/dagster.git@{dagster_oss_branch}#egg=dagster-dg&subdirectory=python_modules/libraries/dagster-dg"
97+
dagster_dg_cli_pkg = f"git+https://github.com/dagster-io/dagster.git@{dagster_oss_branch}#egg=dagster-dg-cli&subdirectory=python_modules/libraries/dagster-dg-cli"
98+
dagster_dg_core_pkg = f"git+https://github.com/dagster-io/dagster.git@{dagster_oss_branch}#egg=dagster-dg-core&subdirectory=python_modules/libraries/dagster-dg-core"
9899
dagster_pipes_pkg = f"git+https://github.com/dagster-io/dagster.git@{dagster_oss_branch}#egg=dagster-pipes&subdirectory=python_modules/dagster-pipes"
99100
dagster_shared_pkg = f"git+https://github.com/dagster-io/dagster.git@{dagster_oss_branch}#egg=dagster-shared&subdirectory=python_modules/libraries/dagster-shared"
100101
else:
101102
pin_str = f"=={dagster_oss_version}" if dagster_oss_version else ""
102103
info("Using PyPI for dagster package")
103104
dagster_pkg = f"dagster{pin_str}"
104105
dagster_cloud_cli_pkg = "dagster-cloud-cli"
105-
dagster_dg_pkg = "dagster-dg"
106+
dagster_dg_cli_pkg = "dagster-dg-cli"
107+
dagster_dg_core_pkg = "dagster-dg-core"
106108
dagster_pipes_pkg = "dagster-pipes"
107109
dagster_shared_pkg = "dagster-shared"
108110

@@ -123,7 +125,8 @@ def build_dagster_cloud_pex(
123125
"pex",
124126
dagster_cloud_cli_pkg,
125127
dagster_pkg,
126-
dagster_dg_pkg,
128+
dagster_dg_cli_pkg,
129+
dagster_dg_core_pkg,
127130
dagster_pipes_pkg,
128131
dagster_shared_pkg,
129132
"PyGithub",

0 commit comments

Comments
 (0)