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

gtdbtk: use fastani >= 1.32, as per #36934 #52772

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

dslarm
Copy link
Contributor

@dslarm dslarm commented Dec 12, 2024

fastani was incorrectly set to = 1.32, which is causing issues building now that fastani recipes only builds 1.34. The docs (per #36934) say > 1.32

Describe your pull request here


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

@dslarm dslarm mentioned this pull request Dec 12, 2024
@dslarm
Copy link
Contributor Author

dslarm commented Dec 12, 2024

linux-aarch64 builds fine.
x86_64 upstream and this PR both fail with same error:

1:30:12 BIOCONDA INFO (ERR)   Running command Preparing metadata (pyproject.toml)
21:30:12 BIOCONDA INFO (ERR) ERROR: Exception:
21:30:12 BIOCONDA INFO (ERR) Traceback (most recent call last):
21:30:12 BIOCONDA INFO (ERR)   File "/home/david/miniforge3/envs/bioconda/conda-bld/gtdbtk_1734038893375/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.13/site-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper
21:30:12 BIOCONDA INFO (ERR)     status = _inner_run()
21:30:12 BIOCONDA INFO (ERR)   File "/home/david/miniforge3/envs/bioconda/conda-bld/gtdbtk_1734038893375/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.13/site-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run
21:30:12 BIOCONDA INFO (ERR)     return self.run(options, args)
21:30:12 BIOCONDA INFO (ERR)            ~~~~~~~~^^^^^^^^^^^^^^^
21:30:12 BIOCONDA INFO (ERR)   File "/home/david/miniforge3/envs/bioconda/conda-bld/gtdbtk_1734038893375/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.13/site-packages/pip/_internal/cli/req_command.py", line 67, in wrapper
21:30:12 BIOCONDA INFO (ERR)     return func(self, options, args)
21:30:12 BIOCONDA INFO (ERR)   File "/home/david/miniforge3/envs/bioconda/conda-bld/gtdbtk_1734038893375/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.13/site-packages/pip/_internal/commands/install.py", line 379, in run
21:30:12 BIOCONDA INFO (ERR)     requirement_set = resolver.resolve(
21:30:12 BIOCONDA INFO (ERR)         reqs, check_supported_wheels=not options.target_dir
21:30:12 BIOCONDA INFO (ERR)     )
21:30:12 BIOCONDA INFO (ERR)   File "/home/david/miniforge3/envs/bioconda/conda-bld/gtdbtk_1734038893375/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 76, in resolve
21:30:12 BIOCONDA INFO (ERR)     collected = self.factory.collect_root_requirements(root_reqs)
21:30:12 BIOCONDA INFO (ERR)   File "/home/david/miniforge3/envs/bioconda/conda-bld/gtdbtk_1734038893375/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 545, in collect_root_requirements
21:30:12 BIOCONDA INFO (ERR)     reqs = list(
21:30:12 BIOCONDA INFO (ERR)         self._make_requirements_from_install_req(
21:30:12 BIOCONDA INFO (ERR)     ...<2 lines>...
21:30:12 BIOCONDA INFO (ERR)         )
21:30:12 BIOCONDA INFO (ERR)     )
21:30:12 BIOCONDA INFO (ERR)   File "/home/david/miniforge3/envs/bioconda/conda-bld/gtdbtk_1734038893375/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 501, in _make_requirements_from_install_req
21:30:12 BIOCONDA INFO (ERR)     cand = self._make_base_candidate_from_link(
21:30:12 BIOCONDA INFO (ERR)         ireq.link,
21:30:12 BIOCONDA INFO (ERR)     ...<2 lines>...
21:30:12 BIOCONDA INFO (ERR)         version=None,
21:30:12 BIOCONDA INFO (ERR)     )
21:30:12 BIOCONDA INFO (ERR)   File "/home/david/miniforge3/envs/bioconda/conda-bld/gtdbtk_1734038893375/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 233, in _make_base_candidate_from_link
21:30:12 BIOCONDA INFO (ERR)     self._link_candidate_cache[link] = LinkCandidate(
21:30:12 BIOCONDA INFO (ERR)                                        ~~~~~~~~~~~~~^
21:30:12 BIOCONDA INFO (ERR)         link,
21:30:12 BIOCONDA INFO (ERR)         ^^^^^
21:30:12 BIOCONDA INFO (ERR)     ...<3 lines>...
21:30:12 BIOCONDA INFO (ERR)         version=version,
21:30:12 BIOCONDA INFO (ERR)         ^^^^^^^^^^^^^^^^
21:30:12 BIOCONDA INFO (ERR)     )
21:30:12 BIOCONDA INFO (ERR)     ^
21:30:12 BIOCONDA INFO (ERR)   File "/home/david/miniforge3/envs/bioconda/conda-bld/gtdbtk_1734038893375/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in __init__
21:30:12 BIOCONDA INFO (ERR)     super().__init__(
21:30:12 BIOCONDA INFO (ERR)     ~~~~~~~~~~~~~~~~^
21:30:12 BIOCONDA INFO (ERR)         link=link,
21:30:12 BIOCONDA INFO (ERR)         ^^^^^^^^^^
21:30:12 BIOCONDA INFO (ERR)     ...<4 lines>...
21:30:12 BIOCONDA INFO (ERR)         version=version,
21:30:12 BIOCONDA INFO (ERR)         ^^^^^^^^^^^^^^^^
21:30:12 BIOCONDA INFO (ERR)     )
21:30:12 BIOCONDA INFO (ERR)     ^

@@ -48,6 +49,9 @@ about:
license_file: 'LICENSE'
summary: 'A toolkit for assigning objective taxonomic classifications to bacterial and archaeal genomes.'
extra:
additional-platforms:
# requires mash and pplacer
# - linux-aarch64
Copy link
Contributor

Choose a reason for hiding this comment

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

The recipe is noarch.
There is no need of additional platforms here

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

Successfully merging this pull request may close these issues.

2 participants