Skip to content

build: fix poetry#184

Open
alandtse wants to merge 1 commit intobinsync:mainfrom
alandtse:fix_poetry
Open

build: fix poetry#184
alandtse wants to merge 1 commit intobinsync:mainfrom
alandtse:fix_poetry

Conversation

@alandtse
Copy link
Contributor

@alandtse alandtse commented Mar 8, 2026

At least in poetry 2.1.3, it doesn't recognize the prior format as valid.

The Poetry configuration is invalid:
  - Either [project.version] or [tool.poetry.version] is required in package mode.

@mahaloz
Copy link
Member

mahaloz commented Mar 19, 2026

Hmmm is there any other way to allow the dynamic attribute to work for version? I don't like the possiblility of __version__ returning unknown.

I also am not seeing other bigger projects handle this scenario, such as angr:
https://github.com/angr/angr/blob/ff7326dfc1a597f0cc5858ba17d5d4dd930aa482/pyproject.toml#L44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants