Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config validation error on default environment value #262

Closed
DouglasBlackwood opened this issue Nov 25, 2024 · 1 comment
Closed

Config validation error on default environment value #262

DouglasBlackwood opened this issue Nov 25, 2024 · 1 comment

Comments

@DouglasBlackwood
Copy link

Hi!

I want to upgrade poethepoet to 0.31.0, but I get an error when I run the command poe.

$ poe
Poe the Poet - A task runner that works well with poetry.
version 0.31.0

Error: Invalid content in included file from /Users/charlylaurent/dev/engine/poe-bug-0.31.0/poe.toml
     | From: ConfigValidationError("Option 'env.HELLO' must have a value of type: str")

I reproduce the issue with the following configuration file poe.toml:

[tool.poe.executor]
type = "poetry"

[tool.poe.env]
HELLO.default = "world"

It seems that the ENV.default = "something" raises the error above.

nat-n added a commit that referenced this issue Nov 25, 2024
nat-n added a commit that referenced this issue Nov 25, 2024
* Temporarily disable sphinx link checking to unblock bugfix

fixes: #262
@nat-n
Copy link
Owner

nat-n commented Nov 25, 2024

Hi @DouglasBlackwood,

Oops! Thanks for reporting this. Here's a fix 👉 0.31.1 🚀

@nat-n nat-n closed this as completed Nov 25, 2024
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

No branches or pull requests

2 participants