Skip to content

Commit e10f768

Browse files
authored
workaround for normalizations (#28451)
1 parent 8099c25 commit e10f768

File tree

9 files changed

+45
-0
lines changed

9 files changed

+45
-0
lines changed

airbyte-integrations/bases/base-normalization/Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ COPY dbt-project-template/ ./dbt-template/
1515

1616
# Install python dependencies
1717
WORKDIR /airbyte/base_python_structs
18+
19+
# workaround for https://github.com/yaml/pyyaml/issues/601
20+
# this should be fixed in the airbyte/base-airbyte-protocol-python image
21+
RUN pip install "Cython<3.0" "pyyaml==5.4" --no-build-isolation
22+
1823
RUN pip install .
1924

2025
WORKDIR /airbyte/normalization_code

airbyte-integrations/bases/base-normalization/clickhouse.Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ COPY dbt-project-template/ ./dbt-template/
1414

1515
# Install python dependencies
1616
WORKDIR /airbyte/base_python_structs
17+
18+
# workaround for https://github.com/yaml/pyyaml/issues/601
19+
# this should be fixed in the airbyte/base-airbyte-protocol-python image
20+
RUN pip install "Cython<3.0" "pyyaml==5.4" --no-build-isolation
21+
1722
RUN pip install .
1823

1924
WORKDIR /airbyte/normalization_code

airbyte-integrations/bases/base-normalization/duckdb.Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ COPY dbt-project-template/ ./dbt-template/
1515

1616
# Install python dependencies
1717
WORKDIR /airbyte/base_python_structs
18+
19+
# workaround for https://github.com/yaml/pyyaml/issues/601
20+
# this should be fixed in the airbyte/base-airbyte-protocol-python image
21+
RUN pip install "Cython<3.0" "pyyaml==5.4" --no-build-isolation
22+
1823
RUN pip install .
1924

2025
WORKDIR /airbyte/normalization_code

airbyte-integrations/bases/base-normalization/mssql.Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ COPY dbt-project-template-mssql/* ./dbt-template/
4949

5050
# Install python dependencies
5151
WORKDIR /airbyte/base_python_structs
52+
53+
# workaround for https://github.com/yaml/pyyaml/issues/601
54+
# this should be fixed in the airbyte/base-airbyte-protocol-python image
55+
RUN pip install "Cython<3.0" "pyyaml==5.4" --no-build-isolation
56+
5257
RUN pip install .
5358

5459
WORKDIR /airbyte/normalization_code

airbyte-integrations/bases/base-normalization/mysql.Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ COPY dbt-project-template-mysql/* ./dbt-template/
1616

1717
# Install python dependencies
1818
WORKDIR /airbyte/base_python_structs
19+
20+
# workaround for https://github.com/yaml/pyyaml/issues/601
21+
# this should be fixed in the airbyte/base-airbyte-protocol-python image
22+
RUN pip install "Cython<3.0" "pyyaml==5.4" --no-build-isolation
23+
1924
RUN pip install .
2025

2126
WORKDIR /airbyte/normalization_code

airbyte-integrations/bases/base-normalization/oracle.Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ COPY dbt-project-template/ ./dbt-template/
3434
COPY dbt-project-template-oracle/* ./dbt-template/
3535

3636
WORKDIR /airbyte/base_python_structs
37+
38+
# workaround for https://github.com/yaml/pyyaml/issues/601
39+
# this should be fixed in the airbyte/base-airbyte-protocol-python image
40+
RUN pip install "Cython<3.0" "pyyaml==5.4" --no-build-isolation
41+
3742
RUN pip install .
3843

3944
WORKDIR /airbyte/normalization_code

airbyte-integrations/bases/base-normalization/redshift.Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ COPY dbt-project-template-redshift/* ./dbt-template/
1616

1717
# Install python dependencies
1818
WORKDIR /airbyte/base_python_structs
19+
20+
# workaround for https://github.com/yaml/pyyaml/issues/601
21+
# this should be fixed in the airbyte/base-airbyte-protocol-python image
22+
RUN pip install "Cython<3.0" "pyyaml==5.4" --no-build-isolation
23+
1924
RUN pip install .
2025

2126
WORKDIR /airbyte/normalization_code

airbyte-integrations/bases/base-normalization/snowflake.Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ COPY dbt-project-template-snowflake/* ./dbt-template/
1616

1717
# Install python dependencies
1818
WORKDIR /airbyte/base_python_structs
19+
20+
# workaround for https://github.com/yaml/pyyaml/issues/601
21+
# this should be fixed in the airbyte/base-airbyte-protocol-python image
22+
RUN pip install "Cython<3.0" "pyyaml==5.4" --no-build-isolation
23+
1924
RUN pip install .
2025

2126
WORKDIR /airbyte/normalization_code

airbyte-integrations/bases/base-normalization/tidb.Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ COPY dbt-project-template/ ./dbt-template/
1515

1616
# Install python dependencies
1717
WORKDIR /airbyte/base_python_structs
18+
19+
# workaround for https://github.com/yaml/pyyaml/issues/601
20+
# this should be fixed in the airbyte/base-airbyte-protocol-python image
21+
RUN pip install "Cython<3.0" "pyyaml==5.4" --no-build-isolation
22+
1823
RUN pip install .
1924

2025
WORKDIR /airbyte/normalization_code

0 commit comments

Comments
 (0)