Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip requirements.txt update is brokwn #10485

Closed
trim21 opened this issue Jun 18, 2021 · 2 comments
Closed

pip requirements.txt update is brokwn #10485

trim21 opened this issue Jun 18, 2021 · 2 comments
Labels
manager:pip_requirements pip requirements.txt status:requirements Full requirements are not yet known, so implementation should not be started type:bug Bug fix of existing functionality

Comments

@trim21
Copy link
Contributor

trim21 commented Jun 18, 2021

How are you running Renovate?

GitHub App

Describe the bug

deps in requreiments.txt can't get update

dashboard:

Repository problems
These problems occurred while renovating this repository.

WARN: Error updating branch: update failure
Errored
These updates encountered an error and will be retried. Click a checkbox below to force a retry now.
chore(deps): update dependency flexget to v3.1.130

Relevant debug logs

Click me to see logs
DEBUG: dependencyDashboardCheck=retry(branch="renovate/flexget-3.x")
DEBUG: recreateClosed is false(branch="renovate/flexget-3.x")
DEBUG: findPr(renovate/flexget-3.x, chore(deps): update dependency flexget to v3.1.130, !open)(branch="renovate/flexget-3.x")
DEBUG: prAlreadyExisted=false(branch="renovate/flexget-3.x")
DEBUG: Checking schedule(at any time, Asia/Shanghai)(branch="renovate/flexget-3.x")
DEBUG: No schedule defined(branch="renovate/flexget-3.x")
DEBUG: Branch needs creating(branch="renovate/flexget-3.x")
DEBUG: Using reuseExistingBranch: false(branch="renovate/flexget-3.x")
DEBUG: manager.getUpdatedPackageFiles() reuseExistinbranch=false(branch="renovate/flexget-3.x")
DEBUG: Starting search at index 7(packageFile="requirements.txt", branch="renovate/flexget-3.x")
{
  "depName": "flexget"
}
DEBUG: Found match at index 7(packageFile="requirements.txt", branch="renovate/flexget-3.x")
{
  "depName": "flexget"
}
DEBUG: Failed to parse newContent(packageFile="requirements.txt", branch="renovate/flexget-3.x")
{
  "manager": "pip_requirements",
  "err": {
    "message": "extractPackageFile is not a function",
    "stack": "TypeError: extractPackageFile is not a function\n    at confirmIfDepUpdated (/home/ubuntu/renovateapp/node_modules/renovate/dist/workers/branch/auto-replace.js:16:34)\n    at Object.doAutoReplace (/home/ubuntu/renovateapp/node_modules/renovate/dist/workers/branch/auto-replace.js:122:27)\n    at async Object.getUpdatedPackageFiles (/home/ubuntu/renovateapp/node_modules/renovate/dist/workers/branch/get-updated.js:78:27)\n    at async Object.processBranch (/home/ubuntu/renovateapp/node_modules/renovate/dist/workers/branch/index.js:252:21)\n    at async Object.writeUpdates (/home/ubuntu/renovateapp/node_modules/renovate/dist/workers/repository/process/write.js:25:21)\n    at async Object.update (/home/ubuntu/renovateapp/node_modules/renovate/dist/workers/repository/process/extract-update.js:110:15)\n    at async Object.renovateRepository (/home/ubuntu/renovateapp/node_modules/renovate/dist/workers/repository/index.js:68:21)\n    at async renovateRepository (/home/ubuntu/renovateapp/app/worker/index.js:420:26)\n    at async /home/ubuntu/renovateapp/app/worker/index.js:658:5"
  }
}

Have you created a minimal reproduction repository?

https://github.com/Trim21/renovate-pip-requirements/issues/1

@trim21 trim21 added priority-5-triage status:requirements Full requirements are not yet known, so implementation should not be started type:bug Bug fix of existing functionality labels Jun 18, 2021
@github-actions
Copy link
Contributor

Thank you for providing a reproduction! 🎉 🚀

The Renovate team will take a look at the reproduction repository.

@renovate-release
Copy link
Collaborator

🎉 This issue has been resolved in version 25.47.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
manager:pip_requirements pip requirements.txt status:requirements Full requirements are not yet known, so implementation should not be started type:bug Bug fix of existing functionality
Projects
None yet
Development

No branches or pull requests

3 participants