-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
Use bash calls explicitly instead of relying on executable permissions #330
Comments
If you have some time, I'd be very curious to know what happens when you do the following.
If they differ, this would be very interesting to know. If they are the same, this would also be good to know (though less surprising). |
Done. I cloned the diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index b2f928d..8e43c49 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -9,7 +9,7 @@ package:
build:
number: 0
- skip: true # [not osx]
+ skip: true # [win]
always_include_files:
- lib/libgfortran.dylib # [osx]
- lib/libgfortran.{{ libgfortran_version[0] }}.dylib # [osx]
Please let me know if you would like me to do some other tests. |
Ok, so that isn't surprising. Were you adding and committing the files with |
On Linux. |
Ah right because you said it was a shared folder. So the executable permissions don't get copied over to the host right? |
In any event, the simple fix should be PR ( #332 ). This should ensure everything runs through |
Thanks for the quick fix! 😄 |
As another option to consider (that has few other bonuses), have put together PR ( #336 ). It will automatically stage all changes in the index (assuming we have a git repo) including permission changes. As a bonus, this PR provides an option to commit either with the editor popped up or automatically (batch mode). Would be curious to see if this works well for you on Windows or not. Even if it doesn't help this issue per se, it will at least make doing lots of re-renderings much easier. 😄 |
Thanks for the pointer, I left a comment on that PR. 😁
Agreed, looks like a nice addition regardless. Btw, the last time I tried using |
Honestly I'd love to get a Windows user's feedback on |
Cool, I would be glad to help test it. I've subscribed to that issue to follow it closely. Thanks again for the incredible environment and excellent support! |
So I'm releasing Edit: Made a few minor patch releases since that should improve the user experience. |
@jakirkham thanks! I will try it again the next time I have to re-render something, I will be sure to give you some feedback then. Thanks again for the awesome support! |
So it looks like we can say tentatively that PR ( #336 ) fixed this based on field testing. Should we close this out or would you like to do some more testing to make sure? |
I'm good! Thanks again! 😄 |
As discussed in conda-forge/pytest-cov-feedstock#6,
conda smithy
should use explicit bash calls instead of relying on executable permissions because those can get lost on Windows.In that specific case, I was running a vagrant box on Windows and cloned pytest-cov-feedstock in a shared folder in order to re-render it.
The text was updated successfully, but these errors were encountered: