From aadfaf8453351a0357c3fc3fbfa2d5538debbcc4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 30 Oct 2026 16:29:14 +0000 Subject: [PATCH] Update dependency git+https://github.com/OCA/oca-addons-repo-template to v1.48 --- .copier-answers.yml | 3 ++- .github/workflows/pre-commit.yml | 10 +++++++--- .github/workflows/stale.yml | 4 ++-- .github/workflows/test.yml | 12 ++++++++---- .pre-commit-config.yaml | 2 +- .pylintrc | 6 +++++- .pylintrc-mandatory | 4 ++++ checklog-odoo.cfg | 1 + renovate.json | 6 ++++++ 9 files changed, 36 insertions(+), 12 deletions(-) create mode 100644 renovate.json diff --git a/.copier-answers.yml b/.copier-answers.yml index 7306f275c9..288f56ce66 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.42 +_commit: v1.48 _src_path: git+https://github.com/OCA/oca-addons-repo-template additional_ruff_rules: [] convert_readme_fragments_to_markdown: true @@ -16,6 +16,7 @@ odoo_test_flavor: Both odoo_version: 18.0 org_name: Odoo Community Association (OCA) org_slug: OCA +postgres_image: '' rebel_module_groups: [] repo_description: website repo_name: website diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 72aac6e1e3..a16fe7e49b 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -10,19 +10,23 @@ on: - "18.0" - "18.0-ocabot-*" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: pre-commit: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: "3.12" cache: 'pip' cache-dependency-path: '.pre-commit-config.yaml' - name: Get python version run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV - - uses: actions/cache@v4 + - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/.cache/pre-commit key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index fa17fcd4e8..87c9da5adf 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Stale PRs and issues policy - uses: actions/stale@v9 + uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} # General settings. @@ -48,7 +48,7 @@ jobs: # * Issues that are pending more information # * Except Issues marked as "no stale" - name: Needs more information stale issues policy - uses: actions/stale@v9 + uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} ascending: true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 97ed5dfd4e..3132dff394 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,12 +9,16 @@ on: - "18.0" - "18.0-ocabot-*" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: unreleased-deps: runs-on: ubuntu-latest name: Detect unreleased dependencies steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - run: | for reqfile in requirements.txt test-requirements.txt ; do if [ -f ${reqfile} ] ; then @@ -52,7 +56,7 @@ jobs: env: OCA_ENABLE_CHECKLOG_ODOO: "1" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Install addons and dependencies @@ -66,13 +70,13 @@ jobs: - name: Run tests run: oca_run_tests - name: Upload screenshots from JS tests - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 if: ${{ failure() }} with: name: Screenshots of failed JS tests - ${{ matrix.name }}${{ join(matrix.include) }} path: /tmp/odoo_tests/${{ env.PGDATABASE }} if-no-files-found: ignore - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 with: token: ${{ secrets.CODECOV_TOKEN }} - name: Update .pot files diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7057e7cb32..0f58dd3913 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -48,7 +48,7 @@ repos: hooks: - id: whool-init - repo: https://github.com/oca/maintainer-tools - rev: b89f767503be6ab2b11e4f50a7557cb20066e667 + rev: 31bdbd8e4cb94be6534f0e82b1cafb84a455f671 hooks: # update the NOT INSTALLABLE ADDONS section above - id: oca-update-pre-commit-excluded-addons diff --git a/.pylintrc b/.pylintrc index 197cb67370..914fd235d9 100644 --- a/.pylintrc +++ b/.pylintrc @@ -4,6 +4,9 @@ load-plugins=pylint_odoo score=n +[IMPORTS] +deprecated-modules=pdb,pudb,ipdb,bs4 + [ODOOLINT] readme-template-url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst" manifest-required-authors=Odoo Community Association (OCA) @@ -41,6 +44,7 @@ enable=anomalous-backslash-in-string, assignment-from-none, attribute-deprecated, dangerous-default-value, + deprecated-module, development-status-allowed, duplicate-key, eval-used, @@ -100,7 +104,7 @@ enable=anomalous-backslash-in-string, website-manifest-key-not-valid-uri, external-request-timeout, missing-manifest-dependency, - too-complex,, + too-complex, create-user-wo-reset-password, dangerous-filter-wo-user, file-not-used, diff --git a/.pylintrc-mandatory b/.pylintrc-mandatory index 73674c04d4..e4fd970b0d 100644 --- a/.pylintrc-mandatory +++ b/.pylintrc-mandatory @@ -3,6 +3,9 @@ load-plugins=pylint_odoo score=n +[IMPORTS] +deprecated-modules=pdb,pudb,ipdb,bs4 + [ODOOLINT] readme-template-url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst" manifest-required-authors=Odoo Community Association (OCA) @@ -33,6 +36,7 @@ enable=anomalous-backslash-in-string, assignment-from-none, attribute-deprecated, dangerous-default-value, + deprecated-module, development-status-allowed, duplicate-key, eval-used, diff --git a/checklog-odoo.cfg b/checklog-odoo.cfg index 58d43aa666..0cc7d64482 100644 --- a/checklog-odoo.cfg +++ b/checklog-odoo.cfg @@ -3,3 +3,4 @@ ignore= WARNING.* 0 failed, 0 error\(s\).* WARNING .* Killing chrome descendants-or-self .* WARNING.* Missing widget: res_partner_many2one for field of type many2one.* + (?ms)WARNING.* odoo.addons.base.models.assetsbundle: Error: argument `[$]color` of `rgba[(][$]color, [$]alpha[)]` must be a color.*odoo/addons/web/static/lib/bootstrap/scss/mixins/_buttons.scss, in mixin `button-outline-variant`.* diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000000..bd6c2a4f6f --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended", ":disableDependencyDashboard"], + "baseBranchPatterns": ["19.0", "18.0", "17.0", "16.0", "15.0"], + "enabledManagers": ["copier"] +}