ml_privacy_meter icon indicating copy to clipboard operation
ml_privacy_meter copied to clipboard

Add conda recipe

Open sarthakpati opened this issue 2 years ago • 2 comments

It would be great to have a conda recipe so that it can be included with projects that have more complicated build processes (for example, using libraries that need C/C++ compilers).

sarthakpati avatar Aug 30 '22 13:08 sarthakpati

I have already made a recipe: https://github.com/conda-forge/staged-recipes/pull/20256

This would auto-updated whenever a new version is pushed to pypi.

sarthakpati avatar Aug 30 '22 14:08 sarthakpati

I have already made a recipe: conda-forge/staged-recipes#20256

This would auto-updated whenever a new version is pushed to pypi.

Happy to add any other maitainer as needed.

sarthakpati avatar Aug 30 '22 14:08 sarthakpati

Thank you so much @sarthakpati , for your contribution. We really appreciate it! I will test it and merge the pull request.

changhongyan123 avatar Oct 06 '22 06:10 changhongyan123

Hi @changhongyan123, did you manage to check this PR?

sarthakpati avatar Oct 19 '22 18:10 sarthakpati

Hi @sarthakpati , I encountered the following issues. Do you have any ideas about solving this issue?

The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
  - defaults/osx-64::scikit-learn==0.24.1=py38hb2f4e1b_0
  - defaults/osx-64::scikit-image==0.18.1=py38hb2f4e1b_0
  - defaults/osx-64::patsy==0.5.1=py38_0
  - defaults/osx-64::astropy==4.2.1=py38h9ed2024_1
  - defaults/osx-64::anaconda==2021.05=py38_0
  - defaults/noarch::seaborn==0.11.1=pyhd3eb1b0_0
  - defaults/osx-64::statsmodels==0.12.2=py38h9ed2024_0

changhongyan123 avatar Oct 27 '22 12:10 changhongyan123

2 questions:

  • Are you creating a brand new environment?
  • Are the package requirements consistent with what you expect for ml_privacy_meter? Asking because the conda recipe seems to be consistent with it.

sarthakpati avatar Oct 27 '22 13:10 sarthakpati

@sarthakpati Thank you for your prompt reply. I solved the problem. Previously, I tested on conda env of version 4.10.3. When testing on conda env 4.12.0, privacy-meter can be installed correctly.

Thank you so much for your contribution :)! I will forward this pull request to the repository admin.

changhongyan123 avatar Oct 27 '22 14:10 changhongyan123

Great!

sarthakpati avatar Oct 27 '22 14:10 sarthakpati