-
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
icu: validate dat package file exists #14980
icu: validate dat package file exists #14980
Conversation
This comment has been minimized.
This comment has been minimized.
These changes now build on a sufficiently new version of Conan 2.0 (that is to say, newer that what CCI is presently running) but they fail the v2 migration lint checks because they rely on _get_gnu_triplet, which is not part of the published V2 API. While there are various threads on related topics (e.g., conan-io/conan#12546 and conan-io/conan#7565), it's not obvious (at least to me) that the solutions to these issues will obviate the need expressed in this recipe. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
Two small question, I am not sure about the private import 🤔 so I asked the team to see since it's planned for the next release
recipes/icu/all/conanfile.py
Outdated
from conan.tools.env import Environment, VirtualBuildEnv | ||
from conan.tools.files import apply_conandata_patches, copy, export_conandata_patches, get, mkdir, rename, replace_in_file, rm, rmdir, save | ||
from conan.tools.gnu import Autotools, AutotoolsToolchain | ||
from conan.tools.gnu.get_gnu_triplet import _get_gnu_triplet # Ugly but not currently exported in Conan 2.0 |
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.
conan-io/conan#12546 is marked for 1.57 so I poked the dev team to see what might come of it 🤞
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
does this fix ios on mac m1? |
Co-authored-by: Marian Klymov <nekto1989@gmail.com>
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Marian Klymov <nekto1989@gmail.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I detected other pull requests that are modifying icu/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.
Few extra infos are there
recipes/icu/all/conanfile.py
Outdated
|
||
required_conan_version = ">=1.53.0" | ||
required_conan_version = ">=1.54.0" |
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.
required_conan_version = ">=1.54.0" | |
required_conan_version = ">=1.57.0" |
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.
3 tiny comments and FYI there's merge conflicts but otherwise this looks really good 👍
there's merge conflict and @jcar87 has a conflicting PR that's green just FYI |
Trying to fix this 🤞 |
(its not used in CCI so lets ignore it)
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.
def validate(self): | ||
if self.options.dat_package_file: | ||
if not os.path.exists(self.options.dat_package_file): | ||
raise ConanInvalidConfiguration("Non-existent dat_package_file specified") |
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.
if it didn't exist it would fail in package_id() before hand anyway.
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ✔️All green in build 21 (
Conan v2 pipeline (informative, not required for merge) ✔️
All green in build 22 ( |
Not sure to understand the new scope of this PR now. As I said, this check is useless because if dat package file was not an existing file, it would fail anyway in |
Specify library name and version: icu71.1
Addressed some issues that were preventing ICU use with Conan 2.0 as noted in #14979 and #12888