From be5f3e1d9586e0d404160541bfdeb04b6ec09fc5 Mon Sep 17 00:00:00 2001 From: JulesHuisman Date: Wed, 17 May 2023 09:38:57 +0200 Subject: [PATCH 1/4] Increased python version range --- .github/workflows/test.yaml | 13 +++++++++++-- pyproject.toml | 6 +++--- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 617e360..fcac4a9 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -6,6 +6,15 @@ jobs: test: runs-on: ubuntu-latest timeout-minutes: 10 + strategy: + matrix: + python: + - 3.8 + - 3.9 + - 3.10 + - 3.11 + meltano: + - ">=2,<3" steps: - name: Check out repository code @@ -14,7 +23,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4.3.0 with: - python-version: 3.8 + python-version: ${{ matrix.python }} architecture: x64 cache: "pip" cache-dependency-path: "poetry.lock" @@ -26,7 +35,7 @@ jobs: run: poetry install - name: Install Meltano - run: pipx install meltano==2.12.0 + run: pipx install meltano==${{ matrix.meltano }} - name: Install Meltano plugins run: | diff --git a/pyproject.toml b/pyproject.toml index 1dcf972..0f89a36 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dagster-meltano" -version = "1.2.1" +version = "1.2.2" description = "A dagster plugin that allows you to run your Meltano project inside Dagster." authors = ["Jules Huisman"] license = "Apache 2.0" @@ -10,8 +10,8 @@ packages = [ ] [tool.poetry.dependencies] -python = "<3.11,>=3.8" -dagster = ">=1.0" +python = ">=3.8,<3.12" +dagster = ">=1.0,<2" dagster-shell = ">=0,<1" [tool.poetry.group.dev.dependencies] From b726a75d4f259c892a3ee5042d18f217646079f3 Mon Sep 17 00:00:00 2001 From: JulesHuisman Date: Wed, 17 May 2023 09:40:18 +0200 Subject: [PATCH 2/4] Versions in strings --- .github/workflows/test.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index fcac4a9..b88130f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,10 +9,10 @@ jobs: strategy: matrix: python: - - 3.8 - - 3.9 - - 3.10 - - 3.11 + - "3.8" + - "3.9" + - "3.10" + - "3.11" meltano: - ">=2,<3" From 95bffbc1d29de0840b2575e54ce9021121f5356d Mon Sep 17 00:00:00 2001 From: JulesHuisman Date: Wed, 17 May 2023 09:41:21 +0200 Subject: [PATCH 3/4] Fixed python version workflow --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b88130f..5a270b2 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -35,7 +35,7 @@ jobs: run: poetry install - name: Install Meltano - run: pipx install meltano==${{ matrix.meltano }} + run: pipx install meltano${{ matrix.meltano }} - name: Install Meltano plugins run: | From 39c7906778e531bba3666771a0664335129c5893 Mon Sep 17 00:00:00 2001 From: JulesHuisman Date: Wed, 17 May 2023 09:44:10 +0200 Subject: [PATCH 4/4] Removed fail fast --- .github/workflows/test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5a270b2..4721578 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -7,6 +7,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 strategy: + fail-fast: false matrix: python: - "3.8" @@ -35,7 +36,7 @@ jobs: run: poetry install - name: Install Meltano - run: pipx install meltano${{ matrix.meltano }} + run: pipx install 'meltano${{ matrix.meltano }}' - name: Install Meltano plugins run: |