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

MultiQC: Added module tests back to test failure #35553

Merged
merged 3 commits into from
Jun 28, 2022

Conversation

apeltzer
Copy link
Member

Attempt at fixing MQC 1.13a0 with proper module testing. Not sure what went wrong the last time though :-(


Please read the guidelines for Bioconda recipes before opening a pull request (PR).

  • If this PR adds or updates a recipe, use "Add" or "Update" appropriately as the first word in its title.
  • New recipes not directly relevant to the biological sciences need to be submitted to the conda-forge channel instead of Bioconda.
  • PRs require reviews prior to being merged. Once your PR is passing tests and ready to be merged, please issue the @BiocondaBot please add label command.
  • Please post questions on Gitter or ping @bioconda/core in a comment.
Please use the following BiocondaBot commands:

Everyone has access to the following BiocondaBot commands, which can be given in a comment:

@BiocondaBot please update Merge the master branch into a PR.
@BiocondaBot please add label Add the please review & merge label.
@BiocondaBot please fetch artifacts Post links to CI-built packages/containers.
You can use this to test packages locally.

For members of the Bioconda project, the following command is also available:

@BiocondaBot please merge Upload built packages/containers and merge a PR.
Someone must approve a PR first!
This reduces CI build time by reusing built artifacts.

Also, the bot watches for comments from non-members that include @bioconda/<team> and will automatically re-post them to notify the addressed <team>.

@apeltzer apeltzer requested a review from ewels June 28, 2022 17:49
recipes/multiqc/meta.yaml Outdated Show resolved Hide resolved
@ewels ewels changed the title Added module tests back to test failure MultiQC: Added module tests back to test failure Jun 28, 2022
@ewels ewels mentioned this pull request Jun 28, 2022
@ewels
Copy link
Member

ewels commented Jun 28, 2022

This is to fix the error seen here: nf-core/modules#1814 (review) which also seems to be the error happening in the BioConda CI tests:

$ docker run -it quay.io/biocontainers/multiqc:1.13a--pyhdfd78af_0
# multiqc
Traceback (most recent call last):
  File "/usr/local/bin/multiqc", line 10, in <module>
    sys.exit(multiqc())
TypeError: 'module' object is not callable

This bin/multiqc script is auto-generated by Conda during installation and doesn't come from the code base. It sounds to be like some kind of namespace error.

Note that this has been working for people doing pip installs directly from GitHub, as far as I know. So I think it's Conda-specific.

@ewels
Copy link
Member

ewels commented Jun 28, 2022

This diff shows what has changed since the last Bioconda release for v1.12: MultiQC/MultiQC@v1.12...master

One bit that catches my eye is a change in the function call in setup.py:

    entry_points={
        "console_scripts": [
-           "multiqc=multiqc.__main__:multiqc",
+           "multiqc=multiqc.__main__:run_multiqc",
        ],

Seems suspicious, but I'm not sure why that would break anything. I guess that this is the road that we need to go down to figure out and fix this error though.. 🤔

@apeltzer
Copy link
Member Author

Just added that to the PR :-)

@apeltzer
Copy link
Member Author

@BiocondaBot please add label

@BiocondaBot BiocondaBot added the please review & merge set to ask for merge label Jun 28, 2022
@apeltzer
Copy link
Member Author

Yeah was the missing entry point in the meta.yaml that was updated in between 1.12 --> 1.13.

Copy link
Member

@ewels ewels left a comment

Choose a reason for hiding this comment

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

My bad, should have spotted this the first time around sorry.

@apeltzer
Copy link
Member Author

My bad, should have spotted this the first time around sorry.

Our bad ;-)

@apeltzer
Copy link
Member Author

@BiocondaBot please merge

@BiocondaBot
Copy link
Collaborator

I will attempt to upload artifacts and merge this PR. This may take some time, please have patience.

@BiocondaBot BiocondaBot merged commit 9a7a38e into bioconda:master Jun 28, 2022
@apeltzer apeltzer deleted the mqc-1.13-fix branch June 28, 2022 19:01
jpfeuffer pushed a commit to OpenMS/bioconda-recipes that referenced this pull request Sep 7, 2022
Merge PR bioconda#35553, commits were: 
 * Trying fix for entry_point
 * Use checks from MQC 1.12 release
 * Added module tests back to test failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
please review & merge set to ask for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants