diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index f80c92b..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,62 +0,0 @@ -version: 2 - -updates: - - package-ecosystem: "pip" - directory: "/" - schedule: - interval: "weekly" - open-pull-requests-limit: 5 - groups: - dbt: - patterns: - - "dbt-*" - - "dbt_*" - python-deps: - patterns: - - "*" - exclude-patterns: - - "duckdb" - - "dbt-sqlserver" - - "dbt-*" - - "dbt_*" - ignore: - # Pinned in requirements.in — see CLAUDE.md gotcha #2 (mssql community - # extension only publishes for 1.5.1 across the three target platforms). - - dependency-name: "duckdb" - # Pinned to ==1.9.0 — see CLAUDE.md gotcha #13 (uv otherwise resolves - # 1.3.1, which crashes at module-load under dbt-core 1.11+). - - dependency-name: "dbt-sqlserver" - - - package-ecosystem: "docker" - directory: "/" - schedule: - interval: "weekly" - open-pull-requests-limit: 5 - ignore: - # Project pins Python 3.12 in Makefile + requirements.txt; a 3.13/3.14 - # base-image bump would diverge from host venvs. Allow minor/patch only. - - dependency-name: "python" - update-types: ["version-update:semver-major"] - - - package-ecosystem: "docker-compose" - directory: "/" - schedule: - interval: "weekly" - open-pull-requests-limit: 5 - ignore: - # mssql/server major bumps (e.g. 2022 → 2025) are not validated against - # the current dbt-sqlserver==1.9.0 / Flyway 10.22.0 combination. Allow - # minor/patch only; bump majors deliberately when ready. - - dependency-name: "mcr.microsoft.com/mssql/server" - update-types: ["version-update:semver-major"] - - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - open-pull-requests-limit: 5 - - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: "weekly" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c76bb0..ab37296 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: name: Lint (sqlfluff + black) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - uses: astral-sh/setup-uv@v7 with: @@ -39,7 +39,7 @@ jobs: name: dbt parse (duckdb target) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - uses: astral-sh/setup-uv@v7 with: @@ -63,7 +63,7 @@ jobs: name: Docker image build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - uses: docker/setup-buildx-action@v4 diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..19eead6 --- /dev/null +++ b/renovate.json @@ -0,0 +1,60 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended"], + "schedule": ["before 6am on monday"], + "timezone": "Europe/Stockholm", + "prConcurrentLimit": 5, + "packageRules": [ + { + "description": "PIN, carried over from .github/dependabot.yml's `ignore` list, reason unchanged: pinned in requirements.in -- see CLAUDE.md gotcha #2 (the mssql community extension only publishes for 1.5.x across the three target platforms). Do not let a bot move this; bump it in requirements.in deliberately after re-probing the extension matrix.", + "matchPackageNames": ["duckdb"], + "enabled": false + }, + { + "description": "PIN, carried over from dependabot's `ignore` list, reason unchanged: pinned to ==1.9.0 -- see CLAUDE.md gotcha #13 (uv otherwise resolves 1.3.1, which crashes at module-load under dbt-core 1.11+).", + "matchPackageNames": ["dbt-sqlserver"], + "enabled": false + }, + { + "description": "Was the pip 'dbt' group (patterns dbt-*, dbt_*), weekly, limit 5. dbt-sqlserver is excluded by the disabling rule above.", + "matchManagers": ["pip_requirements", "pip-compile", "pep621"], + "matchPackageNames": ["dbt-*", "dbt_*"], + "groupName": "dbt" + }, + { + "description": "Was the pip 'python-deps' group (patterns *, excluding duckdb, dbt-sqlserver, dbt-*, dbt_*), weekly, limit 5.", + "matchManagers": ["pip_requirements", "pip-compile", "pep621"], + "matchPackageNames": ["*", "!duckdb", "!dbt-sqlserver", "!dbt-*", "!dbt_*"], + "groupName": "python-deps" + }, + { + "description": "CAP, carried over from the docker ecosystem's `ignore` (python, semver-major), reason unchanged: the project pins Python 3.12 in Makefile + requirements.txt; a 3.13/3.14 base-image bump would diverge from host venvs. Minor and patch still flow.", + "matchManagers": ["dockerfile", "docker-compose"], + "matchPackageNames": ["python"], + "matchUpdateTypes": ["major"], + "enabled": false + }, + { + "description": "CAP, carried over from the docker-compose ecosystem's `ignore` (mcr.microsoft.com/mssql/server, semver-major), reason unchanged: mssql/server major bumps (e.g. 2022 -> 2025) are not validated against the current dbt-sqlserver==1.9.0 / Flyway 10.22.0 combination. Bump majors deliberately when ready.", + "matchManagers": ["dockerfile", "docker-compose"], + "matchPackageNames": ["mcr.microsoft.com/mssql/server"], + "matchUpdateTypes": ["major"], + "enabled": false + }, + { + "description": "Was the docker and docker-compose ecosystems, weekly, limit 5 each. The two caps above still apply.", + "matchManagers": ["dockerfile", "docker-compose"], + "groupName": "docker images" + }, + { + "description": "Was the github-actions ecosystem, weekly, limit 5. Grouped into one PR.", + "matchManagers": ["github-actions"], + "groupName": "github actions" + }, + { + "description": "Was the devcontainers ecosystem, weekly.", + "matchManagers": ["devcontainer"], + "groupName": "devcontainer" + } + ] +} diff --git a/requirements.txt b/requirements.txt index 52a53fe..df569af 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19,9 +19,9 @@ babel==2.18.0 # via agate black==25.12.0 # via -r requirements.in -boto3==1.43.6 +boto3==1.43.56 # via -r requirements.in -botocore==1.43.6 +botocore==1.43.56 # via # boto3 # s3transfer @@ -96,6 +96,8 @@ duckdb==1.5.2 # via # -r requirements.in # dbt-duckdb +greenlet==3.5.4 + # via sqlalchemy idna==3.14 # via requests importlib-metadata==8.9.0 @@ -128,7 +130,7 @@ leather==0.4.1 # via agate markupsafe==3.0.3 # via jinja2 -mashumaro==3.14 +mashumaro[msgpack]==3.14 # via # dbt-adapters # dbt-common @@ -161,7 +163,7 @@ packaging==26.2 # dbt-core # plotly # pytest -pandas==3.0.3 +pandas==3.0.5 # via -r requirements.in parsedatetime==2.6 # via agate @@ -175,15 +177,15 @@ platformdirs==4.9.6 # via # black # sqlfluff -plotly==6.7.0 +plotly==6.9.0 # via -r requirements.in pluggy==1.6.0 # via # diff-cover # pytest -polars==1.40.1 +polars==1.43.0 # via -r requirements.in -polars-runtime-32==1.40.1 +polars-runtime-32==1.43.0 # via polars protobuf==6.33.6 # via @@ -191,7 +193,7 @@ protobuf==6.33.6 # dbt-common # dbt-core # dbt-protos -pyarrow==24.0.0 +pyarrow==25.0.0 # via -r requirements.in pycparser==3.0 # via cffi @@ -205,16 +207,16 @@ pygments==2.20.0 # via # diff-cover # pytest -pyjwt==2.12.1 - # via msal +pyjwt[crypto]==2.12.1 + # via + # msal + # pyjwt pyodbc==5.1.0 # via # -r requirements.in # dbt-fabric -pytest==9.0.3 - # via - # -r requirements.in - # sqlfluff +pytest==9.1.1 + # via -r requirements.in python-dateutil==2.9.0.post0 # via # botocore @@ -243,7 +245,7 @@ referencing==0.37.0 # jsonschema-specifications regex==2026.5.9 # via sqlfluff -requests==2.34.0 +requests==2.34.2 # via # -r requirements.in # azure-core @@ -255,15 +257,15 @@ rpds-py==0.30.0 # via # jsonschema # referencing -s3transfer==0.17.0 +s3transfer==0.19.2 # via boto3 six==1.17.0 # via python-dateutil snowplow-tracker==1.1.0 # via dbt-core -sqlalchemy==2.0.49 +sqlalchemy==2.0.51 # via -r requirements.in -sqlfluff==4.1.0 +sqlfluff==4.2.2 # via -r requirements.in sqlparse==0.5.5 # via dbt-core @@ -284,7 +286,6 @@ typing-extensions==4.15.0 # mashumaro # pydantic # pydantic-core - # referencing # snowplow-tracker # sqlalchemy # typing-inspection