-
Notifications
You must be signed in to change notification settings - Fork 480
Open
Labels
bugSomething isn't workingSomething isn't workingcli/provider-subcommandscdktf provider <verb> commandscdktf provider <verb> commandshelp wantedCommunity contributions welcome as the core team is unlikely to work on this soonCommunity contributions welcome as the core team is unlikely to work on this soonlanguage/pythonpriority/backlogLow priority (though possibly still important). Unlikely to be worked on within the next 6 months.Low priority (though possibly still important). Unlikely to be worked on within the next 6 months.size/mediumestimated < 1 weekestimated < 1 week
Description
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
cdktf & Language Versions
❯ cdktf --version
0.14.1
Affected Resource(s)
Debug Output
Expected Behavior
cdktf should have executed poetry run python main.py
, and never called pipenv
Actual Behavior
something inside cdktf calls "pipenv" even tho I've adjusted cdktf.json. Seems to me like it totally disregards the "app" attribute in the cdktf.json file
⠏ Synthesizing
[2022-11-18T18:54:22.986] [ERROR] default - Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead. You can set PIPENV_VERBOSITY=-1 to suppress this warning.
Steps to Reproduce
Created a cdk tf app using the template.
Switched from pipenv to poetry.
Deleted Pipfile* Replaced app
attr in cdktf.json with poetry run python main.py
.
Verified that simply running poetry run python main.py
works.
Tried running cdktf synth
This is the first time I'm looking at cdktf in about two years, and I'm quite certain I've used it with poetry before
Important Factoids
References
- #0000
haddon-korinek-ent, ecs-jnguyen, giner, jrester, martimors and 6 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcli/provider-subcommandscdktf provider <verb> commandscdktf provider <verb> commandshelp wantedCommunity contributions welcome as the core team is unlikely to work on this soonCommunity contributions welcome as the core team is unlikely to work on this soonlanguage/pythonpriority/backlogLow priority (though possibly still important). Unlikely to be worked on within the next 6 months.Low priority (though possibly still important). Unlikely to be worked on within the next 6 months.size/mediumestimated < 1 weekestimated < 1 week