Skip to content

Dependabot trying to download setup.py after move to pyproject.toml #4483

@Panaetius

Description

@Panaetius

Package ecosystem
poetry (pip)
Package manager version
1.1.11
Language version
Python 3.7
Manifest location and content prior to update
https://github.com/SwissDataScienceCenter/renku-python/blob/dependabot-updates/pyproject.toml

dependabot.yml content
https://github.com/SwissDataScienceCenter/renku-python/blob/dependabot-updates/.github/dependabot.yml

What you expected to see, versus what you actually saw
I expect PRs to be opened with version updates, but instead Dependabot errors with

Dependabot couldn't fetch all your path-based dependencies

The affected dependencies were setup.py.

To use path-based dependencies with Dependabot the paths must be relative and resolve to a directory in this project's source code.

  proxy | time="2021-12-03T09:16:26Z" level=info msg="proxy starting" commit=d5f262668736016da1a91e42cb4fba36a081bddf
  proxy | 2021/12/03 09:16:26 Listening (:1080)
updater | 2021-12-03T09:16:26.805063597 [anonymous-instance:main:WARN:src/firecracker/src/main.rs:370] You are using a deprecated parameter: --seccomp-level 2, that will be removed in a future version.
updater | 2021-12-03T09:16:26.904453390 [239653965:main:WARN:src/devices/src/legacy/serial.rs:432] Detached the serial input due to peer close/error.
updater | time="2021-12-03T09:16:30Z" level=info msg="guest starting" commit=8e918e4cf121d74a5b43e170ec4a717c1df98819
updater | time="2021-12-03T09:16:30Z" level=info msg="starting job..." fetcher_timeout=5m0s job_id=239653965 updater_timeout=45m0s updater_version=0.169.3-388839f8e94e2e09f180f781975462a82ae23d04
updater | I, [2021-12-03T09:16:33.533694 #6]  INFO -- sentry: ** [Raven] Raven 3.1.2 ready to catch errors
updater | warning: parser/current is loading parser/ruby27, which recognizes
updater | warning: 2.7.5-compliant syntax, but you are running 2.7.1.
updater | warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
updater | INFO <job_239653965> Starting job processing
  proxy | 2021/12/03 09:16:39 [002] GET https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/git/refs/heads/dependabot-updates
  proxy | 2021/12/03 09:16:39 [002] * authenticating github api request
  proxy | 2021/12/03 09:16:39 [002] 200 https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/git/refs/heads/dependabot-updates
  proxy | 2021/12/03 09:16:39 [004] GET https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:39 [004] * authenticating github api request
  proxy | 2021/12/03 09:16:39 [004] 200 https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:39 [006] GET https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/pyproject.toml?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:39 [006] * authenticating github api request
  proxy | 2021/12/03 09:16:39 [006] 200 https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/pyproject.toml?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:39 [008] GET https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/poetry.lock?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:39 [008] * authenticating github api request
  proxy | 2021/12/03 09:16:39 [008] 200 https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/poetry.lock?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:39 [010] GET https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/.github?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:39 [010] * authenticating github api request
  proxy | 2021/12/03 09:16:39 [010] 200 https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/.github?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:39 [012] GET https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/design?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:39 [012] * authenticating github api request
  proxy | 2021/12/03 09:16:40 [012] 200 https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/design?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:40 [014] GET https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/docs?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:40 [014] * authenticating github api request
  proxy | 2021/12/03 09:16:40 [014] 200 https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/docs?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:40 [016] GET https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/docs/requirements.txt?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:40 [016] * authenticating github api request
  proxy | 2021/12/03 09:16:40 [016] 200 https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/docs/requirements.txt?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:40 [018] GET https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/docs/spelling_wordlist.txt?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:40 [018] * authenticating github api request
  proxy | 2021/12/03 09:16:40 [018] 200 https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/docs/spelling_wordlist.txt?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:40 [020] GET https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/helm-chart?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:40 [020] * authenticating github api request
  proxy | 2021/12/03 09:16:41 [020] 200 https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/helm-chart?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:41 [022] GET https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/renku?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:41 [022] * authenticating github api request
  proxy | 2021/12/03 09:16:41 [022] 200 https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/renku?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:41 [024] GET https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/tests?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:41 [024] * authenticating github api request
  proxy | 2021/12/03 09:16:41 [024] 200 https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/tests?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:41 [026] GET https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/setup.py?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
  proxy | 2021/12/03 09:16:41 [026] * authenticating github api request
  proxy | 2021/12/03 09:16:41 [026] 404 https://api.github.com:443/repos/SwissDataScienceCenter/renku-python/contents/setup.py?ref=c29a723e458b7184d18bedeb4e31fac50122bed1
updater | ERROR <job_239653965> Error during file fetching; aborting
updater | INFO <job_239653965> Finished job processing
updater | INFO Results:
updater | Dependabot encountered '1' error(s) during execution, please check the logs for more details.
updater | time="2021-12-03T09:16:41Z" level=info msg="task complete" container_id=job-239653965-file-fetcher exit_code=0 job_id=239653965 step=fetcher
updater | time="2021-12-03T09:16:42Z" level=warning msg="failed during fetch, skipping updater" job_id=239653965

We previously used setuptools with setup.py but switched to using pyproject.toml and poetry. Dependabot still tries to download setup.py, even though the files is deleted.

Is setup.py mandatory or why does this fail?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions