-
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
import is used which is only available from conan >= 1.46.0 #11956
Conversation
This comment has been minimized.
This comment has been minimized.
I detected other pull requests that are modifying boost/all recipe:
This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@nilsnolde thank you for your contribution, please, ask for access request first: #11956 (comment) |
more a philosophy question: in this simple case we could also have a conditional import e.g. try: # >= 1.46.0
from conan.tools.build import cross_building
except:
from conans.tools import cross_building is that smth you do generally, or you avoid version conditionals and just increase the min conan version? |
@nilsnolde Conan client parses People need to update their Conan client. Also, Conan Center Index expects it: https://github.com/conan-io/conan-center-index/blob/master/docs/how_to_add_packages.md#submitting-a-package |
This comment has been minimized.
This comment has been minimized.
right.. then bumping the min version won't prevent the recipe to fail with conan < 1.46.0 with the same btw, I asked for access, should come soon I guess. does the ci job somehow schedule itself or I need to do smth after I got access? |
No, because there are more features involved than only
The access request process is executed 3 times every week. A bot collects the new names, Conan team checks those new users, then approve (or not in case a suspicious profile). After that, the CI bot will re-run automatically all PRs which were waiting for the Access Request. |
All green in build 3 (
|
Hooks produced the following warnings for commit 59fd98fboost/1.72.0
boost/1.70.0
boost/1.76.0
boost/1.73.0
boost/1.71.0
boost/1.75.0
boost/1.77.0
boost/1.74.0
boost/1.78.0
boost/1.79.0
|
Specify library name and version: boost/all
fixes #11955
in fact the import in question wasn't released until v1.46.x: https://github.com/conan-io/conan/blob/release/1.46/conan/tools/build/__init__.py