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 win10toast recipe #11051
Add win10toast recipe #11051
Conversation
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 ( |
@conda-forge/staged-recipes : This PR is ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build from source, not wheels
recipes/win10toast/meta.yaml
Outdated
version: {{ version }} | ||
|
||
source: | ||
git_url: https://github.com/jithurjacob/Windows-10-Toast-Notifications.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please install from a tarball rather than a repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sadly, there is no tarball available for this project (on PyPi or on GitHub releases).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Github will generate a tarball for you if it is tagged though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are no tags on the repo either :/.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm I think we need to encourage the devs to release an actual source tarball, either with twine sdist
or by git tag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, but as I mentioned in a comment, it is a package that hasn't been updated in a while even for simple fixes (one of which required the patch), and has multiple open, unresponded PRs. The absence of this recipe was blocking a version update on another project that I contribute to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with Anthony that the developers should be encouraged to release an official tarball, so opening an issue regarding wouldn't hurt.
Looks like the PyPI wheel was updated on 01/25/2018 which corresponds with commit "9d52b73f1af6c60162cf09b99269c4f7b13cdb00", so maybe url: https://github.com/jithurjacob/Windows-10-Toast-Notifications/archive/9d52b73.tar.gz
can be used in the meantime ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there's no tag in github, I don't see an issue with using the wheel.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that's why I used a wheel at start. Happy to use the tarball from the latest commit and opening an issue at source requesting a tag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switched source to the commit tarball, opened an issue at source.
@scopatz : Thanks for taking a look at this and the recommendations. I cannot find a tarball for this package on PyPi, which is why I went the wheel way, and am now trying to get the github source working. It is quite an outdated package that hasn't been updated in >1 year and some recent PRs for fixes at source are not updated. |
Switch to git source Add patch to recipe
Thanks for reviewing and approving, @scopatz! |
@conda-forge/staged-recipes : Bump, can someone please merge this? |
@conda-forge/staged-recipes : Bump, this is ready to merge. |
Checklist
url
) rather than a repo (e.g.git_url
) is used in your recipe (see here for more details)