Xav83 / chocolatey-packages

Implementation of the template to create and maintain chocolatey packages both manual and automatic (mostly automatic)
https://chocolatey.org/profiles/Xav83
Apache License 2.0
4 stars 4 forks source link

Conan does not work properly and does not find python modules #18

Open Sil3ntStorm opened 2 years ago

Sil3ntStorm commented 2 years ago

Chocolatey Version

1.1.0

Chocolatey License

No response

Package Version

1.53.0

Current Behaviour

Have a conan recipe that requires a specific conan version (say required_conan_version = '>= 1.50') and conan from chocolatey will report that the version is incorrect for the recipe processed. If you remove that, then it will complain about not finding python packages that have been installed through pip, despite python itself (also installed through choco) is perfectly happy to find them.

Installing conan from pip (again python has been installed using choco) the original recipe works just fine (as in the version check works and it finds the installed python packages).

Expected Behaviour

conan installed from choco behaves exactly the same as the one installed through pip.

Steps To Reproduce

install python and conan from choco attempt to install a package that requires modules that have been installed through pip (e.g. pprintpp) or require a specific conan version (older than installed). See it fail

Environment

- Operating System: Windows Server Core 2019 20H2
- PowerShell Version: 5.3
- Shell: PowerShell

Chocolatey Log

N/A

Anything else?

No response

Xav83 commented 2 years ago

Hi @Sil3ntStorm,

Thank you a lot for your very detailed bug report ! I will try to reproduce it on my machine in the next few days. :slightly_smiling_face:

Just to be sure, 2 days ago, a new version of conan has been released (the version 1.54.0). Can you still reproduce this issue with this new version ?