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

Adding seqlike, weblogo and python-codon-tables from PyPI #17283

Merged
merged 39 commits into from
Jan 13, 2022

Conversation

sugatoray
Copy link
Contributor

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.

@sugatoray
Copy link
Contributor Author

sugatoray commented Dec 17, 2021

Request for review. @BastianZim

@sugatoray
Copy link
Contributor Author

Ready for review.

cc: @conda-forge/help-python

@sugatoray
Copy link
Contributor Author

sugatoray commented Dec 17, 2021

Notes on Build Error

The windows build fails for some reason I am not sure why.

  • same place for linux build: (report)
  • windows build: (error)
  • search for 'seqlike.egg-info in the build log-output to compare what happened immediately afterward:
    • (a) when successful run,
    • (b) when failed run.

This does not impact anything

But this will not matter as linux-build successfully completes and all three packages are labeled as noarch: python. Once the packages are built on linux, they should be usable on any platform: win, osx, linux.

Notes on Build Status

  • On linux and osx all three builds pass: seqlike, weblogo and python-codon-tables.
  • On Windows only two builds pass: weblogo and python-codon-tables.

@sugatoray
Copy link
Contributor Author

sugatoray commented Dec 23, 2021

Current License Status for python-codon-tables

The following question was asked on conda-forge gitter (gitter.im/conda-forge/question-sugatoray).

image

The following was the suggestions made by @beckermr in the forum.

image


cc: @conda-forge/core Please see the license related issue above and advise.

- `seqlike`: removed extra script (commands)
- `python-codon-tables`: changed license type
  - using license "LicenseRef-PublicDomain"
@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/python-codon-tables, recipes/seqlike, recipes/weblogo) and found it was in an excellent condition.

I do have some suggestions for making it better though...

For recipes/python-codon-tables:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

For recipes/seqlike:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

For recipes/weblogo:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

@sugatoray
Copy link
Contributor Author

sugatoray commented Dec 23, 2021

Looks like someone has already added all three recipes to bioconda-recipes! It wasn't (seqlike) a few days ago though (when I started). What do you suggest?

@BastianZim

@BastianZim
Copy link
Member

Are all of them the same? Meaning not by name but also by source? In that case you can ask Bioconda to transfer the packages here (Best to talk to the maintainer there). Bioconda also uses conda-forge so anything that is available here will also be available there.

@sugatoray
Copy link
Contributor Author

sugatoray commented Dec 23, 2021

Are all of them the same? Meaning not by name but also by source? In that case you can ask Bioconda to transfer the packages here (Best to talk to the maintainer there). Bioconda also uses conda-forge so anything that is available here will also be available there.

What if these packages are published here and bioconda has it's own? Could that work (since these are two separate channels after all)? Also, the maintainers of seqlike want to have it on conda-forge (issue: modernatx/seqlike#4).

@BastianZim
Copy link
Member

What if these packages are published here and bioconda has it's own?

Being a good neighbour, this is generally not preferred (As it makes a mess on Bioconda side as far as I know) so it's better to ask them to bring the packages here. You can also ping the team above and ask them.

@beckermr
Copy link
Member

Yes we prefer to move things from bioconda if they are needed for stuff in conda-forge. Since bioconda uses conda-forge packages typically, this is generally not an issue.

@sugatoray
Copy link
Contributor Author

sugatoray commented Dec 23, 2021

Who do you contact for such issues typically? Just the maintainers of the packages on bioconda? Or, is there a core team of bioconda, which is also a necessary intermediary for the handover?

@beckermr
Copy link
Member

See the linter above: @conda-forge/bioconda-recipes.

@sugatoray
Copy link
Contributor Author

sugatoray commented Dec 23, 2021

Summary for porting/transferring bioconda recipes over to conda-forge

The three libraries that are being packaged here are now available on bioconda. However, the library-maintainers of seqlike would like to have the library available on conda-forge. It will be helpful if you could kindly transfer those over to conda-forge. The current maintainers of each library will also be added to the recipes here.

See (comment here).

cc: @conda-forge/bioconda-recipes


💡 I reached out to bioconda on their gitter. (gitter.im/bioconda)

@sugatoray
Copy link
Contributor Author

sugatoray commented Dec 23, 2021

Are all of them the same? Meaning not by name but also by source? In that case you can ask Bioconda to transfer the packages here (Best to talk to the maintainer there). Bioconda also uses conda-forge so anything that is available here will also be available there.

@BastianZim Just checked and found that the source of weblogo is github on bioconda. For the other two it is PyPI. So, does it (weblogo) require a transfer over to conda-forge?

@BastianZim
Copy link
Member

BastianZim commented Dec 23, 2021

Yes. Sometimes they have the same name but are completely different packages. Just wanted to make sure that’s not the case. So yes, all require transfer.

@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/python-codon-tables, recipes/seqlike, recipes/weblogo) and found it was in an excellent condition.

I do have some suggestions for making it better though...

For recipes/python-codon-tables:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

For recipes/seqlike:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

For recipes/weblogo:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.
  • Jinja2 variable references are suggested to take a {{<one space><variable name><one space>}} form. See lines [80].

@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/python-codon-tables, recipes/seqlike, recipes/weblogo) and found it was in an excellent condition.

I do have some suggestions for making it better though...

For recipes/python-codon-tables:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

For recipes/seqlike:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

For recipes/weblogo:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

@sugatoray
Copy link
Contributor Author

Added licenses for weblogo

I have included the licenses for weblogo after scanning the library.

cc: @jaimergp @beckermr

@sugatoray
Copy link
Contributor Author

sugatoray commented Jan 11, 2022

Windows build failure for seqlike

Interestingly, the windows build for seqlike fails: (error)

This was the case even before as well. (see comment)

  running install_scripts
  error: [WinError 2] The system cannot find the file specified
  Building wheel for seqlike (pyproject.toml): finished with status 'error'
  ERROR: Failed building wheel for seqlike
ERROR: Could not build wheels for seqlike, which is required to install pyproject.toml-based projects
Failed to build seqlike

cc: @BastianZim @beckermr

Comment on lines 44 to 45
- cp -r ${RECIPE_DIR}/licenses licenses # [not win]
- xcopy /s /e /q /i %RECIPE_DIR%\licenses licenses # [win]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need this. conda-build will also look for paths in RECIPE_DIR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested already. Thank you. Will remove this.

recipes/weblogo/meta.yaml Outdated Show resolved Hide resolved
recipes/weblogo/meta.yaml Outdated Show resolved Hide resolved
- attempt to read-in license filenames
@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipes/python-codon-tables, recipes/seqlike, recipes/weblogo) and found some lint.

Here's what I've got...

For recipes/python-codon-tables:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

For recipes/seqlike:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

For recipes/weblogo:

  • Failed to even lint the recipe, probably because of a conda-smithy bug 😢. This likely indicates a problem in your meta.yaml, though. To get a traceback to help figure out what's going on, install conda-smithy and run conda smithy recipe-lint . from the recipe directory.

For recipes/weblogo:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

sugatoray and others added 3 commits January 12, 2022 16:29
- try without copying "licenses" folder from recipe_dir
@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipes/python-codon-tables, recipes/seqlike, recipes/weblogo) and found some lint.

Here's what I've got...

For recipes/python-codon-tables:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

For recipes/seqlike:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

For recipes/weblogo:

  • Jinja2 variable definitions are suggested to take a {%<one space>set<one space><variable name><one space>=<one space><expression><one space>%} form. See lines [21]

For recipes/weblogo:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

@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/python-codon-tables, recipes/seqlike, recipes/weblogo) and found it was in an excellent condition.

I do have some suggestions for making it better though...

For recipes/python-codon-tables:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

For recipes/seqlike:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

For recipes/weblogo:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

@jaimergp
Copy link
Member

Thanks for your submission and keeping up with the review, @sugatoray! Please remember to submit a PR at bioconda to remove their recipes there.

@jaimergp jaimergp merged commit ade8c44 into conda-forge:main Jan 13, 2022
@sugatoray
Copy link
Contributor Author

Thank you @jaimergp. I will wait until all three are available on conda-forge (also need to push an empty PR for seqlike as it depends on the other two) and then ask Bioconda folks to remove their recipes.

@jaimergp
Copy link
Member

Ping me for the seqlike rebuild. We won't probably need an empty PR.

@sugatoray
Copy link
Contributor Author

@jaimergp Curious to know if rebuild is possible without any empty-PR.

@jaimergp
Copy link
Member

Yup, just retriggered it. You will see this "Re-run" link in when you click in the CI status of a commit:

image

@sugatoray
Copy link
Contributor Author

Thank you for your review and help in merging the PR.

@BastianZim @beckermr @jaimergp @dpryan79

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

Successfully merging this pull request may close these issues.

6 participants