Skip to content

Documentation says build.tools.python: 3 should work but it doesnt #10757

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

Closed
mithro opened this issue Sep 20, 2023 · 1 comment
Closed

Documentation says build.tools.python: 3 should work but it doesnt #10757

mithro opened this issue Sep 20, 2023 · 1 comment

Comments

@mithro
Copy link

mithro commented Sep 20, 2023

The docs say that you can use 3 to get the (latest stable CPython version) however, when you try and use that value in your configuration the build will fail with;

Error
Problem in your project's configuration. Invalid configuration option "build.tools.python": expected one of (2.7, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3, miniconda3-4.7, mambaforge-4.10, mambaforge-22.9), got 3

Se the following screenshots;

image

image

@humitos
Copy link
Member

humitos commented Sep 20, 2023

This is a known bug. Please use build.tools.python: "3" (note the quotes). Duplicated of #10502

@humitos humitos closed this as completed Sep 20, 2023
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