Skip to content

355 specify toml dependency - #356

Open
TobiasDijkhuis wants to merge 3 commits into
bw2:masterfrom
TobiasDijkhuis:355-specify-toml-dependency
Open

355 specify toml dependency#356
TobiasDijkhuis wants to merge 3 commits into
bw2:masterfrom
TobiasDijkhuis:355-specify-toml-dependency

Conversation

@TobiasDijkhuis

Copy link
Copy Markdown

Specifies that toml is an optional dependency for python versions below 3.11.

Now raises different exceptions if yaml or toml cannot be imported in a CompositeConfigParser, so that it does not quietly fail.

Closes #355 (except that you may want to switch to tomli?)

… 'toml' and 'tomllib' are both not available, but they are being used in a CompositeConfigParser. Same for YAML.

Correct printing of parser name
@TobiasDijkhuis
TobiasDijkhuis force-pushed the 355-specify-toml-dependency branch from 4ad7aef to 8da5faf Compare August 11, 2026 10:06
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.

Add toml (or tomli) as optional dependency, depending on python version

1 participant