-
Notifications
You must be signed in to change notification settings - Fork 980
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
conan export-pkg command not passing --version to the recipe with Conan 2.2.3 #16223
Comments
I am afraid I cannot reproduce. I have tried locally and this seems to work correctly.
|
Please see the example attached. Command to create the python-require package:
|
Above works fine with Conan2.0.0. |
This worked till Conan 2.0.11, started failing from Conan2.0.12. |
Thanks very much, that really helped to reproduce the issue. It was being caused by the |
I am proposing a fix for this in #16224 Indeed, the addition of some checks back then caused this issue. Please note from https://docs.conan.io/2/introduction.html
So as this behavior was already in latest 2.0.17, it cannot be considered a regression, but a regular bugfix. Thanks very much for reporting! |
Thanks, I will wait for patch release 2.3.1. |
Closed by #16224, it will be in next 2.3.1 |
2.3.1 is out |
Thanks Conan-Io/Conan
…On Fri, May 17, 2024 at 8:23 AM James ***@***.***> wrote:
2.3.1 is out
—
Reply to this email directly, view it on GitHub
<#16223 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMGHP6L4QKDNSPP6LZVPFMLZCWV6LAVCNFSM6AAAAABHM52MTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJWHEYTMNRSHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
What is your question?
I was using Conan 2.0.0 and conan export-pkg --version "xyz" was working fine with version passed from command.
Recently started using latest Conan version 2.2.3. With this conan export-pkg command is not passing the --version value to the recipe. When I printed the version in recipe it shows None.
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: