Skip to content

Conversation

@lbdreyer
Copy link
Contributor

@lbdreyer lbdreyer commented Jan 31, 2022

To create this I took a copy of the recipe from master, updated it to v3.2.0rc0.

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@conda-forge-linter
Copy link

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.

@lbdreyer
Copy link
Contributor Author

@conda-forge-admin, please rerender

@bjlittle
Copy link
Contributor

bjlittle commented Feb 1, 2022

@conda-grayskull show requirements

@conda-grayskull
Copy link

Working on your request...

Copy link
Contributor

@bjlittle bjlittle left a comment

Choose a reason for hiding this comment

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

@lbdreyer Looking good, but I've got a couple of outstanding questions, thanks 👍

Comment on lines +38 to 47
- name: scitools-iris
build:
noarch: generic
requirements:
run:
- {{ pin_subpackage('iris', max_pin="x.x.x") }}
test:
imports:
- iris
about:
Copy link
Contributor

Choose a reason for hiding this comment

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

@lbdreyer What's the advantage of doing this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess it is a minimal check that it built correctly.

Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't that what lines 34-36 are doing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My interpretation was that they were separate builds, so they each needed testing (this was originally done in https://github.com/conda-forge/iris-feedstock/pull/74/files).

I will have to do a bit more reading to check this though!

Copy link
Contributor Author

@lbdreyer lbdreyer Feb 1, 2022

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

@ocefpaf Do you have any guidance/opinion on this?

Copy link
Member

Choose a reason for hiding this comment

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

No strong opinion but I'd keep the extra test b/c it ensure the multiple output is working.

Comment on lines 1 to 2
channel_targets:
- conda-forge rc_iris
Copy link
Contributor

@bjlittle bjlittle Feb 1, 2022

Choose a reason for hiding this comment

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

@lbdreyer As this is a pre-release, don't we want to populate the rc_iris channel instead of main?

See https://conda-forge.org/docs/maintainer/knowledge_base.html#pre-release-builds

@conda-forge-linter
Copy link

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.

I do have some suggestions for making it better though...

For recipe:

  • Jinja2 variable references are suggested to take a {{<one space><variable name><one space>}} form. See lines [17].

@lbdreyer
Copy link
Contributor Author

lbdreyer commented Feb 1, 2022

Thanks for the review @bjlittle !
I believe I have addressed your comments now.

Co-authored-by: Bill Little <[email protected]>
@conda-forge-linter
Copy link

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.

@lbdreyer
Copy link
Contributor Author

lbdreyer commented Feb 1, 2022

@conda-forge-admin, please rerender

conda-forge-webservices[bot] and others added 2 commits February 1, 2022 15:57
@lbdreyer
Copy link
Contributor Author

lbdreyer commented Feb 2, 2022

@bjlittle This should now be good to go. I finally figured out why it was failing. It turns out I had the build script line "python -m pip install ..." in the wrong place.
Do you mind having another look at this?

@bjlittle
Copy link
Contributor

bjlittle commented Feb 3, 2022

@lbdreyer Awesome, thanks 🥳

@bjlittle bjlittle merged commit 462be7f into conda-forge:release-candidate Feb 3, 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.

6 participants