Skip to content

FIX: add message info when loading toml failed#361

Merged
effigies merged 1 commit intopython-versioneer:masterfrom
GCS-ZHN:master
Mar 13, 2023
Merged

FIX: add message info when loading toml failed#361
effigies merged 1 commit intopython-versioneer:masterfrom
GCS-ZHN:master

Conversation

@GCS-ZHN
Copy link
Copy Markdown
Contributor

@GCS-ZHN GCS-ZHN commented Jan 24, 2023

Current version of versioneer will automatically skip it if load pyproject.toml failed, and try to load config from setup.cfg.
If someone use versioneer in his project and unluckily there are some mistakes on his pyproject.toml, he will get a FileNotFoundError about the miss of setup.cfg. This is confusive to him.

So I add a info message to make him realize his pyproject.toml contains some mistakes(e.g. key depulication). Otherwise, he may spend a lot of time to find why versioneer try to load setup.cfg file which not used in his project.

@effigies effigies merged commit 3c4313a into python-versioneer:master Mar 13, 2023
@effigies
Copy link
Copy Markdown
Contributor

I merged this, because I see nobody's responded in a month and a half. It seems with me stepping down, this project is effectively unmaintained again. I might bug people on #211 to see what's needed to get it released.

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