renovatebot / config-help

Please use the Discussions feature of https://github.com/renovatebot/renovate instead
https://github.com/renovatebot/renovate/discussions
MIT License
27 stars 16 forks source link

Is poetry supported by the lockFileMaintenance option #866

Closed shughes-uk closed 4 years ago

shughes-uk commented 4 years ago

Documentation makes it clear it's not supported by the newer rangeStrategy option, but it's unclear to me if it supported via the lockfile maintenance option?

rarkins commented 4 years ago

Yes: https://github.com/renovatebot/renovate/search?q=supportsLockFileMaintenance&unscoped_q=supportsLockFileMaintenance

shughes-uk commented 4 years ago

It's submitting MRs for our package.json files but ignoring poetry.lock files so far. This is the config file. I don't see any errors

{
    "autodiscover": true,
    "platform": "gitlab",
    "lockFileMaintenance": { "enabled": true, "schedule": null }
}
 INFO: Repository started (repository=nomnomdata/platform/nominode-api)
       "renovateVersion": "23.21.4"
 INFO: Dependency extraction complete (repository=nomnomdata/platform/nominode-api)
       "baseBranch": "staging",
       "stats": {
         "managers": {
           "gitlabci": {"fileCount": 1, "depCount": 4},
           "gitlabci-include": {"fileCount": 1, "depCount": 2},
           "poetry": {"fileCount": 1, "depCount": 77}
         },
         "total": {"fileCount": 3, "depCount": 83}
       }
 INFO: Repository finished (repository=nomnomdata/platform/nominode-api)
       "durationMs": 14085

Any idea's why it wouldn't work? The lock file is definitely out of date

rarkins commented 4 years ago

Try running with debug logs to see what mention of lockFileMaintenance there is

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed soon if no further activity occurs.

shughes-uk commented 4 years ago

Logs from a repo I have confirmed does have a stale lock file by running poetry update and it resulted in a diff to the lockfile compared to master.

You can poke around the repo itself too as it's public if you want https://gitlab.com/nomnomdata/tools/nomnomdata-auth


DEBUG: nomnomdata/tools/nomnomdata-auth default branch = master (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Enabling Git FS (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: nomnomdata/tools/nomnomdata-auth http URL = https://gitlab.com/nomnomdata/tools/nomnomdata-auth.git (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: resetMemCache() (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: checkOnboarding() (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: isOnboarded() (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: findFile(renovate.json) (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Initializing git repository into /tmp/renovate/repos/gitlab/nomnomdata/tools/nomnomdata-auth (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: git clone completed (repository=nomnomdata/tools/nomnomdata-auth)
       "durationMs": 997
DEBUG: latest commit (repository=nomnomdata/tools/nomnomdata-auth)
       "latestCommitDate": "2020-09-15T14:50:11-07:00"
DEBUG: Setting git author name (repository=nomnomdata/tools/nomnomdata-auth)
       "gitAuthorName": "Samantha Hughes"
DEBUG: Setting git author email (repository=nomnomdata/tools/nomnomdata-auth)
       "gitAuthorEmail": "shughes@nomnomdata.com"
DEBUG: config file exists (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: ensureIssueClosing() (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Repo is onboarded (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Found renovate.json config file (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Repository config (repository=nomnomdata/tools/nomnomdata-auth)
       "fileName": "renovate.json",
       "config": {"$schema": "https://docs.renovatebot.com/renovate-schema.json"}
DEBUG: migrateAndValidate() (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: No config migration necessary (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: massaged config (repository=nomnomdata/tools/nomnomdata-auth)
       "config": {"$schema": "https://docs.renovatebot.com/renovate-schema.json"}
DEBUG: migrated config (repository=nomnomdata/tools/nomnomdata-auth)
       "config": {"$schema": "https://docs.renovatebot.com/renovate-schema.json"}
DEBUG: Found repo ignorePaths (repository=nomnomdata/tools/nomnomdata-auth)
       "ignorePaths": ["**/node_modules/**", "**/bower_components/**"]
DEBUG: detectSemanticCommits() (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: getCommitMessages (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Semantic commits detection: unknown (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: No semantic commits detected (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Setting branchPrefix: renovate/ (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: No vulnerability alerts found (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: processRepo() (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: No baseBranches (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: extract() (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Setting current branch to master (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: latest commit (repository=nomnomdata/tools/nomnomdata-auth)
       "branchName": "master",
       "latestCommitDate": "2020-09-15T14:50:11-07:00"
DEBUG: Using file match: (^|/)tasks/[^/]+\.ya?ml$ for manager ansible (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)requirements\.ya?ml$ for manager ansible-galaxy (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)WORKSPACE(|\.bazel)$ for manager bazel (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: \.bzl$ for manager bazel (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: buildkite\.ya?ml for manager buildkite (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: \.buildkite/.+\.ya?ml$ for manager buildkite (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)Gemfile$ for manager bundler (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)Cargo.toml$ for manager cargo (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/).circleci/config.yml$ for manager circleci (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)Podfile$ for manager cocoapods (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)([\w-]*)composer.json$ for manager composer (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)deps\.edn$ for manager deps-edn (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)docker-compose[^/]*\.ya?ml$ for manager docker-compose (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/|\.)Dockerfile$ for manager dockerfile (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)Dockerfile\.[^/]*$ for manager dockerfile (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/).drone.yml$ for manager droneci (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/).gitmodules$ for manager git-submodules (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: ^\.github/main.workflow$ for manager github-actions (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: ^\.github/workflows/[^/]+\.ya?ml$ for manager github-actions (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: ^\.gitlab-ci\.yml$ for manager gitlabci (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: ^\.gitlab-ci\.yml$ for manager gitlabci-include (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)go.mod$ for manager gomod (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: \.gradle(\.kts)?$ for manager gradle (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)gradle.properties$ for manager gradle (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)gradle/wrapper/gradle-wrapper.properties$ for manager gradle-wrapper (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)requirements.yaml$ for manager helm-requirements (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)values.yaml$ for manager helm-values (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)helmfile.yaml$ for manager helmfile (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)Chart.yaml$ for manager helmv3 (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: ^Formula/[^/]+[.]rb$ for manager homebrew (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: \.html?$ for manager html (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)plugins\.txt for manager jenkins (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)kustomization\.yaml for manager kustomize (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)project\.clj$ for manager leiningen (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: \.pom\.xml$ for manager maven (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)pom\.xml$ for manager maven (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)package.js$ for manager meteor (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)mix\.exs$ for manager mix (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: ^.node-version$ for manager nodenv (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)package.json$ for manager npm (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: \.(?:cs|fs|vb)proj$ for manager nuget (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: \.(?:props|targets)$ for manager nuget (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: \.config\/dotnet-tools\.json$ for manager nuget (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)\.nvmrc$ for manager nvm (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)([\w-]*)requirements.(txt|pip)$ for manager pip_requirements (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)setup.py$ for manager pip_setup (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)Pipfile$ for manager pipenv (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)pyproject\.toml$ for manager poetry (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)pubspec\.ya?ml$ for manager pub (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)\.ruby-version$ for manager ruby-version (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: \.sbt$ for manager sbt (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: project/[^/]*.scala$ for manager sbt (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)setup\.cfg$ for manager setup-cfg (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: (^|/)Package\.swift for manager swift (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: \.tf$ for manager terraform (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Using file match: ^.travis.yml$ for manager travis (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Matched 1 file(s) for manager gitlabci: .gitlab-ci.yml (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Matched 1 file(s) for manager gitlabci-include: .gitlab-ci.yml (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Matched 1 file(s) for manager poetry: pyproject.toml (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Found gitlabci package files (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Found gitlabci-include package files (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Found poetry package files (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Found 3 package file(s) (repository=nomnomdata/tools/nomnomdata-auth)
 INFO: Dependency extraction complete (repository=nomnomdata/tools/nomnomdata-auth)
       "baseBranch": "master",
       "stats": {
         "managers": {
           "gitlabci": {"fileCount": 1, "depCount": 1},
           "gitlabci-include": {"fileCount": 1, "depCount": 1},
           "poetry": {"fileCount": 1, "depCount": 4}
         },
         "total": {"fileCount": 3, "depCount": 6}
       }
DEBUG: getLabels(https://index.docker.io, library/python, latest) (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: getManifestResponse(https://index.docker.io, library/python, latest) (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Package releases lookups complete (repository=nomnomdata/tools/nomnomdata-auth)
       "baseBranch": "master"
DEBUG: packageFiles with updates (repository=nomnomdata/tools/nomnomdata-auth)
       "config": {
         "gitlabci": [
           {
             "packageFile": ".gitlab-ci.yml",
             "manager": "gitlabci",
             "deps": [
               {
                 "depName": "python",
                 "currentValue": "3.7",
                 "replaceString": "python:3.7",
                 "autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
                 "datasource": "docker",
                 "depType": "image",
                 "depIndex": 0,
                 "updates": [
                   {
                     "fromVersion": "3.7",
                     "toVersion": "3.8",
                     "newValue": "3.8",
                     "newMajor": 3,
                     "newMinor": 8,
                     "updateType": "minor",
                     "isSingleVersion": true,
                     "newVersion": "3.8"
                   }
                 ],
                 "warnings": [],
                 "dockerRegistry": "https://index.docker.io",
                 "dockerRepository": "library/python"
               }
             ]
           }
         ],
         "gitlabci-include": [
           {
             "packageFile": ".gitlab-ci.yml",
             "manager": "gitlabci-include",
             "deps": [
               {
                 "datasource": "gitlab-tags",
                 "depName": "nomnomdata/code-style",
                 "depType": "repository",
                 "skipReason": "unknown-version",
                 "registryUrls": ["https://gitlab.com"],
                 "depIndex": 0,
                 "updates": []
               }
             ]
           }
         ],
         "poetry": [
           {
             "packageFile": "pyproject.toml",
             "manager": "poetry",
             "deps": [
               {
                 "depName": "nomnomdata-cli",
                 "depType": "dependencies",
                 "currentValue": "^0.1.0",
                 "managerData": {"nestedVersion": false},
                 "datasource": "pypi",
                 "versioning": "poetry",
                 "depIndex": 0,
                 "updates": [],
                 "warnings": [],
                 "sourceUrl": "https://gitlab.com/nomnomdata/tools/nomnomdata-engine",
                 "homepage": "https://gitlab.com/nomnomdata/tools/nomnomdata-engine"
               },
               {
                 "depName": "requests",
                 "depType": "dependencies",
                 "currentValue": "^2.23.0",
                 "managerData": {"nestedVersion": false},
                 "datasource": "pypi",
                 "versioning": "poetry",
                 "depIndex": 1,
                 "updates": [],
                 "warnings": [],
                 "sourceUrl": "https://github.com/psf/requests",
                 "homepage": "https://requests.readthedocs.io",
                 "changelogUrl": "https://github.com/psf/requests/blob/master/HISTORY.md"
               },
               {
                 "depName": "pycognito",
                 "depType": "dependencies",
                 "currentValue": "^0.1.2",
                 "managerData": {"nestedVersion": false},
                 "datasource": "pypi",
                 "versioning": "poetry",
                 "depIndex": 2,
                 "updates": [],
                 "warnings": [],
                 "sourceUrl": "https://github.com/pvizeli/pycognito"
               },
               {
                 "depName": "dunamai",
                 "depType": "dependencies",
                 "currentValue": "^1.1.0",
                 "managerData": {"nestedVersion": false},
                 "datasource": "pypi",
                 "versioning": "poetry",
                 "depIndex": 3,
                 "updates": [],
                 "warnings": [],
                 "sourceUrl": "https://github.com/mtkennerly/dunamai"
               }
             ],
             "registryUrls": null,
             "compatibility": {"python": "^3.7"}
           }
         ]
       }
DEBUG: branchifyUpgrades (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: 2 flattened updates found: python (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Returning 2 branch(es) (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: config.repoIsOnboarded=true (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: processRepo() (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Processing 2 branches: renovate/docker-python-3.x, renovate/lock-file-maintenance (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Calculated maximum PRs remaining this run (repository=nomnomdata/tools/nomnomdata-auth)
       "prsRemaining": 99
DEBUG: processBranch with 1 upgrades (repository=nomnomdata/tools/nomnomdata-auth, dependencies=python, branch=renovate/docker-python-3.x)
DEBUG: Setting current branch to master (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/docker-python-3.x)
DEBUG: latest commit (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/docker-python-3.x)
       "branchName": "master",
       "latestCommitDate": "2020-09-15T14:50:11-07:00"
DEBUG: getBranchPr(renovate/docker-python-3.x) (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/docker-python-3.x)
DEBUG: branchExists=false (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/docker-python-3.x)
DEBUG: Branch has 1 upgrade(s) (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/docker-python-3.x)
DEBUG: recreateClosed is false (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/docker-python-3.x)
DEBUG: findPr(renovate/docker-python-3.x, Update python Docker tag to v3.8, !open) (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/docker-python-3.x)
DEBUG: Found closed PR with current title (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/docker-python-3.x)
DEBUG: getPr(14) (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/docker-python-3.x)
DEBUG: Closed PR already exists. Skipping branch. (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/docker-python-3.x)
       "prTitle": "Update python Docker tag to v3.8"
DEBUG: Getting comments for #14 (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/docker-python-3.x)
DEBUG: Found 1 comments (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/docker-python-3.x)
DEBUG: Ensuring comment "Renovate Ignore Notification" in #14 (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/docker-python-3.x)
DEBUG: Comment is already update-to-date (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/docker-python-3.x)
DEBUG: processBranch with 1 upgrades (repository=nomnomdata/tools/nomnomdata-auth, dependencies=, branch=renovate/lock-file-maintenance)
DEBUG: Setting current branch to master (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/lock-file-maintenance)
DEBUG: latest commit (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/lock-file-maintenance)
       "branchName": "master",
       "latestCommitDate": "2020-09-15T14:50:11-07:00"
DEBUG: getBranchPr(renovate/lock-file-maintenance) (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/lock-file-maintenance)
DEBUG: branchExists=false (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/lock-file-maintenance)
DEBUG: Branch has 0 upgrade(s) (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/lock-file-maintenance)
DEBUG: recreateClosed is true (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/lock-file-maintenance)
DEBUG: Checking schedule(null, null) (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/lock-file-maintenance)
DEBUG: No schedule defined (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/lock-file-maintenance)
DEBUG: Branch needs creating (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/lock-file-maintenance)
DEBUG: Using reuseExistingBranch: false (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/lock-file-maintenance)
DEBUG: manager.getUpdatedPackageFiles() (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/lock-file-maintenance)
       "reuseExistingBranch": false,
       "branchName": "renovate/lock-file-maintenance"
DEBUG: poetry.updateArtifacts(pyproject.toml) (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/lock-file-maintenance)
DEBUG: No updated poetry deps - returning null (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/lock-file-maintenance)
DEBUG: No package files need updating (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/lock-file-maintenance)
DEBUG: No updated lock files in branch (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/lock-file-maintenance)
DEBUG: No files to commit (repository=nomnomdata/tools/nomnomdata-auth, branch=renovate/lock-file-maintenance)
DEBUG: Removing any stale branches (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: config.repoIsOnboarded=true (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: No renovate branches found (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: ensureIssueClosing() (repository=nomnomdata/tools/nomnomdata-auth)
DEBUG: Repository timing splits (milliseconds) (repository=nomnomdata/tools/nomnomdata-auth)
       "splits": {"init": 2755, "extract": 2480, "lookup": 3167, "update": 1131},
       "total": 9571
DEBUG: http statistics (repository=nomnomdata/tools/nomnomdata-auth)
       "hostStats": [
         "auth.docker.io, 1 request, 354ms average",
         "gitlab.com, 5 requests, 291ms average",
         "index.docker.io, 4 requests, 652ms average",
         "pypi.org, 4 requests, 62ms average"
       ],
       "totalRequests": 14
 INFO: Repository finished (repository=nomnomdata/tools/nomnomdata-auth)
       "durationMs": 9571```
rarkins commented 4 years ago

What you're asking about is not "lockFileMaintenance" - it has a specific meaning to Renovate and this is not it. I think you're asking "Will Renovate update just my poetry lock file if the package file contains ranges?" and the answer to that is no. I don't need to look at your project to work that out however FYI the link you provided returns 404 for me.

Your pyproject.toml is using wide ranges and the updates fall within them. Although the following article was written for JS initially, essentially all the concepts of it apply to managers which lock dependencies similarly, so please check it out: https://docs.renovatebot.com/dependency-pinning/

In short, I recommend you use exact versions in pyproject.toml any time you are writing an application - ranges are useful only for libraries, and typically poetry projects are not libraries.

shughes-uk commented 4 years ago

Good to know. This is a library we are using poetry for hence the wide ranges.

rarkins commented 4 years ago

I created https://github.com/renovatebot/renovate/issues/7358 in case you want to track the feature. If you are able to provide a reproduction repo to add to the feature request, it would be helpful too.