-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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 dp-accounting #29073
Add dp-accounting #29073
Conversation
Hi! This is the staged-recipes linter and your PR looks excellent! 🚀 |
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/help-python, ready for review! |
recipes/dp-accounting/meta.yaml
Outdated
|
||
build: | ||
noarch: python | ||
script: {{ PYTHON }} -m pip install . -vv |
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.
script: {{ PYTHON }} -m pip install . -vv | |
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation |
- else: | ||
- return version_line.strip('\n \'"') | ||
+ """Return the version number from conda build.""" | ||
+ return "0.4.4" |
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.
Should it be 0.4.3?
patches: | ||
- set_version.patch | ||
- set_requirements.patch |
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 you can, please open issues upstream for the missing files and add a comment here so we can track the evolution of these patches.
Not sure that is going on with osx here but we don't need it to merge this PR. The package is noarch. |
OK, thank you! I have added an issue about the missing files: google/differential-privacy#286 I noticed that the PyPI tar.gz files are named slightly differently in version 0.4.3 and 0.4.4 - where in 0.4.3 (this meta.yaml) the file name is "dp-accounting-0.4.3.tar.gz" but for 0.4.4 it is named "dp_accounting-0.4.4.tar.gz" - does something need to be changed here to deal with both cases because it's using |
👍🏽
The import will work with either
For 2 see https://github.com/conda-forge/ioos_qc-feedstock/blob/main/recipe/meta.yaml for an example. |
Ok, so the URL will just need to be changed for 0.4.4? I believe it's just an odd naming for 0.4.4 because all the prior versions use the "-" naming as here. |
I think PyPI started enforcing TL;DR it is not the package/s fault. |
Checklist
url
) rather than a repo (e.g.git_url
) is used in your recipe (see here for more details).