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

Fix conda lockfile docs / make lockfile generation easier #1478

Merged
merged 3 commits into from
Mar 29, 2023

Conversation

t14916
Copy link
Contributor

@t14916 t14916 commented Mar 22, 2023

Creates a callable script that is also used by build-setup.sh to generate the conda lockfile, which makes it easier to make changes to dependencies / move dependencies between ci-shared and general.

Related PRs / Issues

UI / API Impact

Only UI change is instead of manually running conda-lock, there is now a script that generates the lockfile.

Verilog / AGFI Compatibility

Contributor Checklist

  • Is this PR's title suitable for inclusion in the changelog and have you added a changelog:<topic> label?
  • Did you add Scaladoc/docstring/doxygen to every public function/method?
  • Did you add at least one test demonstrating the PR?
  • Did you delete any extraneous prints/debugging code?
  • Did you state the UI / API impact?
  • Did you specify the Verilog / AGFI compatibility impact?
  • If applicable, did you regenerate and publicly share default AGFIs?
  • If applicable, did you apply the ci:fpga-deploy label?
  • If applicable, did you apply the Please Backport label?

Reviewer Checklist (only modified by reviewer)

Note: to run CI on PRs from forks, comment @Mergifyio copy main and manage the change from the new PR.

  • Is the title suitable for inclusion in the changelog and does the PR have a changelog:<topic> label?
  • Did you mark the proper release milestone?
  • Did you check whether all relevant Contributor checkboxes have been checked?

build-setup-nolog.sh Show resolved Hide resolved
@t14916 t14916 added the changelog:omit Do not include this PR in the changelog label Mar 24, 2023
@@ -0,0 1,8 @@
#!/bin/sh

REQS_DIR="$(pwd)/conda-reqs"
Copy link
Contributor

@abejgonzalez abejgonzalez Mar 24, 2023

Choose a reason for hiding this comment

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

This should be more robust so that it can be called in multiple places. I would use the following: https://stackoverflow.com/questions/59895/how-do-i-get-the-directory-where-a-bash-script-is-located-from-within-the-script. Then you can change the comment.

Copy link
Contributor

@abejgonzalez abejgonzalez left a comment

Choose a reason for hiding this comment

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

LGTM

@abejgonzalez abejgonzalez merged commit f59b064 into main Mar 29, 2023
@abejgonzalez abejgonzalez deleted the tsondhi/conda-lock-gene-adjustments branch March 29, 2023 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:omit Do not include this PR in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants