Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get dependabot to not look for `[tool.poetry]`?

I'm getting the following error from dependabot after a recent change.

Dependabot can't parse your pyproject.toml
Dependabot failed to update your dependencies because there was an error parsing the pyproject.toml found at /pyproject.toml.

Dependabot encountered the following error:

/pyproject.toml is missing the following sections:
  * tool.poetry.name
  * tool.poetry.version
  * tool.poetry.description
  * tool.poetry.authors

Dependabot had been paused before but I'm assuming this error is from following the recent poetry recommendations to use [project] instead.

What my pyproject.toml looks like now is:

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[project]
name = "repo"
version = "1"
description = ""
authors = []
maintainers = []
requires-python = ">=3.12,<3.13"
dependencies = []

[project.urls]
Homepage = "https://github.com/Org/repo"

[tool.poetry.dependencies]
arrow = "*"
attrdict3 = "*"
...

Is there a way to get dependabot to run with my current setup?

like image 333
Akaisteph7 Avatar asked Oct 29 '25 08:10

Akaisteph7


1 Answers

Looks like this is being worked on here: https://github.com/dependabot/dependabot-core/issues/11237

like image 149
nathanmjpark Avatar answered Nov 01 '25 14:11

nathanmjpark



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!