Skip to content

Commit f6aa938

Browse files
authored
airbyte-ci: fix bug in migrate-to-poetry (#37615)
1 parent 6450612 commit f6aa938

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

airbyte-ci/connectors/pipelines/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,7 @@ E.G.: running Poe tasks on the modified internal packages of the current branch:
649649

650650
| Version | PR | Description |
651651
|---------| ---------------------------------------------------------- |----------------------------------------------------------------------------------------------------------------------------|
652+
| 4.10.3 | [#37615](https://github.com/airbytehq/airbyte/pull/37615) | Fix `KeyError` when running `migrate-to-poetry` |
652653
| 4.10.2 | [#37614](https://github.com/airbytehq/airbyte/pull/37614) | Fix `UnboundLocalError: local variable 'add_changelog_entry_result' referenced before assignment` in `migrate_to_base_image` |
653654
| 4.10.1 | [#37622](https://github.com/airbytehq/airbyte/pull/37622) | Temporarily disable regression tests in CI |
654655
| 4.10.0 | [#37616](https://github.com/airbytehq/airbyte/pull/37616) | Improve modified files comparison when the target branch is from a fork. |

airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/connectors/migrate_to_poetry/pipeline.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -433,9 +433,9 @@ async def run_connector_migration_to_poetry_pipeline(context: ConnectorContext,
433433
step=RegressionTest(context),
434434
depends_on=[CONNECTOR_TEST_STEP_ID.BUILD],
435435
args=lambda results: {
436-
"new_connector_container": results["BUILD_CONNECTOR_IMAGE"].output[LOCAL_BUILD_PLATFORM],
437-
"original_dependencies": results["POETRY_INIT"].output[0],
438-
"original_dev_dependencies": results["POETRY_INIT"].output[1],
436+
"new_connector_container": results[CONNECTOR_TEST_STEP_ID.BUILD].output[LOCAL_BUILD_PLATFORM],
437+
"original_dependencies": results[CONNECTOR_TEST_STEP_ID.POETRY_INIT].output[0],
438+
"original_dev_dependencies": results[CONNECTOR_TEST_STEP_ID.POETRY_INIT].output[1],
439439
},
440440
)
441441
],

airbyte-ci/connectors/pipelines/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "pipelines"
7-
version = "4.10.2"
7+
version = "4.10.3"
88
description = "Packaged maintained by the connector operations team to perform CI for connectors' pipelines"
99
authors = ["Airbyte <[email protected]>"]
1010

0 commit comments

Comments
 (0)