-
-
Notifications
You must be signed in to change notification settings - Fork 21
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 pypi as source #65
Changes from 3 commits
3ae7660
506ef40
8b81f78
905905e
8cb6ffd
814825e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
{% set name = "ruamel.yaml" %} | ||
{% set version = "0.15.80" %} | ||
|
||
package: | ||
name: ruamel_yaml | ||
name: {{ name | lower | replace(".", "_") }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this actually a different package then? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As I understand it, this is a mirror of the Anaconda Inc fork (ruamel_yaml) of the upstream project (ruamel.yaml). I'll hard-code the conda package name, but the upstream package is "ruamel.yaml". There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right, but there is a separate There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right. But there's also a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To be honest, I made this PR before I understood anything about the difference between the two packages, but now I wonder whether to give up on the "ruamel_yaml" package entirely. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I think giving up on one of them is the right move, and I think it is this one. |
||
version: {{ version }} | ||
|
||
source: | ||
url: https://bitbucket.org/ruamel/yaml/get/{{ version }}.tar.gz | ||
sha256: 8529f909d8983a2b80bb3af60e425c418edf54f2fa132d863c43b3353f901203 | ||
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz | ||
sha256: 4f203351575dba0829c7b1e5d376d08cf5f58e4a2b844e8ce552b3e41cd414e6 | ||
patches: | ||
- ordereddict_test.patch | ||
|
||
build: | ||
number: 1000 | ||
number: 1001 | ||
no_link: .*\.(pyd|dll) # [win] | ||
|
||
requirements: | ||
|
@@ -38,7 +39,7 @@ test: | |
- ruamel_yaml.ext._ruamel_yaml | ||
|
||
about: | ||
home: https://bitbucket.org/ruamel/yaml | ||
home: https://yaml.readthedocs.io/en/latest/ | ||
license: MIT | ||
license_family: MIT | ||
license_file: LICENSE | ||
|
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 is already a ruamel.yaml package
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.
This doesn't set the name of the package.
It just sets a variable that's used in the source/url templates.
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.
Yes, but you use the same source as another package that is already on conda-forge. If that is really the case, this whole recipe should just be an alias package instead
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.
This is just a fix for #64, so that this package can start updating again. There's a whole different discussion about whether this package should exist or not:
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 think those are very coupled conversations
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.
How so? Surely. if it exists (which it does) then it's better to update it, so that bug and security fixes can be included.
Besides, as I understand it from conda-forge/ruamel.yaml-feedstock#7 (Specifically conda-forge/ruamel.yaml-feedstock#7 (comment)), this package is supposed to be different from the
ruamel.yaml
package (via patches), even if it's the same upstream source.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.
Is this builds exactly the same source as another feedstock, then why should both of them exist?
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.
Because this version has patches (I think) so it's not exactly the same (I think)
Or is there an option to remove it?
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.
But you are getting the source from the other package here I thought, which is why I was confused
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.
Given #64, would it be better to just use the sourceforge repo as the new source?