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

No python version argument in makePythonLock #1275

Closed
blotero opened this issue Jan 22, 2024 · 0 comments
Closed

No python version argument in makePythonLock #1275

blotero opened this issue Jan 22, 2024 · 0 comments

Comments

@blotero
Copy link

blotero commented Jan 22, 2024

Poetry offers a way to set the python environment version through poetry env use <python_version>.

Currently, when running makePythonLock on a project.toml which looks like:

[tool.poetry.dependencies]
python = "^3.12"

Will produce the following output:

[INFO] Generating poetry.lock
The currently activated Python version 3.11.6 is not supported by the project (^3.12).
Trying to find and use a compatible version.

Poetry was unable to find a compatible version. If you have one, you can explicitly use it via the "env use" command.

An additional python version argument is required in this builtin for letting poetry to know this detail.

blotero pushed a commit to blotero/makes that referenced this issue Jan 23, 2024
- added python version as argument for makePythonLock
- modified docs with latest feature
- added user to mailmap
blotero pushed a commit to blotero/makes that referenced this issue Jan 23, 2024
- added python version as argument for makePythonLock
- modified docs with latest feature
- added user to mailmap

Signed-off-by: Brandon Lotero <[email protected]>
dacevedo12 added a commit that referenced this issue Jan 23, 2024
feat(build): #1275 python version in lock
blotero pushed a commit to blotero/makes that referenced this issue Jan 23, 2024
- minox fix in typo for makePythonLock
dsalaza4 added a commit that referenced this issue Jan 23, 2024
@blotero blotero closed this as completed Jan 23, 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

1 participant