-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[package] cpython/all: Can't be built using Visual Studio Build Tools #12373
Comments
I have the same issue. Setting
|
Cpython recipe does not enforce project upgrade:
Should it be something configured in the project itself? Usually we recommend people installing Visual Studio Community edition. The environment variable |
But here |
strange, after I set
|
I found why, the previous error was because I used Building it statically, it fails when running
|
@bog-dan-ro My recommendation is using Visual Studio Community Edition. In the past we tried to use Build Tools for CI and was a nightmare trying to skip devenv or even installing as a separated tool. Some projects need devenv because are based only .sln files and they are not compatible if you don't update. |
@uilianries I created a dummy Shall I open a new bug report for #12373 (comment) ( It's a bit more complicated to use Visual Studio Community Edition. If you have a payed license you can freely use Build Tools on your CI, but you can not use Visual Studio Community Edition... The only option is to buy a new license and install the pro version. I also reported this problem to microsoft here https://developercommunity.visualstudio.com/t/devenv-is-missing-from-build-tools-2022/10138030 ... |
@bog-dan-ro The bug report is this PR. If you can build without project upgrade, the recipe should be updated. |
Bump cpython and requirements versions in the process. Close conan-io#12373
Bump cpython and requirements versions in the process. Close conan-io#12373
In case this is still relevant, I believe this is fixed in the CPython Conan 2 PR: #21387 No project upgrade occurs. |
Package and Environment Details
Conan profile
Configuration for profile default:
[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=17
build_type=Release
[options]
[conf]
[build_requires]
[env]
Steps to reproduce
devenv is not available on Visual Studio Build Tools and the build fails.
Is
_upgrade_single_project_file
step really necessary?Logs
No response
The text was updated successfully, but these errors were encountered: