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

Add Windows recipe #2

Merged
merged 23 commits into from
Sep 22, 2016
Merged

Add Windows recipe #2

merged 23 commits into from
Sep 22, 2016

Conversation

shadowwalkersb
Copy link
Contributor

No description provided.

@conda-forge-linter
Copy link

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

I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.

Here's what I've got...

For recipe:

  • Selectors are suggested to take a <two spaces>#<one space>[<expression>] form.

@jakirkham
Copy link
Member

Please add python to build requirements for Windows only. Also please add it the test requirements for Windows only with Python version specified like so python {{ environ['PY_VER'] + '*' }}.

@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.

@jakirkham
Copy link
Member

Once the above is addressed, please re-render.

@@ -11,7 +11,7 @@ source:

build:
number: 0
skip: true # [not linux]
skip: false
Copy link
Member

Choose a reason for hiding this comment

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

Actually OS X is still not supported. So it should skip OS X.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How about this?

skip: true # [osx]

@jakirkham
Copy link
Member

To get the CI files we actually generate them. Not sure that happened here. Please do the following.

  • conda install -y -n root conda-smithy
  • cd <some feedstock>
  • conda smithy rerender
  • Commit all changes and push.

echo "%%f% NOT found."
exit 1
)
)
Copy link
Member

Choose a reason for hiding this comment

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

This can be absorbed above. Please see this.

@jakirkham
Copy link
Member

Should add the CircleCI failure should be fixed in master (unless there are other causes for failure in this PR). So merging with that should solve this build failure.

@jakirkham
Copy link
Member

Seems to have merge conflicts. 😕 Maybe try merging with master.

@jakirkham
Copy link
Member

So we still need that re-rendering. Would recommend merging with master here. May need to fetch first though.

@shadowwalkersb
Copy link
Contributor Author

shadowwalkersb commented Aug 30, 2016

IMO, these instructions should go into Update a Package section on the home page.

  • conda install -y -n root conda-smithy
  • cd <some feedstock>
  • conda smithy rerender
  • Commit all changes and push.

@jakirkham
Copy link
Member

They aren't always needed. Only when adding things like support for other CIs or some other special cases does one actually need to do this. Adding instructions somewhere is a good idea, but the webpage doesn't quite seem like the right spot. Perhaps this Readme or the docs.

- if not exist %LIBRARY_INC%\\GL\\freeglut_std.h exit 1 # [win and py27]
- if not exist %LIBRARY_INC%\\GL\\glut.h exit 1 # [win and py27]
- if not exist %LIBRARY_LIB%\\freeglut.lib exit 1 # [win and py27]
- if not exist %LIBRARY_BIN%\\freeglut.dll exit 1 # [win and py27]
Copy link
Member

Choose a reason for hiding this comment

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

Why do these need Python selectors? Should just be Windows right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry. When you pointed me to the boost recipe, I assumed we needed python selectors, too. I guess, it was the if not exist .... part only.

@shadowwalkersb
Copy link
Contributor Author

Hmm, I see. The Readme didn't catch my attention. I guess, I saw the beginning and the cartoon, but the smithy stuff, I just overlooked. The docs, I don't remember seeing them before. I'll have to take a closer look at both. Thanks! Also, thanks for the boost link above. So, that is what Jinja is. Now, I can dive into that, too!

@shadowwalkersb
Copy link
Contributor Author

shadowwalkersb commented Aug 30, 2016

Is this a typo in the documentation?

test:
  requires:
    nose

http://conda.pydata.org/docs/building/meta-yaml.html#test-requirements

Shouldn't it be

test:
  requires:
    - nose

Update: Just submitted a PR (conda/conda-docs#338).

@shadowwalkersb
Copy link
Contributor Author

Are there any reasons not to accept this PR? I don't want to upload the package to my own channel to be able to use it if not completely necessary.

@@ -11,21 +11,32 @@ source:

build:
number: 0
Copy link
Member

Choose a reason for hiding this comment

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

Please bump the build number to 1.

@jakirkham
Copy link
Member

Please add yourself as a maintainer by adding your GitHub handle to the recipe-maintainers list.

@jakirkham
Copy link
Member

Are there any reasons not to accept this PR?

Not that I know of. There are some minor easy final things. Otherwise 👍 for merging. Just busy is all. 😄

@shadowwalkersb
Copy link
Contributor Author

shadowwalkersb commented Sep 1, 2016

I am not sure why AppVeyor build was canceled. How do we rebuild, if there aren't any other problems?

@jakirkham
Copy link
Member

jakirkham commented Sep 1, 2016

Sorry, I canceled it yesterday because we had to get a critical fix out for a bug that was causing all builds to fail and all uploads to fail. See PR ( conda-forge/conda-forge-build-setup-feedstock#27 ).

Will restart this now. Thanks for the reminder.

@jakirkham
Copy link
Member

Build had failed, but failure was spurious. Restarted.

@shadowwalkersb
Copy link
Contributor Author

... and failed again?!

@shadowwalkersb
Copy link
Contributor Author

ping

@jakirkham
Copy link
Member

Restarted again.

@shadowwalkersb
Copy link
Contributor Author

Great, it is done!

@shadowwalkersb
Copy link
Contributor Author

  1. Why is circle_ci check reported here the one from my circle_ci?
  2. There is a problem with 64-bit architecture on Windows. It runs the 32-bit generator. We don't check for that in tests. So, the tests pass.

@jakirkham
Copy link
Member

Because CircleCI checks out the head ref of the PR and not the merge ref. If you rebase/merge with master, it should be fine.

@shadowwalkersb
Copy link
Contributor Author

shadowwalkersb commented Sep 7, 2016

Is it OK to rebase and force-push? Or should I merge?

@shadowwalkersb
Copy link
Contributor Author

I had merged, ba1d418.

@jakirkham
Copy link
Member

Either is fine with me.

@jakirkham
Copy link
Member

Toggling to retest.

@jakirkham jakirkham closed this Sep 22, 2016
@jakirkham jakirkham reopened this Sep 22, 2016
@jakirkham
Copy link
Member

Could you please try merging into master again? It appears that CircleCI is still running into a fixed issue in master.

@shadowwalkersb
Copy link
Contributor Author

It is merged/rebased. Anything else I can do? I am allowing maintainer-edits, if it helps.

@shadowwalkersb
Copy link
Contributor Author

I've deleted my other remote branch. Does that help?

@jakirkham
Copy link
Member

Could you try deleting the CircleCI project for this feedstock on your org? I think it might be confusing things.

@shadowwalkersb
Copy link
Contributor Author

Delete empty commits and force-push or is it OK this way?

@jakirkham
Copy link
Member

Nope this is fine. Thanks.

@jakirkham jakirkham merged commit d713f84 into conda-forge:master Sep 22, 2016
@jakirkham
Copy link
Member

Thanks @shadowwalkersb.

@jakirkham
Copy link
Member

Soon (within 24-hrs) you should get an email that invite you to join conda-forge, @shadowwalkersb. Once accepted you will be added to a team with the same name as this recipe. Those will give you permissions on the feedstock (repo) for this recipe.

Make sure when proposing any change that you go through the typical GitHub workflow of forking the feedstock and making changes in your fork that you PR back. Once merged CIs will build and deploy any changes you make.

Please let us know if you have any questions and welcome to conda-forge. :)

@shadowwalkersb
Copy link
Contributor Author

Thanks! Pleasure to be onboard!

@shadowwalkersb
Copy link
Contributor Author

When is the windows version of freeglut going to be available on anaconda's conda-forge channel?

- cmd: conda install -n root --quiet --yes conda-forge-build-setup
- cmd: run_conda_forge_build_setup
# This needs to be updated to conda-forge channel before PR
- appveyor DownloadFile "https://raw.githubusercontent.com/shadowwalkersb/conda-smithy/fix-appveyor-vc9-64/appveyor/setup_x64.bat"
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 just realized that this was left over and made it to master.

Copy link
Member

Choose a reason for hiding this comment

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

Re-rendering in PR ( #7 ), which will strip this out. Also added a build number bump to get a clean build without this change.

Copy link
Member

Choose a reason for hiding this comment

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

So this fails without it, but it is because we are using the VS generator. If we switch to NMake, I expect this goes away.

Copy link
Member

Choose a reason for hiding this comment

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

There is a package that was in the works in PR ( conda-forge/staged-recipes#617 ), which needs to be revitalized. It does a similar thing to what is being done here. Could you please take a look at it? If you have time, it would great to get that package fixed up so it could clear staged-recipes.

@shadowwalkersb
Copy link
Contributor Author

When is the windows version of freeglut going to be available on anaconda's conda-forge channel? It is still linux only.


screen shot 2016-10-10 at 7 27 31 pm

@jakirkham
Copy link
Member

That's pretty strange. It should already be up there. Could you please open a new issue, @shadowwalkersb ?

appveyor:
secure:
BINSTAR_TOKEN: MP4hZYylDyUWEsrt3u3cod2sbFeRwUziH02mvQOdbjsTO/l1yIxDkP/76rSIjcGC
BINSTAR_TOKEN: 4ef5IUakGqqw7GSfuIp93Q4MdAC1VnweE1kFVAOUs6ThPDQWBqNpGaq6ZuEbX1FL
Copy link
Member

Choose a reason for hiding this comment

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

Reverted in PR ( #12 ).

CONDA_PY: "27"
BINSTAR_TOKEN:
# The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml.
secure: 4ef5IUakGqqw7GSfuIp93Q4MdAC1VnweE1kFVAOUs6ThPDQWBqNpGaq6ZuEbX1FL
Copy link
Member

Choose a reason for hiding this comment

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

Changed to the original secure token in PR ( #12 ).

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.

3 participants