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

aws-sso-util: fix build without dependency on cmake or rust #118910

Closed
wants to merge 1 commit into from

Conversation

cho-m
Copy link
Member

@cho-m cho-m commented Dec 25, 2022

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

@BrewTestBot BrewTestBot added the python Python use is a significant feature of the PR or issue label Dec 25, 2022
Comment on lines +34 to +37
# Use poetry_core backend to avoid unnecessary cmake and rust build dependencies.
# Remove when release uses aws-error-utils>=2.6.
# Backport of https://github.com/benkehoe/aws-error-utils/commit/f23a4bb8703e8ffabf1d008e04495572cc12d4ee
patch :DATA
Copy link
Member Author

Choose a reason for hiding this comment

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

One demerit is patch may break brew bump logic.

Other options are:

  • Add cmake (and keep rust) dependency. Demerit is these are probably unnecessary.
  • Use poetry as dependency and manually run build command. Demerit is that we cannot use virtualenv_install_with_resources DSL which makes it harder to maintain.

Copy link
Member

Choose a reason for hiding this comment

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

link to that PR

Copy link
Member

@chenrui333 chenrui333 Dec 26, 2022

Choose a reason for hiding this comment

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

maybe we should also file a PR to update aws-sso-util to use aws-error-utils>=2.6

I see, it is just not released yet.

@cho-m cho-m mentioned this pull request Dec 25, 2022
Copy link
Member

@p-linnane p-linnane left a comment

Choose a reason for hiding this comment

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

brew bump seems to be the easiest to deal with if it breaks.

@BrewTestBot
Copy link
Member

:shipit: @p-linnane has triggered a merge.

@cho-m cho-m deleted the aws-sso-util-fix branch December 25, 2022 05:16
@github-actions github-actions bot added the outdated PR was locked due to age label Jan 26, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age python Python use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants