Skip to content

fix pip_compile pip_compile select_golden_requirements_file invocation arguments#826

Merged
hrfuller merged 1 commit intobazel-contrib:mainfrom
lripoche:fix-pip-compile-golden-requirements
Sep 12, 2022
Merged

fix pip_compile pip_compile select_golden_requirements_file invocation arguments#826
hrfuller merged 1 commit intobazel-contrib:mainfrom
lripoche:fix-pip-compile-golden-requirements

Conversation

@lripoche
Copy link
Copy Markdown
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature (please, look at the "Scope of the project" section in the README.md file)
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Linux's requirement file is not found by pip_compile select_golden_requirements_file function. Common requirement.txt is used as default causing test to fail.

What is the new behavior?

By fixing select_golden_requirements_file arguments order at invocation, the configuration file is found.

Does this PR introduce a breaking change?

  • Yes
  • No

@google-cla
Copy link
Copy Markdown

google-cla bot commented Sep 12, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@lripoche lripoche changed the title fix arguments order fix pip_compile pip_compile select_golden_requirements_file invocation arguments Sep 12, 2022
@lripoche lripoche force-pushed the fix-pip-compile-golden-requirements branch from bf4290c to 0ded26f Compare September 12, 2022 14:07
Copy link
Copy Markdown
Contributor

@hrfuller hrfuller left a comment

Choose a reason for hiding this comment

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

Thanks!

@hrfuller hrfuller merged commit 03dc137 into bazel-contrib:main Sep 12, 2022
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