Skip to content

Somesy fails on dynamic mandatory attributes #119

@GonozalIX

Description

@GonozalIX

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions