We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Poe 0.25.1 I was able to substitute one [tools.poe.env] variable in another. Since 0.26.0, this no longer works. (Due to #214?)
[tools.poe.env]
Let's try the following pyproject.toml file.
pyproject.toml
[build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" [tool.poetry] name = "test" authors = [] description = "" version = "0.0.1" [tool.poe.env] BASE_DIR = "/foo" SUBDIR = "${BASE_DIR}/bar/" [tool.poe.tasks.frobnicate] cmd = "echo ${SUBDIR}"
Here is how the task frobnicate runs in different versions of Poe.
frobnicate
> pipx install --force poethepoet==0.25.1 Installing to existing venv 'poethepoet' installed package poethepoet 0.25.1, installed using Python 3.12.1 These apps are now globally available - poe done! ✨ 🌟 ✨ > poe frobnicate Poe => echo /foo/bar/ /foo/bar/ > pipx install --force poethepoet==0.26.0 [...] done! ✨ 🌟 ✨ > poe frobnicate Poe => echo /bar/ /bar/ > pipx install --force poethepoet==0.26.1 [...] done! ✨ 🌟 ✨ > poe frobnicate Poe => echo /bar/ /bar/
The text was updated successfully, but these errors were encountered:
Hi @dbohdan, thanks for reporting this.
Yep looks like something went wrong with 0.26.0. I'll look into this as soon as I have some time for it.
If you able and willing to contribute a PR with a failing test case that would be a help :)
Sorry, something went wrong.
efcbea0
This issue is fixed in 0.27.0 🚀
No branches or pull requests
In Poe 0.25.1 I was able to substitute one
[tools.poe.env]
variable in another. Since 0.26.0, this no longer works. (Due to #214?)Let's try the following
pyproject.toml
file.Here is how the task
frobnicate
runs in different versions of Poe.The text was updated successfully, but these errors were encountered: