Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .github/workflows/cratedb-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
UV_SYSTEM_PYTHON: true

# https://docs.github.com/en/actions/using-containerized-services/about-service-containers
services:
Expand All @@ -50,25 +49,21 @@ jobs:
- name: Acquire sources
uses: actions/checkout@v6

- name: Install Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
cache-dependency-glob: |
pyproject.toml
activate-environment: 'true'
cache-suffix: ${{ matrix.python-version }}
enable-cache: true
version: "latest"
python-version: ${{ matrix.python-version }}

- name: Set up project
run: |

# Install sponge.
sudo apt-get install moreutils
# More
uv pip install pip

# Install package in editable mode.
uv pip install --editable='.[full,test,develop]'
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/dynamodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ on:
paths:
- '.github/workflows/dynamodb.yml'
- 'cratedb_toolkit/io/dynamodb/**'
- 'cratedb_toolkit/testing/testcontainers/localstack.py'
- 'cratedb_toolkit/testing/testcontainers/util.py'
- 'tests/io/dynamodb/**'
- 'pyproject.toml'
push:
branches: [ main ]
paths:
- '.github/workflows/dynamodb.yml'
- 'cratedb_toolkit/io/dynamodb/**'
- 'cratedb_toolkit/testing/testcontainers/localstack.py'
Comment thread
coderabbitai[bot] marked this conversation as resolved.
- 'cratedb_toolkit/testing/testcontainers/util.py'
- 'tests/io/dynamodb/**'
- 'pyproject.toml'

Expand Down Expand Up @@ -48,7 +52,6 @@ jobs:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
LOCALSTACK_VERSION: ${{ matrix.localstack-version }}
UV_SYSTEM_PYTHON: true
# Do not tear down Testcontainers
TC_KEEPALIVE: true

Expand All @@ -62,19 +65,13 @@ jobs:
- name: Acquire sources
uses: actions/checkout@v6

- name: Install Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
cache-dependency-glob: |
pyproject.toml
activate-environment: 'true'
cache-suffix: ${{ matrix.python-version }}
enable-cache: true
version: "latest"
python-version: ${{ matrix.python-version }}

- name: Set up project
run: |
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/influxdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ on:
paths:
- '.github/workflows/influxdb.yml'
- 'cratedb_toolkit/io/influxdb/**'
- 'cratedb_toolkit/testing/testcontainers/influxdb2.py'
- 'cratedb_toolkit/testing/testcontainers/util.py'
- 'tests/io/influxdb/**'
- 'pyproject.toml'
push:
branches: [ main ]
paths:
- '.github/workflows/influxdb.yml'
- 'cratedb_toolkit/io/influxdb/**'
- 'cratedb_toolkit/testing/testcontainers/influxdb2.py'
Comment thread
coderabbitai[bot] marked this conversation as resolved.
- 'cratedb_toolkit/testing/testcontainers/util.py'
- 'tests/io/influxdb/**'
- 'pyproject.toml'

Expand Down Expand Up @@ -54,7 +58,6 @@ jobs:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
INFLUXDB_VERSION: ${{ matrix.influxdb-version }}
UV_SYSTEM_PYTHON: true
# Do not tear down Testcontainers
TC_KEEPALIVE: true

Expand All @@ -68,19 +71,13 @@ jobs:
- name: Acquire sources
uses: actions/checkout@v6

- name: Install Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
cache-dependency-glob: |
pyproject.toml
activate-environment: 'true'
cache-suffix: ${{ matrix.python-version }}
enable-cache: true
version: "latest"
python-version: ${{ matrix.python-version }}

- name: Set up project
run: |
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/kinesis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ on:
paths:
- '.github/workflows/kinesis.yml'
- 'cratedb_toolkit/io/kinesis/**'
- 'cratedb_toolkit/testing/testcontainers/localstack.py'
- 'cratedb_toolkit/testing/testcontainers/util.py'
- 'tests/io/kinesis/**'
- 'pyproject.toml'
push:
branches: [ main ]
paths:
- '.github/workflows/kinesis.yml'
- 'cratedb_toolkit/io/kinesis/**'
- 'cratedb_toolkit/testing/testcontainers/localstack.py'
- 'cratedb_toolkit/testing/testcontainers/util.py'
- 'tests/io/kinesis/**'
- 'pyproject.toml'

Expand All @@ -39,13 +43,14 @@ jobs:
os: ["ubuntu-latest"]
python-version: [
"3.10",
"3.13",
# TODO: Integration tests became flaky again. Let's investigate later.
# kinesis.exceptions.StreamDoesNotExist: Stream 'testdrive' does not exist
# "3.13",
Comment on lines -42 to +48
Copy link
Copy Markdown
Member Author

@amotl amotl Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We reported this or a related problem already. Apparently, it is coming back, now on Python 3.13? We think it is most probably related to our integration test setup and related timing changes by cleaning up the testcontainers rig recently. As the comment says: Let's investigate later.

/cc @hampsterx

]

env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
UV_SYSTEM_PYTHON: true
# Do not tear down Testcontainers
TC_KEEPALIVE: true

Expand All @@ -65,19 +70,13 @@ jobs:
- name: Acquire sources
uses: actions/checkout@v6

- name: Install Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
cache-dependency-glob: |
pyproject.toml
activate-environment: 'true'
cache-suffix: ${{ matrix.python-version }}
enable-cache: true
version: "latest"
python-version: ${{ matrix.python-version }}

- name: Set up project
run: |
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
UV_SYSTEM_PYTHON: true
# Do not tear down Testcontainers
TC_KEEPALIVE: true

Expand All @@ -53,25 +52,21 @@ jobs:
- name: Acquire sources
uses: actions/checkout@v6

- name: Install Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
cache-dependency-glob: |
pyproject.toml
activate-environment: 'true'
cache-suffix: ${{ matrix.python-version }}
enable-cache: true
version: "latest"
python-version: ${{ matrix.python-version }}

- name: Set up project
run: |

# Install sponge.
sudo apt-get install moreutils
# More
uv pip install pip

# Install package in editable mode.
uv pip install --editable='.[full,test,develop]'
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/mongodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ on:
paths:
- '.github/workflows/mongodb.yml'
- 'cratedb_toolkit/io/mongodb/**'
- 'cratedb_toolkit/testing/testcontainers/mongodb.py'
Comment thread
coderabbitai[bot] marked this conversation as resolved.
- 'cratedb_toolkit/testing/testcontainers/util.py'
- 'tests/io/mongodb/**'
- 'pyproject.toml'
push:
branches: [ main ]
paths:
- '.github/workflows/mongodb.yml'
- 'cratedb_toolkit/io/mongodb/**'
- 'cratedb_toolkit/testing/testcontainers/mongodb.py'
- 'cratedb_toolkit/testing/testcontainers/util.py'
- 'tests/io/mongodb/**'
- 'pyproject.toml'

Expand Down Expand Up @@ -56,7 +60,6 @@ jobs:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
MONGODB_VERSION: ${{ matrix.mongodb-version }}
UV_SYSTEM_PYTHON: true
# Do not tear down Testcontainers
TC_KEEPALIVE: true

Expand All @@ -66,19 +69,13 @@ jobs:
- name: Acquire sources
uses: actions/checkout@v6

- name: Install Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
cache-dependency-glob: |
pyproject.toml
activate-environment: 'true'
cache-suffix: ${{ matrix.python-version }}
enable-cache: true
version: "latest"
python-version: ${{ matrix.python-version }}

- name: Set up project
run: |
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ on:
paths:
- '.github/workflows/postgresql.yml'
- 'cratedb_toolkit/io/ingestr/**'
- 'cratedb_toolkit/testing/testcontainers/postgresql.py'
- 'cratedb_toolkit/testing/testcontainers/util.py'
- 'tests/io/ingestr/*postgresql*'
- 'pyproject.toml'
push:
branches: [ main ]
paths:
- '.github/workflows/postgresql.yml'
- 'cratedb_toolkit/io/ingestr/**'
- 'cratedb_toolkit/testing/testcontainers/postgresql.py'
- 'cratedb_toolkit/testing/testcontainers/util.py'
- 'tests/io/ingestr/*postgresql*'
- 'pyproject.toml'

Expand Down Expand Up @@ -53,7 +57,6 @@ jobs:
PYTHON: ${{ matrix.python-version }}
CRATEDB_VERSION: ${{ matrix.cratedb-version }}
POSTGRESQL_VERSION: ${{ matrix.postgresql-version }}
UV_SYSTEM_PYTHON: true
TC_KEEPALIVE: true # Do not tear down Testcontainers
INGESTR_DISABLE_TELEMETRY: true

Expand Down Expand Up @@ -82,19 +85,13 @@ jobs:
- name: Acquire sources
uses: actions/checkout@v6

- name: Install Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
cache-dependency-glob: |
pyproject.toml
activate-environment: 'true'
cache-suffix: ${{ matrix.python-version }}
enable-cache: true
version: "latest"
python-version: ${{ matrix.python-version }}

- name: Set up project
run: |
Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/pymongo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
UV_SYSTEM_PYTHON: true
# Do not tear down Testcontainers
TC_KEEPALIVE: true

Expand All @@ -63,24 +62,18 @@ jobs:
- name: Acquire sources
uses: actions/checkout@v6

- name: Install Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
cache-dependency-glob: |
pyproject.toml
activate-environment: 'true'
cache-suffix: ${{ matrix.python-version }}
enable-cache: true
version: "latest"
python-version: ${{ matrix.python-version }}

- name: Set up project
run: |
# Install package in editable mode.
uv pip install --editable=.[pymongo,test]
uv pip install --editable='.[pymongo,test]'

- name: Run software tests
run: |
Expand Down
14 changes: 2 additions & 12 deletions .github/workflows/release-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ jobs:
# - https://arm-software.github.io/AVH/main/infrastructure/html/avh_gh.html
# - via: https://github.com/actions/partner-runner-images

env:
UV_SYSTEM_PYTHON: true

steps:

- name: Acquire sources
Expand All @@ -50,22 +47,15 @@ jobs:
fetch-depth: 0
fetch-tags: true

- name: Install Python
uses: actions/setup-python@v6
with:
python-version: '3.13'

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
cache-dependency-glob: |
pyproject.toml
activate-environment: 'true'
enable-cache: true
version: "latest"
python-version: '3.13'
Comment thread
amotl marked this conversation as resolved.

- name: Set up project
run: |

# Install package in editable mode.
uv pip install --editable='.[cfr,release-cfr]'

Expand Down
Loading