Describe the bug
If you use dynamic mandatory attributes in pyproject.toml, e.g. for dynamic versioning as described in the pyproject.toml documentation, somesy fails because it assumes the attribute in the [project] section is missing but mandatory.
It's not if correctly set as dynamic via e.g. dynamic = ["version"].
To Reproduce
Steps to reproduce the behavior:
Use the following pyproject.toml and run somesy:
[project]
name = "projectname"
dynamic = ["version"]
description = ""
authors = []
license = {text = "MIT"}
requires-python = ">=3.11"
dependencies = []
Expected behavior
Somesy should recognize attributes beeing dynamic.
Describe the bug
If you use dynamic mandatory attributes in
pyproject.toml, e.g. for dynamic versioning as described in the pyproject.toml documentation, somesy fails because it assumes the attribute in the[project]section is missing but mandatory.It's not if correctly set as dynamic via e.g.
dynamic = ["version"].To Reproduce
Steps to reproduce the behavior:
Use the following
pyproject.tomland run somesy:Expected behavior
Somesy should recognize attributes beeing dynamic.