Skip to content

Commit 9849f64

Browse files
whummerclaude
andcommitted
fix: resolve CI failures in TypeDB, WireMock, and Miniflare extensions
- typedb: update DriverOptions call to use new DriverTlsConfig.disabled() API (typedb-driver 3.8+ replaced is_tls_enabled kwarg with DriverTlsConfig object) - wiremock: pin urllib3<2 in Lambda requirements to avoid Python 3.9 incompatibility (urllib3 2.x uses bytes|str union syntax which requires Python 3.10+) - miniflare: install libvirt-dev system package before pip install in CI (localstack-ext now depends on libvirt-python which requires the system library) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f5334c4 commit 9849f64

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/miniflare.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
3232
run: |
3333
docker pull localstack/localstack-pro &
34+
sudo apt-get install -y libvirt-dev
3435
pip install localstack localstack-ext
3536
3637
branchName=${GITHUB_HEAD_REF##*/}

typedb/tests/test_extension.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import requests
22
import httpx
33
from localstack.utils.strings import short_uid
4-
from typedb.driver import TypeDB, Credentials, DriverOptions, TransactionType
4+
from typedb.driver import TypeDB, Credentials, DriverOptions, DriverTlsConfig, TransactionType
55

66

77
def test_connect_to_db_via_http_api():
@@ -46,7 +46,7 @@ def test_connect_to_db_via_grpc_endpoint():
4646
driver_cfg = TypeDB.driver(
4747
server_host,
4848
Credentials("admin", "password"),
49-
DriverOptions(is_tls_enabled=False),
49+
DriverOptions(DriverTlsConfig.disabled()),
5050
)
5151
with driver_cfg as driver:
5252
if driver.databases.contains(db_name):
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
requests==2.31.0
2+
urllib3<2

0 commit comments

Comments
 (0)