-
Notifications
You must be signed in to change notification settings - Fork 991
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
BUGFIX: Fail if no 'os' is specified in build profile and want to run an exte… #11728
BUGFIX: Fail if no 'os' is specified in build profile and want to run an exte… #11728
Conversation
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.
Looking good
@@ -15,7 +15,6 @@ class SynchronizeTest(unittest.TestCase): | |||
|
|||
def test_upload(self): | |||
client = TestClient(servers={"default": TestServer()}, inputs=["admin", "password"]) | |||
save(client.cache.default_profile_path, "") |
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.
Why removing this is necessary? It seems only export + upload are used here, which should never need the profile at all?
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.
The line 73 is doing client.run("install --requires=%s --build missing" % str(ref))
so building the package.
Changelog: Bugfix: If the 'os' is not specified in the build profile and a recipe, in Windows, wanted to run a command, it failed to prepend the build environment launcher causing a hard-to-debug command line error. Now Conan raises if the "os" is not declared in that case.
Docs: omit
Close #11727