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

conda-smithy 3.23.0 #246

Merged
merged 6 commits into from
Feb 24, 2023
Merged

conda-smithy 3.23.0 #246

merged 6 commits into from
Feb 24, 2023

Conversation

isuruf
Copy link
Member

@isuruf isuruf commented Feb 21, 2023

Merge only after success.

This pull request was auto-generated by rever

Closes #247

@isuruf isuruf requested a review from a team as a code owner February 21, 2023 20:44
@conda-forge-webservices
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Support for `shellcheck` in `conda-smithy` was added a while ago. However the dependency wasn't included here. This adds it.

conda-forge/conda-smithy@84652a0
recipe/meta.yaml Outdated Show resolved Hide resolved
recipe/meta.yaml Outdated
@@ -40,6 +43,7 @@ requirements:
- vsts-python-api
- toolz
- scrypt
- shellcheck
Copy link
Member

Choose a reason for hiding this comment

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

Support for shellcheck was added in PR ( conda-forge/conda-smithy#1122 ) some time ago, but the requirement was not included here. Have added it. Though please let me know if I'm missing something

Copy link
Member Author

Choose a reason for hiding this comment

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

It was removed in https://github.com/conda-forge/conda-smithy-feedstock/pull/188/files because of some issue I don't remember. Maybe shellcheck crashed?

Copy link
Member

Choose a reason for hiding this comment

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

Hmm...ok. Thanks for that detail. Unfortunate we don't have more history in that PR. Maybe @beckermr remembers more details?

Copy link
Member

Choose a reason for hiding this comment

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

I don’t recall either way but we don’t currently use it in conda forge for sure.

Copy link
Member

Choose a reason for hiding this comment

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

Was it related to issue ( conda-forge/conda-smithy#1316 )? AFAICT everything there has been fixed ( conda-forge/conda-smithy#1316 (comment) )

Copy link
Member

Choose a reason for hiding this comment

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

Thought shellcheck would only be used by the linter (when enabled), which is Linux x86_64 IIUC. If true, why would Linux ppc64le builds matter?

Copy link
Member

Choose a reason for hiding this comment

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

We wouldn’t be able to even use smithy on ppc64le regardless of the linter.

Copy link
Member

@jakirkham jakirkham Feb 23, 2023

Choose a reason for hiding this comment

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

We could add shellcheck to run_constrained

Edit: Would that be a fair compromise in general here? Considering we are concerned about fallout from making it a hard requirement?

Copy link
Member

Choose a reason for hiding this comment

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

Side note: Created PR ( conda-forge/shellcheck-feedstock#13 ) to add ppc64le to shellcheck. Unclear on why there wasn't a bot PR for this. Documented some history about what happened regarding shellcheck builds on other architectures.

Copy link
Member

Choose a reason for hiding this comment

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

Getting shellcheck to work on ppc64le appears to be non-trivial. Went ahead and moved to run_constrained and added a comment linking to issue ( #248 ). This at least provides a little context to recipe reviewers about what is going on there

Comment on lines +26 to +28
- setuptools >=45
- setuptools-scm >=7
- tomli >=1.0.0
Copy link
Member

Choose a reason for hiding this comment

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

Added these to line up with upstream build requirements included in this release

run_constrained:
# For more details about `shellcheck`, please see this issue.
# xref: https://github.com/conda-forge/conda-smithy-feedstock/issues/248
- shellcheck
Copy link
Member Author

Choose a reason for hiding this comment

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

run_constrained without a version here is a no-op right?

Copy link
Member

Choose a reason for hiding this comment

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

Yeah it is more documentation than anything

Copy link
Member

Choose a reason for hiding this comment

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

In that case, would a regular commented out dependency in the run section fulfil the same purpose? Or do you want it in the repodata, explicitly?

Copy link
Member

Choose a reason for hiding this comment

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

There was some support for doing this above ( #246 (comment) ). So had made this change

No strong feelings about other such changes

Copy link
Member

Choose a reason for hiding this comment

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

Do we want to make a change here before merging or are we happy to merge?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm fine either way

Copy link
Member

Choose a reason for hiding this comment

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

Cool, let's merge then. If we decide to handle this another way, we can do that in a new PR

@jakirkham jakirkham merged commit 0a4ba2a into conda-forge:main Feb 24, 2023
@jakirkham
Copy link
Member

Thanks Isuru! 🙏

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.

4 participants