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

Update savana to 1.0.4 (Resolve errors by pinning scikit-learn to 1.2.x) #42859

Merged
merged 4 commits into from
Sep 11, 2023

Conversation

helrick
Copy link
Contributor

@helrick helrick commented Sep 6, 2023

Attempted fix for reported issue with scikit-learn minor version (>=1.2.2 specified but 1.3.0 breaks, see: cortes-ciriano-lab/savana#27)


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

General instructions

  • 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.

Instructions for avoiding API, ABI, and CLI breakage issues

Conda is able to record and lock (a.k.a. pin) dependency versions used at build time of other recipes.
This way, one can avoid that expectations of a downstream recipe with regards to API, ABI, or CLI are violated by later changes in the recipe.
If not already present in the meta.yaml, make sure to specify run_exports (see here for the rationale and comprehensive explanation).
Add a run_exports section like this:

build:
  run_exports:
    - ...

with ... being one of:

Case run_exports statement
semantic versioning {{ pin_subpackage("myrecipe", max_pin="x") }}
semantic versioning (0.x.x) {{ pin_subpackage("myrecipe", max_pin="x.x") }}
known breakage in minor versions {{ pin_subpackage("myrecipe", max_pin="x.x") }} (in such a case, please add a note that shortly mentions your evidence for that)
known breakage in patch versions {{ pin_subpackage("myrecipe", max_pin="x.x.x") }} (in such a case, please add a note that shortly mentions your evidence for that)
calendar versioning {{ pin_subpackage("myrecipe", max_pin=None) }}

while replacing "myrecipe" with either name if a name|lower variable is defined in your recipe or with the lowercase name of the package in quotes.

Bot commands for PR management

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.

Note that the @BiocondaBot please merge command is now depreciated. Please just squash and merge instead.

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

@helrick helrick changed the title Fix savana (pin 1.2.x for scikit-learn) Bump savana to 1.0.4 (Resolve errors by pinning scikit-learn to 1.2.x) Sep 6, 2023
@helrick helrick changed the title Bump savana to 1.0.4 (Resolve errors by pinning scikit-learn to 1.2.x) Update savana to 1.0.4 (Resolve errors by pinning scikit-learn to 1.2.x) Sep 6, 2023
@helrick
Copy link
Contributor Author

helrick commented Sep 6, 2023

@BiocondaBot please add label

@BiocondaBot BiocondaBot added the please review & merge set to ask for merge label Sep 6, 2023
@helrick
Copy link
Contributor Author

helrick commented Sep 6, 2023

@BiocondaBot please update

@dpryan79
Copy link
Contributor

@BiocondaBot please fetch artifacts

@BiocondaBot
Copy link
Collaborator

Package(s) built on Azure are ready for inspection:

Arch Package Zip File
noarch savana-1.0.4-pyhdfd78af_0.tar.bz2 LinuxArtifacts

You may also use conda to install these after downloading and extracting the appropriate zip file. From the LinuxArtifacts or OSXArtifacts directories:

conda install -c ./packages <package name>

Docker image(s) built (images are in the LinuxArtifacts zip file above):

Package Tag Install with docker
savana 1.0.4--pyhdfd78af_0
showgzip -dc LinuxArtifacts/images/savana:1.0.4--pyhdfd78af_0.tar.gz | docker load

@dpryan79 dpryan79 merged commit 1c415c9 into bioconda:master Sep 11, 2023
@@ -25,7 +27,7 @@ requirements:
- pybedtools >=0.9.0
- pysam >=0.20.0
- cyvcf2 >=0.30.16
- scikit-learn >=1.2.2
- scikit-learn >=1.2.2,<1.3.0
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @dpryan79 I've just tested installing the newly merged 1.0.4 version of savana, with both conda and mamba, but version 1.3.0 of scikit-learn is still being installed though I've tried to pin it below 1.3.0 in the meta.yaml here. Would you be able to advise how best to pin the version of a dependency? Many thanks.

@helrick helrick deleted the fix/savana branch July 26, 2024 11:11
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