Open hongbo-miao opened 1 year ago
As a workaround, split the projects by using additionalBranchPrefix={{parentDir}}
i don't think this is a renovate bug. renovate doesn't support multiple different constraints inside one PR. it's a renovate limitation.
so we can probably open a feature request to support different tool version constraints inside a single repo.
@rarkins WDYT?
Thanks @rarkins I am aware of this flag. Thanks for sharing! (Maybe I should use it, however, then my repo will have many times of pull requests which takes more time/resource for GitHub Action runs) Hi @viceice I agree it may be a new feature request. I had one similar "feature request" to Node.js before at https://github.com/renovatebot/renovate/issues/18885 😃
I ended up following @rarkins 's recommendation.
This will make Renovate create more pull requests, however, I also met case that two projects use same dependency, but one has to stay at a low version temporally. It does fix that issue too. 😃
My current renovate.json5
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
'config:base',
],
lockFileMaintenance: {
enabled: true,
commitMessageExtra: '({{packageFile}})',
},
additionalBranchPrefix: '{{parentDir}}-',
semanticCommitScope: '{{#if parentDir}}{{parentDir}}{{else}}deps{{/if}}',
}
So feel free to close this ticket, or leave it open in case someone else need this in future. Thanks!
Reproduction forked to https://github.com/renovate-reproductions/20615
Hmm, just add a new scenario I met which is because of same thing 😃 I was thinking to update all lock files at once, but also got same issue https://github.com/Hongbo-Miao/hongbomiao.com/pull/8704#issuecomment-1547478948
How are you running Renovate?
Mend Renovate hosted app on github.com
Was this something which used to work for you, and then stopped?
It never worked
Describe the bug
This is a mono repo: https://github.com/Hongbo-Miao/bug-renovate-poetry-python-version
Renovate uses same Python version for both projects.
Each projects should use its own Python version defined in pyproject.toml.
In this case,
Relevant debug logs
Logs
``` DEBUG: No dangling containers to remove INFO: Repository started { "renovateVersion": "34.152.4" } DEBUG: Using localDir: /mnt/renovate/gh/Hongbo-Miao/bug-renovate-poetry-python-version DEBUG: PackageFiles.clear() - Package files deleted DEBUG: initRepo("Hongbo-Miao/bug-renovate-poetry-python-version") DEBUG: Using queue: host=api.github.com, concurrency=10 DEBUG: Hongbo-Miao/bug-renovate-poetry-python-version default branch = main DEBUG: Using app token for git init DEBUG: RepoCacheBase.load() - expecting data of type 'string' received 'object' instead - skipping DEBUG: Resetting npmrc DEBUG: checkOnboarding() DEBUG: isOnboarded() DEBUG: findFile(renovate.json) DEBUG: Initializing git repository into /mnt/renovate/gh/Hongbo-Miao/bug-renovate-poetry-python-version DEBUG: Performing blobless clone DEBUG: git clone completed { "durationMs": 906 } DEBUG: latest repository commit { "latestCommit": { "hash": "61ed04784dcaa32656e6df5588f6796df4b1e292", "date": "2023-02-25T01:40:37+09:00", "message": "docs", "refs": "HEAD -> main, origin/main, origin/HEAD", "body": "", "author_name": "Hongbo Miao", "author_email": "3375461+Hongbo-Miao@users.noreply.github.com" } } DEBUG: findFile(renovate.json5) DEBUG: Config file exists, fileName: renovate.json5 DEBUG: Retrieving issueList DEBUG: Retrieved 0 issues DEBUG: Repo is onboarded DEBUG: Found renovate.json5 config file DEBUG: Repository config { "fileName": "renovate.json5", "config": { "extends": [ "config:base" ] } } DEBUG: migrateAndValidate() DEBUG: No config migration necessary DEBUG: massaged config { "config": { "extends": [ "github>whitesource/merge-confidence:beta", "config:base" ] } } DEBUG: migrated config { "config": { "extends": [ "github>whitesource/merge-confidence:beta", "config:base" ] } } DEBUG: Setting hostRules from config DEBUG: Found repo ignorePaths { "ignorePaths": [ "**/node_modules/**", "**/bower_components/**", "**/vendor/**", "**/examples/**", "**/__tests__/**", "**/test/**", "**/tests/**", "**/__fixtures__/**" ] } DEBUG: Using queue: host=api.github.com, concurrency=10 DEBUG: No vulnerability alerts found DEBUG: No vulnerability alerts found DEBUG: findIssue(Dependency Dashboard) DEBUG: No baseBranches DEBUG: extract() DEBUG: Setting current branch to main DEBUG: latest commit { "branchName": "main", "latestCommitDate": "2023-02-25T01:40:37+09:00" } DEBUG: Using file match: (^|/)tasks/[^/]+\.ya?ml$ for manager ansible DEBUG: Using file match: (^|/)requirements\.ya?ml$ for manager ansible-galaxy DEBUG: Using file match: (^|/)galaxy\.ya?ml$ for manager ansible-galaxy DEBUG: Using file match: (^|/)\.tool-versions$ for manager asdf DEBUG: Using file match: azure.*pipelines?.*\.ya?ml$ for manager azure-pipelines DEBUG: Using file match: (^|/)batect(-bundle)?\.yml$ for manager batect DEBUG: Using file match: (^|/)batect$ for manager batect-wrapper DEBUG: Using file match: (^|/)WORKSPACE(|\.bazel)$ for manager bazel DEBUG: Using file match: \.bzl$ for manager bazel DEBUG: Using file match: (^|\/)\.bazelversion$ for manager bazelisk DEBUG: Using file match: (^|/)\.?bitbucket-pipelines\.ya?ml$ for manager bitbucket-pipelines DEBUG: Using file match: buildkite\.ya?ml for manager buildkite DEBUG: Using file match: \.buildkite/.+\.ya?ml$ for manager buildkite DEBUG: Using file match: (^|/)Gemfile$ for manager bundler DEBUG: Using file match: \.cake$ for manager cake DEBUG: Using file match: (^|/)Cargo\.toml$ for manager cargo DEBUG: Using file match: (^|/)\.circleci/config\.yml$ for manager circleci DEBUG: Using file match: (^|/)cloudbuild\.ya?ml for manager cloudbuild DEBUG: Using file match: (^|/)Podfile$ for manager cocoapods DEBUG: Using file match: (^|/)([\w-]*)composer\.json$ for manager composer DEBUG: Using file match: (^|/)conanfile\.(txt|py)$ for manager conan DEBUG: Using file match: (^|/)(?:deps|bb)\.edn$ for manager deps-edn DEBUG: Using file match: (^|/)(?:docker-)?compose[^/]*\.ya?ml$ for manager docker-compose DEBUG: Using file match: (^|/|\.)Dockerfile$ for manager dockerfile DEBUG: Using file match: (^|/)Dockerfile[^/]*$ for manager dockerfile DEBUG: Using file match: (^|/)\.drone\.yml$ for manager droneci DEBUG: Using file match: (^|/)fleet\.ya?ml for manager fleet DEBUG: Using file match: (^|\/)flux-system\/(?:.+\/)?gotk-components\.yaml$ for manager flux DEBUG: Using file match: (^|\/)\.fvm\/fvm_config\.json$ for manager fvm DEBUG: Using file match: (^|/)\.gitmodules$ for manager git-submodules DEBUG: Using file match: ^(workflow-templates|\.github\/workflows)\/[^/]+\.ya?ml$ for manager github-actions DEBUG: Using file match: (^|\/)action\.ya?ml$ for manager github-actions DEBUG: Using file match: \.gitlab-ci\.yml$ for manager gitlabci DEBUG: Using file match: \.gitlab-ci\.yml$ for manager gitlabci-include DEBUG: Using file match: (^|/)go\.mod$ for manager gomod DEBUG: Using file match: \.gradle(\.kts)?$ for manager gradle DEBUG: Using file match: (^|\/)gradle\.properties$ for manager gradle DEBUG: Using file match: (^|\/)gradle\/.+\.toml$ for manager gradle DEBUG: Using file match: \.versions\.toml$ for manager gradle DEBUG: Using file match: (^|\/)versions.props$ for manager gradle DEBUG: Using file match: (^|\/)versions.lock$ for manager gradle DEBUG: Using file match: (^|/)gradle/wrapper/gradle-wrapper\.properties$ for manager gradle-wrapper DEBUG: Using file match: (^|/)requirements\.yaml$ for manager helm-requirements DEBUG: Using file match: (^|/)values\.yaml$ for manager helm-values DEBUG: Using file match: (^|/)helmfile\.yaml$ for manager helmfile DEBUG: Using file match: (^|/)Chart\.yaml$ for manager helmv3 DEBUG: Using file match: (^|/)bin/hermit$ for manager hermit DEBUG: Using file match: ^Formula/[^/]+[.]rb$ for manager homebrew DEBUG: Using file match: \.html?$ for manager html DEBUG: Using file match: (^|/)plugins\.(txt|ya?ml)$ for manager jenkins DEBUG: Using file match: (^|/)jsonnetfile\.json$ for manager jsonnet-bundler DEBUG: Using file match: ^.+\.main\.kts$ for manager kotlin-script DEBUG: Using file match: (^|/)kustomization\.ya?ml$ for manager kustomize DEBUG: Using file match: (^|/)project\.clj$ for manager leiningen DEBUG: Using file match: (^|/|\.)pom\.xml$ for manager maven DEBUG: Using file match: ^(((\.mvn)|(\.m2))/)?settings\.xml$ for manager maven DEBUG: Using file match: (^|\/).mvn/wrapper/maven-wrapper.properties$ for manager maven-wrapper DEBUG: Using file match: (^|/)package\.js$ for manager meteor DEBUG: Using file match: (^|\/)Mintfile$ for manager mint DEBUG: Using file match: (^|/)mix\.exs$ for manager mix DEBUG: Using file match: (^|\/)flake\.nix$ for manager nix DEBUG: Using file match: (^|/)\.node-version$ for manager nodenv DEBUG: Using file match: (^|/)package\.json$ for manager npm DEBUG: Using file match: \.(?:cs|fs|vb)proj$ for manager nuget DEBUG: Using file match: \.(?:props|targets)$ for manager nuget DEBUG: Using file match: (^|\/)dotnet-tools\.json$ for manager nuget DEBUG: Using file match: (^|\/)global\.json$ for manager nuget DEBUG: Using file match: (^|/)\.nvmrc$ for manager nvm DEBUG: Using file match: (^|/)src/main/features/.+\.json$ for manager osgi DEBUG: Using file match: (^|/)([\w-]*)requirements\.(txt|pip)$ for manager pip_requirements DEBUG: Using file match: (^|/)setup\.py$ for manager pip_setup DEBUG: Using file match: (^|/)Pipfile$ for manager pipenv DEBUG: Using file match: (^|/)pyproject\.toml$ for manager poetry DEBUG: Using file match: (^|/)\.pre-commit-config\.yaml$ for manager pre-commit DEBUG: Using file match: (^|/)pubspec\.ya?ml$ for manager pub DEBUG: Using file match: (^|\/)Puppetfile$ for manager puppet DEBUG: Using file match: (^|/)\.python-version$ for manager pyenv DEBUG: Using file match: (^|/)\.ruby-version$ for manager ruby-version DEBUG: Using file match: \.sbt$ for manager sbt DEBUG: Using file match: project/[^/]*.scala$ for manager sbt DEBUG: Using file match: (^|/)setup\.cfg$ for manager setup-cfg DEBUG: Using file match: (^|/)Package\.swift for manager swift DEBUG: Using file match: \.tf$ for manager terraform DEBUG: Using file match: (^|/)\.terraform-version$ for manager terraform-version DEBUG: Using file match: (^|/)terragrunt\.hcl$ for manager terragrunt DEBUG: Using file match: (^|/)\.terragrunt-version$ for manager terragrunt-version DEBUG: Using file match: \.tflint\.hcl$ for manager tflint-plugin DEBUG: Using file match: ^\.travis\.yml$ for manager travis DEBUG: Using file match: (^|/)\.vela\.ya?ml$ for manager velaci DEBUG: Using file match: ^\.woodpecker(?:\/[^/]+)?\.ya?ml$ for manager woodpecker DEBUG: Matched 2 file(s) for manager poetry: api-python/pyproject.toml, hm-locust/pyproject.toml DEBUG: Found poetry package files DEBUG: Found 2 package file(s) INFO: Dependency extraction complete { "baseBranch": "main", "stats": { "managers": { "poetry": { "fileCount": 2, "depCount": 15 } }, "total": { "fileCount": 2, "depCount": 15 } } } DEBUG: Using queue: host=pypi.org, concurrency=10 DEBUG: PackageFiles.add() - Package file saved for base branch { "baseBranch": "main" } DEBUG: Package releases lookups complete { "baseBranch": "main" } DEBUG: branchifyUpgrades DEBUG: detectSemanticCommits() DEBUG: getCommitMessages DEBUG: semanticCommits: detected "unknown" DEBUG: semanticCommits: disabled DEBUG: 2 flattened updates found: python-dotenv, python-dotenv DEBUG: Returning 1 branch(es) DEBUG: config.repoIsOnboarded=true DEBUG: packageFiles with updates { "baseBranch": "main", "config": { "poetry": [ { "deps": [ { "depName": "Flask", "depType": "dependencies", "currentValue": "2.2.3", "managerData": { "nestedVersion": false }, "datasource": "pypi", "lockedVersion": "2.2.3", "packageName": "flask", "versioning": "pep440", "depIndex": 0, "updates": [], "warnings": [], "registryUrl": "https://pypi.org/pypi", "homepage": "https://palletsprojects.com/p/flask", "changelogUrl": "https://flask.palletsprojects.com/changes/", "currentVersion": "2.2.3", "fixedVersion": "2.2.3" }, { "depName": "Flask-APScheduler", "depType": "dependencies", "currentValue": "1.12.4", "managerData": { "nestedVersion": false }, "datasource": "pypi", "lockedVersion": "1.12.4", "packageName": "flask-apscheduler", "versioning": "pep440", "depIndex": 1, "updates": [], "warnings": [], "sourceUrl": "https://github.com/viniciuschiele/flask-apscheduler", "registryUrl": "https://pypi.org/pypi", "currentVersion": "1.12.4", "fixedVersion": "1.12.4" }, { "depName": "Flask-Cors", "depType": "dependencies", "currentValue": "3.0.10", "managerData": { "nestedVersion": false }, "datasource": "pypi", "lockedVersion": "3.0.10", "packageName": "flask-cors", "versioning": "pep440", "depIndex": 2, "updates": [], "warnings": [], "sourceUrl": "https://github.com/corydolphin/flask-cors", "registryUrl": "https://pypi.org/pypi", "currentVersion": "3.0.10", "fixedVersion": "3.0.10" }, { "depName": "confluent-kafka", "depType": "dependencies", "currentValue": "2.0.2", "managerData": { "nestedVersion": false }, "datasource": "pypi", "lockedVersion": "2.0.2", "versioning": "pep440", "depIndex": 3, "updates": [], "warnings": [], "sourceUrl": "https://github.com/confluentinc/confluent-kafka-python", "registryUrl": "https://pypi.org/pypi", "currentVersion": "2.0.2", "fixedVersion": "2.0.2" }, { "depName": "flask-sock", "depType": "dependencies", "currentValue": "0.6.0", "managerData": { "nestedVersion": false }, "datasource": "pypi", "lockedVersion": "0.6.0", "versioning": "pep440", "depIndex": 4, "updates": [], "warnings": [], "sourceUrl": "https://github.com/miguelgrinberg/flask-sock", "registryUrl": "https://pypi.org/pypi", "currentVersion": "0.6.0", "fixedVersion": "0.6.0" }, { "depName": "gunicorn", "depType": "dependencies", "currentValue": "20.1.0", "managerData": { "nestedVersion": false }, "datasource": "pypi", "lockedVersion": "20.1.0", "versioning": "pep440", "depIndex": 5, "updates": [], "warnings": [], "sourceUrl": "https://github.com/benoitc/gunicorn", "registryUrl": "https://pypi.org/pypi", "homepage": "https://gunicorn.org", "currentVersion": "20.1.0", "fixedVersion": "20.1.0" }, { "depName": "python-dotenv", "depType": "dependencies", "currentValue": "0.21.1", "managerData": { "nestedVersion": false }, "datasource": "pypi", "lockedVersion": "0.21.1", "versioning": "pep440", "depIndex": 6, "updates": [ { "bucket": "major", "newVersion": "1.0.0", "newValue": "1.0.0", "releaseTimestamp": "2023-02-24T06:46:36.000Z", "newMajor": 1, "newMinor": 0, "updateType": "major", "branchName": "renovate/python-dotenv-1.x" } ], "warnings": [], "sourceUrl": "https://github.com/theskumar/python-dotenv", "registryUrl": "https://pypi.org/pypi", "currentVersion": "0.21.1", "isSingleVersion": true, "fixedVersion": "0.21.1" }, { "depName": "sentry-sdk", "depType": "dependencies", "currentValue": "1.15.0", "managerData": { "nestedVersion": true }, "datasource": "pypi", "lockedVersion": "1.15.0", "versioning": "pep440", "depIndex": 7, "updates": [], "warnings": [], "sourceUrl": "https://github.com/getsentry/sentry-python", "registryUrl": "https://pypi.org/pypi", "changelogUrl": "https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md", "currentVersion": "1.15.0", "fixedVersion": "1.15.0" }, { "depName": "poethepoet", "depType": "dev", "currentValue": "0.18.1", "managerData": { "nestedVersion": false }, "datasource": "pypi", "lockedVersion": "0.18.1", "versioning": "pep440", "depIndex": 8, "updates": [], "warnings": [], "sourceUrl": "https://github.com/nat-n/poethepoet", "registryUrl": "https://pypi.org/pypi", "currentVersion": "0.18.1", "fixedVersion": "0.18.1" }, { "depName": "pytest", "depType": "dev", "currentValue": "7.2.1", "managerData": { "nestedVersion": false }, "datasource": "pypi", "lockedVersion": "7.2.1", "versioning": "pep440", "depIndex": 9, "updates": [], "warnings": [], "sourceUrl": "https://github.com/pytest-dev/pytest", "registryUrl": "https://pypi.org/pypi", "homepage": "https://docs.pytest.org/en/latest/", "changelogUrl": "https://docs.pytest.org/en/stable/changelog.html", "currentVersion": "7.2.1", "fixedVersion": "7.2.1" }, { "depName": "pytest-cov", "depType": "dev", "currentValue": "4.0.0", "managerData": { "nestedVersion": false }, "datasource": "pypi", "lockedVersion": "4.0.0", "versioning": "pep440", "depIndex": 10, "updates": [], "warnings": [], "sourceUrl": "https://github.com/pytest-dev/pytest-cov", "registryUrl": "https://pypi.org/pypi", "changelogUrl": "https://pytest-cov.readthedocs.io/en/latest/changelog.html", "currentVersion": "4.0.0", "fixedVersion": "4.0.0" } ], "lockFiles": [ "api-python/poetry.lock" ], "packageFile": "api-python/pyproject.toml", "constraints": { "python": "3.11.x" } }, { "deps": [ { "depName": "locust", "depType": "dependencies", "currentValue": "2.14.2", "managerData": { "nestedVersion": false }, "datasource": "pypi", "lockedVersion": "2.14.2", "versioning": "pep440", "depIndex": 0, "updates": [], "warnings": [], "sourceUrl": "https://github.com/locustio/locust", "registryUrl": "https://pypi.org/pypi", "homepage": "https://locust.io/", "currentVersion": "2.14.2", "fixedVersion": "2.14.2" }, { "depName": "python-dotenv", "depType": "dependencies", "currentValue": "0.21.1", "managerData": { "nestedVersion": false }, "datasource": "pypi", "lockedVersion": "0.21.1", "versioning": "pep440", "depIndex": 1, "updates": [ { "bucket": "major", "newVersion": "1.0.0", "newValue": "1.0.0", "releaseTimestamp": "2023-02-24T06:46:36.000Z", "newMajor": 1, "newMinor": 0, "updateType": "major", "branchName": "renovate/python-dotenv-1.x" } ], "warnings": [], "sourceUrl": "https://github.com/theskumar/python-dotenv", "registryUrl": "https://pypi.org/pypi", "currentVersion": "0.21.1", "isSingleVersion": true, "fixedVersion": "0.21.1" }, { "depName": "python-magic", "depType": "dependencies", "currentValue": "0.4.27", "managerData": { "nestedVersion": false }, "datasource": "pypi", "lockedVersion": "0.4.27", "versioning": "pep440", "depIndex": 2, "updates": [], "warnings": [], "sourceUrl": "https://github.com/ahupp/python-magic", "registryUrl": "https://pypi.org/pypi", "currentVersion": "0.4.27", "fixedVersion": "0.4.27" }, { "depName": "poethepoet", "depType": "dev", "currentValue": "0.18.1", "managerData": { "nestedVersion": false }, "datasource": "pypi", "lockedVersion": "0.18.1", "versioning": "pep440", "depIndex": 3, "updates": [], "warnings": [], "sourceUrl": "https://github.com/nat-n/poethepoet", "registryUrl": "https://pypi.org/pypi", "currentVersion": "0.18.1", "fixedVersion": "0.18.1" } ], "lockFiles": [ "hm-locust/poetry.lock" ], "packageFile": "hm-locust/pyproject.toml", "constraints": { "python": "3.10.x" } } ] } } DEBUG: detectSemanticCommits() DEBUG: semanticCommits: returning "disabled" from cache DEBUG: processRepo() DEBUG: Processing 1 branch: renovate/python-dotenv-1.x DEBUG: Calculating hourly PRs remaining DEBUG: getPrList success { "pullsTotal": 0, "requestsTotal": 1, "apiQuotaAffected": true } DEBUG: currentHourStart=2023-02-24T16:00:00.000+00:00 DEBUG: PR hourly limit remaining: 2 DEBUG: Calculating prConcurrentLimit (10) DEBUG: getBranchPr(renovate/python-dotenv-1.x) DEBUG: findPr(renovate/python-dotenv-1.x, undefined, open) DEBUG: findPr(renovate/python-dotenv-1.x, undefined, closed) DEBUG: 0 PRs are currently open DEBUG: PR concurrent limit remaining: 10 DEBUG: Calculated maximum PRs remaining this run: 2 DEBUG: PullRequests limit = 2 DEBUG: Calculating hourly PRs remaining DEBUG: currentHourStart=2023-02-24T16:00:00.000+00:00 DEBUG: PR hourly limit remaining: 2 DEBUG: Calculating branchConcurrentLimit (10) DEBUG: 0 already existing branches found: DEBUG: Branch concurrent limit remaining: 10 DEBUG: Calculated maximum branches remaining this run: 2 DEBUG: Branches limit = 2 DEBUG: syncBranchState()(branch="renovate/python-dotenv-1.x") DEBUG: syncBranchState(): Branch cache not found, creating minimal branchState(branch="renovate/python-dotenv-1.x") DEBUG: getBranchPr(renovate/python-dotenv-1.x)(branch="renovate/python-dotenv-1.x") DEBUG: findPr(renovate/python-dotenv-1.x, undefined, open)(branch="renovate/python-dotenv-1.x") DEBUG: findPr(renovate/python-dotenv-1.x, undefined, closed)(branch="renovate/python-dotenv-1.x") DEBUG: branchExists=false(branch="renovate/python-dotenv-1.x") DEBUG: dependencyDashboardCheck=undefined(branch="renovate/python-dotenv-1.x") DEBUG: recreateClosed is false(branch="renovate/python-dotenv-1.x") DEBUG: findPr(renovate/python-dotenv-1.x, Update dependency python-dotenv to v1, !open)(branch="renovate/python-dotenv-1.x") DEBUG: prAlreadyExisted=false(branch="renovate/python-dotenv-1.x") DEBUG: Checking schedule(at any time, null)(branch="renovate/python-dotenv-1.x") DEBUG: No schedule defined(branch="renovate/python-dotenv-1.x") DEBUG: Branch needs creating(branch="renovate/python-dotenv-1.x") DEBUG: Using reuseExistingBranch: false(branch="renovate/python-dotenv-1.x") DEBUG: Setting current branch to main(branch="renovate/python-dotenv-1.x") DEBUG: latest commit(branch="renovate/python-dotenv-1.x") { "branchName": "main", "latestCommitDate": "2023-02-25T01:40:37+09:00" } DEBUG: manager.getUpdatedPackageFiles() reuseExistingBranch=false(branch="renovate/python-dotenv-1.x") DEBUG: Starting search at index 175(packageFile="hm-locust/pyproject.toml", branch="renovate/python-dotenv-1.x") { "depName": "python-dotenv" } DEBUG: Found match at index 175(packageFile="hm-locust/pyproject.toml", branch="renovate/python-dotenv-1.x") { "depName": "python-dotenv" } DEBUG: Contents updated(packageFile="hm-locust/pyproject.toml", branch="renovate/python-dotenv-1.x") { "depName": "python-dotenv" } DEBUG: Value is not updated(packageFile="api-python/pyproject.toml", branch="renovate/python-dotenv-1.x") { "manager": "poetry", "expectedValue": "1.0.0", "foundValue": "0.21.1" } DEBUG: Starting search at index 329(packageFile="api-python/pyproject.toml", branch="renovate/python-dotenv-1.x") { "depName": "python-dotenv" } DEBUG: Found match at index 329(packageFile="api-python/pyproject.toml", branch="renovate/python-dotenv-1.x") { "depName": "python-dotenv" } DEBUG: Contents updated(packageFile="api-python/pyproject.toml", branch="renovate/python-dotenv-1.x") { "depName": "python-dotenv" } DEBUG: poetry.updateArtifacts(hm-locust/pyproject.toml)(branch="renovate/python-dotenv-1.x") DEBUG: Updating hm-locust/poetry.lock(branch="renovate/python-dotenv-1.x") DEBUG: Using python constraint from config(branch="renovate/python-dotenv-1.x") DEBUG: Setting CONTAINERBASE_CACHE_DIR to /tmp/containerbase(branch="renovate/python-dotenv-1.x") DEBUG: Using docker to execute(branch="renovate/python-dotenv-1.x") { "image": "sidecar" } DEBUG: Resolved stable matching version(branch="renovate/python-dotenv-1.x") { "toolName": "python", "constraint": "3.11.x", "resolvedVersion": "3.11.1" } DEBUG: Resolved stable matching version(branch="renovate/python-dotenv-1.x") { "toolName": "poetry", "constraint": null, "resolvedVersion": "1.3.2" } DEBUG: containerbaseDir is separate from cacheDir(branch="renovate/python-dotenv-1.x") DEBUG: Resolved tag constraint(branch="renovate/python-dotenv-1.x") { "image": "docker.io/renovate/sidecar" } DEBUG: Docker image is already prefetched: docker.io/renovate/sidecar@sha256:ee4ff56091d0e5913593fdb977ff8baa652714c52b9015ba154f6293a29c342f(branch="renovate/python-dotenv-1.x") DEBUG: Executing command(branch="renovate/python-dotenv-1.x") { "command": "docker run --rm --name=renovate_sidecar --label=renovate_child -v \"/mnt/renovate/gh/Hongbo-Miao/bug-renovate-poetry-python-version\":\"/mnt/renovate/gh/Hongbo-Miao/bug-renovate-poetry-python-version\" -v \"/tmp/renovate-cache\":\"/tmp/renovate-cache\" -v \"/tmp/containerbase\":\"/tmp/containerbase\" -e PIP_CACHE_DIR -e BUILDPACK_CACHE_DIR -e CONTAINERBASE_CACHE_DIR -w \"/mnt/renovate/gh/Hongbo-Miao/bug-renovate-poetry-python-version/hm-locust\" docker.io/renovate/sidecar bash -l -c \"install-tool python 3.11.1 && install-tool poetry 1.3.2 && poetry update --lock --no-interaction python-dotenv\"" } DEBUG: rawExec err(branch="renovate/python-dotenv-1.x") { "err": { "name": "ExecError", "cmd": "/bin/sh -c docker run --rm --name=renovate_sidecar --label=renovate_child -v \"/mnt/renovate/gh/Hongbo-Miao/bug-renovate-poetry-python-version\":\"/mnt/renovate/gh/Hongbo-Miao/bug-renovate-poetry-python-version\" -v \"/tmp/renovate-cache\":\"/tmp/renovate-cache\" -v \"/tmp/containerbase\":\"/tmp/containerbase\" -e PIP_CACHE_DIR -e BUILDPACK_CACHE_DIR -e CONTAINERBASE_CACHE_DIR -w \"/mnt/renovate/gh/Hongbo-Miao/bug-renovate-poetry-python-version/hm-locust\" docker.io/renovate/sidecar bash -l -c \"install-tool python 3.11.1 && install-tool poetry 1.3.2 && poetry update --lock --no-interaction python-dotenv\"", "stderr": "The currently activated Python version 3.11.1 is not supported by the project (3.10.x).\nTrying to find and use a compatible version. \n\nPoetry was unable to find a compatible version. If you have one, you can explicitly use it via the \"env use\" command.\n", "stdout": "installing v2 tool python v3.11.1\nlinking tool python v3.11.1\nPython 3.11.1\npip 23.0.1 from /opt/buildpack/tools/python/3.11.1/lib/python3.11/site-packages/pip (python 3.11)\nInstalled v2 /usr/local/buildpack/tools/v2/python.sh in 24 seconds\nskip cleanup, not a docker build: f2b5ed7e935f\ninstalling v2 tool poetry v1.3.2\nlinking tool poetry v1.3.2\nPoetry (version 1.3.2)\nInstalled v2 /usr/local/buildpack/tools/v2/poetry.sh in 57 seconds\nskip cleanup, not a docker build: f2b5ed7e935f\n", "options": { "cwd": "/mnt/renovate/gh/Hongbo-Miao/bug-renovate-poetry-python-version/hm-locust", "encoding": "utf-8", "env": { "PIP_CACHE_DIR": "/tmp/renovate-cache/others/pip", "HOME": "/home/ubuntu", "PATH": "/home/ubuntu/.local/bin:/home/ubuntu/bin:/opt/buildpack/tools/python/3.9.3/bin:/home/ubuntu/.npm-global/bin:/home/ubuntu/renovateapp/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "LC_ALL": "C.UTF-8", "LANG": "C.UTF-8", "BUILDPACK_CACHE_DIR": "/tmp/containerbase", "CONTAINERBASE_CACHE_DIR": "/tmp/containerbase" }, "maxBuffer": 10485760, "timeout": 900000 }, "exitCode": 1, "message": "Command failed: docker run --rm --name=renovate_sidecar --label=renovate_child -v \"/mnt/renovate/gh/Hongbo-Miao/bug-renovate-poetry-python-version\":\"/mnt/renovate/gh/Hongbo-Miao/bug-renovate-poetry-python-version\" -v \"/tmp/renovate-cache\":\"/tmp/renovate-cache\" -v \"/tmp/containerbase\":\"/tmp/containerbase\" -e PIP_CACHE_DIR -e BUILDPACK_CACHE_DIR -e CONTAINERBASE_CACHE_DIR -w \"/mnt/renovate/gh/Hongbo-Miao/bug-renovate-poetry-python-version/hm-locust\" docker.io/renovate/sidecar bash -l -c \"install-tool python 3.11.1 && install-tool poetry 1.3.2 && poetry update --lock --no-interaction python-dotenv\"\nThe currently activated Python version 3.11.1 is not supported by the project (3.10.x).\nTrying to find and use a compatible version. \n\nPoetry was unable to find a compatible version. If you have one, you can explicitly use it via the \"env use\" command.\n", "stack": "ExecError: Command failed: docker run --rm --name=renovate_sidecar --label=renovate_child -v \"/mnt/renovate/gh/Hongbo-Miao/bug-renovate-poetry-python-version\":\"/mnt/renovate/gh/Hongbo-Miao/bug-renovate-poetry-python-version\" -v \"/tmp/renovate-cache\":\"/tmp/renovate-cache\" -v \"/tmp/containerbase\":\"/tmp/containerbase\" -e PIP_CACHE_DIR -e BUILDPACK_CACHE_DIR -e CONTAINERBASE_CACHE_DIR -w \"/mnt/renovate/gh/Hongbo-Miao/bug-renovate-poetry-python-version/hm-locust\" docker.io/renovate/sidecar bash -l -c \"install-tool python 3.11.1 && install-tool poetry 1.3.2 && poetry update --lock --no-interaction python-dotenv\"\nThe currently activated Python version 3.11.1 is not supported by the project (3.10.x).\nTrying to find and use a compatible version. \n\nPoetry was unable to find a compatible version. If you have one, you can explicitly use it via the \"env use\" command.\n\n at ChildProcess.Have you created a minimal reproduction repository?
I have linked to a minimal reproduction repository in the bug description