Skip to content
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

CURA-10951_gh_build_curapackage #29

Merged
merged 7 commits into from
Sep 8, 2023
Merged

Conversation

jellespijker
Copy link
Member

@jellespijker jellespijker commented Aug 29, 2023

Modernized and make use of the new sipbuildtool and pyprojecttoolchain See: Ultimaker/conan-ultimaker-index#8

Merged to main because this is also a problem there, just not visible because of the caching on the runners

Conan test and build environment configuration has been revised and optimized. The commit includes changes in imports, dependencies, defining build requirements, generating virtual environments etc. Amended to support more strongly typed Conan feature, supporting cross-compilation, improving auto-detection settings for compiler abilities, and improving overall Conanfile structure. This change aims to improve build performance, reduce potential issues and make the project more maintainable.

contributes to CURA-10951
requirements are specified in conanfile.py directly

contributes to CURA-10951
contributes to CURA-10951
contributes to CURA-10951
no longer used in conan 2.0

contributes to CURA-10951
contributes to CURA-10951
contributes to CURA-10951
Copy link
Member

@rburema rburema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


required_conan_version = ">=1.50.0"

required_conan_version = ">=1.56.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per your own writeup, which mentions 1.57 and smaller as divergent in behaviour from what we've done for the repo's now, shouldn't this be >=1.58.0 instead?

You wrote:

... because conan <= 1.57 didn't create the build folder before the sip-build was run, ...

(Or maybe you're building this one still in the 'old' way, so we don't have to do that -- I'll look further.)

pp.blocks["tool_sip_project"].values["sip_files_dir"] = Path("python").as_posix()
mkdir(self, self.build_path) # FIXME: bad, this should not be necessary
pp.blocks["tool_sip_project"].values["sip_files_dir"] = str(Path("python").as_posix())
# mkdir(self, self.build_path) # FIXME: bad, this should not be necessary
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then remove it? ;-)

@rburema rburema merged commit d325acd into main Sep 8, 2023
9 checks passed
@rburema rburema deleted the CURA-10951_gh_build_curapackage branch September 8, 2023 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants