-
Notifications
You must be signed in to change notification settings - Fork 49
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
Create recipe.yaml for simplejson #458
base: main
Are you sure you want to change the base?
Changes from all commits
e5fe509
7b07395
f3fd8d0
1600c64
1948f0b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
context: | ||
version: 3.19.1 | ||
|
||
package: | ||
name: simplejson | ||
version: "{{ version }}" | ||
|
||
build: | ||
number: 0 | ||
|
||
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. should we also get the 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. you need to add such tests in the form of a def test_imports():
import simplejson
import simplejson._speedups |
||
source: | ||
- url: https://files.pythonhosted.org/packages/c0/5c/61e2afbe62bbe2e328d4d1f426f6e39052b73eddca23b5ba524026561250/simplejson-{{ version }}.tar.gz | ||
sha256: 6277f60848a7d8319d27d2be767a7546bc965535b28070e310b3a9af90604a4c | ||
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. missing 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. missing |
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.
since there are some C part to this library:
https://github.com/simplejson/simplejson/blob/master/simplejson/_speedups.c
shouldn't we also add
{{ compiler('c') }}
as a build requirement (see https://github.com/conda-forge/simplejson-feedstock/blob/main/recipe/meta.yaml#LL23C7-L23C26) or disable the speed ups withREQUIRE_SPEEDUPS
to make it pure python.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.
@proppy absolutely correct!