Skip to content
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 prolif #17499

Merged
merged 14 commits into from
Jun 7, 2022
Merged

add prolif #17499

merged 14 commits into from
Jun 7, 2022

Conversation

hadim
Copy link
Member

@hadim hadim commented Jan 12, 2022

Checklist

  • Title of this PR is meaningful: e.g. "Adding my_nifty_package", not "updated meta.yaml".
  • License file is packaged (see here for an example).
  • Source is from official source.
  • Package does not vendor other packages. (If a package uses the source of another package, they should be separate packages or the licenses of all packages need to be packaged).
  • If static libraries are linked in, the license of the static library is packaged.
  • Build number is 0.
  • A tarball (url) rather than a repo (e.g. git_url) is used in your recipe (see here for more details).
  • GitHub users listed in the maintainer section have posted a comment confirming they are willing to be listed there.
  • When in trouble, please check our knowledge base documentation before pinging a team.

@conda-forge-linter
Copy link

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 (recipes/prolif) and found it was in an excellent condition.

@hadim
Copy link
Member Author

hadim commented Jan 12, 2022

@cbouy the tests are failing with 0.3.4 and mdanalysis 2.0.0. Is that excepted, and should I disable those during the conda package build?

@hadim
Copy link
Member Author

hadim commented Jan 12, 2022

@conda-forge/staged-recipes please review

@cbouy
Copy link
Contributor

cbouy commented Jan 12, 2022

Hey @hadim, ProLIF uses a custom fork of MDAnalysis which hasn't yet made it to their main branch and is scheduled for v2.1.0 through this PR.

For this reason, it's not yet possible to upload prolif v0.3.4 and the previous ones to PyPI as the dependency for MDAnalysis is not mdanalysis >=2.0.0 in the setup.cfg file but mdanalysis @ git+https://github.com/cbouy/mdanalysis.git@prolif#subdirectory=package.
I'm not sure if conda accepts repos as dependencies, so it might have to wait for the PR to be merged.
I opened an issue for this on the ProLIF repo here.

Also beware that the version currently on PyPI (prolif v0.2.0) is the one from cbouy/ProLIF which I archived, and the current development moved to chemosim-lab/ProLIF so the about section needs an update.

PS: thanks again for taking care of the conda packaging though !!

@hadim
Copy link
Member Author

hadim commented Jan 12, 2022

Thanks @cbouy. The doc at https://prolif.readthedocs.io/en/latest/source/installation.html (bottom of the page) says to wait for mdanalysis 2.0.0, so I thought it was good to go.

Since we need to wait to 2.1.0, we can't merge here for the moment.

Blocked by MDAnalysis/mdanalysis#3446

@hadim
Copy link
Member Author

hadim commented Jan 12, 2022

@conda-forge/staged-recipes dont review and dont merge here please.

@hadim hadim marked this pull request as draft January 12, 2022 16:54
@hadim hadim changed the title add prolif add prolif (blocked by https://github.com/MDAnalysis/mdanalysis/issues/3446) Jan 12, 2022
@hadim hadim changed the title add prolif (blocked by https://github.com/MDAnalysis/mdanalysis/issues/3446) add prolif Jun 6, 2022
@hadim hadim marked this pull request as ready for review June 6, 2022 15:09
@hadim
Copy link
Member Author

hadim commented Jun 6, 2022

@cbouy do you want to review here before I ping a conda forge reviewer? Also do you want to be added as a maintainer?

@cbouy
Copy link
Contributor

cbouy commented Jun 6, 2022

Hey @hadim, sure!

Won't the mdanalysis >=2.2.0 requirement be ignored when running {{ PYTHON }} -m pip install . -vv? Since the setup.cfg still contains the mdanalysis @ git+https://github.com/cbouy/mdanalysis.git@prolif#subdirectory=package requirement.

Could you pin RDKit to >=2020.09.1?

Also, I'm planning on releasing 1.0.0 (PR chemosim-lab/ProLIF#54) with the correct requirement in the setup.cfg tomorrow (maybe even tonight) so might be worth to wait.

And yes, please add me to the maintainers.

@hadim
Copy link
Member Author

hadim commented Jun 6, 2022

Won't the mdanalysis >=2.2.0 requirement be ignored when running {{ PYTHON }} -m pip install . -vv? Since the setup.cfg still contains the mdanalysis @ git+https://github.com/cbouy/mdanalysis.git@prolif#subdirectory=package requirement.

It's in the recipe and so the users installing the package will have to respect mdanalysis >=2.2.0 which is what we want. Unless I misunderstood something?

so might be worth to wait.

yes I think it makes more sense. Ping me here when the release is on pypi and will update the PR.

recipes/prolif/meta.yaml Outdated Show resolved Hide resolved
@hadim
Copy link
Member Author

hadim commented Jun 7, 2022

@cbouy i think we are good here but feel free to review again.

@conda-forge/help-python ready for review

@ocefpaf ocefpaf merged commit afbd983 into conda-forge:main Jun 7, 2022
@hadim hadim deleted the prolif branch June 7, 2022 23:57
@hadim
Copy link
Member Author

hadim commented Jun 7, 2022

thanks @ocefpaf

@cbouy
Copy link
Contributor

cbouy commented Jun 8, 2022

thanks to both of you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants