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

Dependabot couldn't fetch path-based dependencies (pip) #9554

Open
1 task done
solaluset opened this issue Apr 21, 2024 · 0 comments
Open
1 task done

Dependabot couldn't fetch path-based dependencies (pip) #9554

solaluset opened this issue Apr 21, 2024 · 0 comments
Labels
L: git:submodules Git submodules L: python T: bug 🐞 Something isn't working

Comments

@solaluset
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

pip

Package manager version

No response

Language version

No response

Manifest location and content before the Dependabot update

/requirements.txt
/config/pyproject.toml
/config/db-requirements.txt

dependabot.yml content

https://github.com/solaluset/DandelionMusic/blob/master/.github/dependabot.yml

Updated dependency

No response

What you expected to see, versus what you actually saw

I expected dependabot to update dependencies in all manifests, but it only updates /requirements.txt
It also gives error: Dependabot couldn't fetch all your path-based dependencies The affected dependencies were "./config" at /requirements.txt.

It also says: "To use path-based dependencies with Dependabot the paths must be relative, resolve to a directory in this project's source code, and contain a valid Python project."

If I'm not mistaken, all the conditions listed above are met.

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

proxy | 2024/04/15 21:59:16 proxy starting, commit: cf8623577dad71c128f219df2b27df6de35b909d
proxy | 2024/04/15 21:59:16 Listening (:1080)
updater | 2024-04-15T21:59:16.577637312 [815138141:main:WARN:src/devices/src/legacy/serial.rs:222] Detached the serial input due to peer close/error.
updater | time="2024-04-15T21:59:19Z" level=info msg="guest starting" commit=23d5de4e561c0902c1073f9798c09b5fb9912de9
updater | time="2024-04-15T21:59:19Z" level=info msg="starting job..." fetcher_timeout=10m0s job_id=815138141 updater_timeout=45m0s updater_version=837078853fa8c5ba937e2f2432d7cac7318a20f5-pip
updater | 2024/04/15 21:59:22 INFO <job_815138141> Starting job processing
updater | 2024/04/15 21:59:22 INFO <job_815138141> Job definition: {"job":{"allowed-updates":[{"dependency-type":"direct","update-type":"all"}],"commit-message-options":{"include-scope":null,"prefix":null,"prefix-development":null},"credentials-metadata":[{"host":"github.com","type":"git_source"}],"debug":null,"dependencies":null,"dependency-group-to-refresh":null,"dependency-groups":[],"existing-group-pull-requests":[],"existing-pull-requests":[],"experiments":{"proxy-cached":true,"record-ecosystem-versions":true,"record-update-job-unknown-error":true},"ignore-conditions":[],"lockfile-only":false,"max-updater-run-time":2700,"package-manager":"pip","proxy-log-response-body-on-auth-failure":true,"reject-external-code":false,"repo-private":false,"requirements-update-strategy":null,"security-advisories":[],"security-updates-only":false,"source":{"api-endpoint":"https://api.github.com/","branch":null,"directory":"/config","hostname":"github.com","provider":"github","repo":"solaluset/DandelionMusic"},"update-subdependencies":false,"updating-a-pull-request":false,"vendor-dependencies":false}}
updater |
proxy | 2024/04/15 21:59:22 [002] GET https://github.com:443/solaluset/DandelionMusic/info/refs?service=git-upload-pack
proxy | 2024/04/15 21:59:22 [002] * authenticating git server request (host: github.com)
proxy | 2024/04/15 21:59:22 [002] 200 https://github.com:443/solaluset/DandelionMusic/info/refs?service=git-upload-pack
proxy | 2024/04/15 21:59:22 [004] POST https://github.com:443/solaluset/DandelionMusic/git-upload-pack
proxy | 2024/04/15 21:59:22 [004] * authenticating git server request (host: github.com)
proxy | 2024/04/15 21:59:22 [004] 200 https://github.com:443/solaluset/DandelionMusic/git-upload-pack
proxy | 2024/04/15 21:59:22 [006] POST https://github.com:443/solaluset/DandelionMusic/git-upload-pack
proxy | 2024/04/15 21:59:22 [006] * authenticating git server request (host: github.com)
proxy | 2024/04/15 21:59:23 [006] 200 https://github.com:443/solaluset/DandelionMusic/git-upload-pack
updater | 2024/04/15 21:59:23 ERROR <job_815138141> Error during file fetching; aborting: The following path based dependencies could not be retrieved: "./config" at /requirements.txt
updater | 2024/04/15 21:59:23 INFO <job_815138141> Finished job processing
updater | 2024/04/15 21:59:23 INFO Results:
updater | Dependabot encountered '1' error(s) during execution, please check the logs for more details.
updater | +---------------------------------+
updater | | Errors |
updater | +---------------------------------+
updater | | path_dependencies_not_reachable |
updater | +---------------------------------+
updater | time="2024-04-15T21:59:23Z" level=info msg="task complete" container_id=job-815138141-file-fetcher exit_code=0 job_id=815138141 step=fetcher
updater | time="2024-04-15T21:59:23Z" level=warning msg="failed during fetch, skipping updater" job_id=815138141

Smallest manifest that reproduces the issue

No response

@solaluset solaluset added the T: bug 🐞 Something isn't working label Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: git:submodules Git submodules L: python T: bug 🐞 Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant