Skip to content

Shelley fails to build LAST due to SHPC registry validation error #22

Open
Sydney-Informatics-Hub/shelley
#59

Description

@jieru660

BioShell Version / Cloud Environment

Shelley v0.3.0

Affected Tool / Module

Shelley (CLI support agent)

What happened?

Hi BioShell team,

I am using Shelley v0.3.0 on BioShell to install LAST for the JCVI
pairwise synteny workflow.

The following commands both fail:

shelley build last/1652
shelley build last/1648

Shelley can find the corresponding LAST containers in CVMFS, but
shpc install fails after creating a local registry entry under
/apps/local. The error reports SHPC schema validation failure and
exits with code 1.

The LAST container is present at:

/cvmfs/singularity.galaxyproject.org/all/last:1652--h5814d7d_0

Software environment:

  • BioShell VM on OpenStack
    3
  • Ubuntu 24.04.4 LTS- Shelley v0.3.0
  • Python 3.12.3
  • JCVI 1.6.7
  • Required commands: lastal and lastdb

Could you please check the Shelley/SHPC registry configuration and
provide a working LAST module?

I have attached screenshots of the full error.

Thanks,
Jieru Xu

Steps to Reproduce

  1. shelley build last/1652
    shelley build last/1648

Expected Behaviour

Shelley should build a loadable LAST module providing lastal and lastdb.

Relevant Logs or Error Output

Activity

  1. fredjaya commented on Sep 21, 2026

    @fredjaya

    Hi Jieru, thanks for reporting this. Looks like it errors as last doesn't follow semantic versioning. I will patch this over the next week.

    Error for reference:

    ❌ shpc install failed for quay.io/biocontainers/last:1654--h5814d7d_0:
    Traceback (most recent call last):
      File "/opt/shpc/bin/shpc", line 8, in <module>
        sys.exit(run_shpc())
                 ^^^^^^^^^^
      File "/opt/shpc/singularity-hpc/shpc/client/__init__.py", line 556, in run_shpc
        main(args=args, parser=parser, extra=extra, subparser=helper)
      File "/opt/shpc/singularity-hpc/shpc/client/install.py", line 27, in main
        cli.install(
      File "/opt/shpc/singularity-hpc/shpc/main/modules/base.py", line 453, in install
        module = kwargs.get("module") or self.get_module(
                                         ^^^^^^^^^^^^^^^^
      File "/opt/shpc/singularity-hpc/shpc/main/modules/base.py", line 431, in get_module
        config = self._load_container(module.name)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/shpc/singularity-hpc/shpc/main/client.py", line 116, in _load_container
        config = self.load_registry_config(name)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/shpc/singularity-hpc/shpc/main/client.py", line 104, in load_registry_config
        return container.ContainerConfig(result)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/shpc/singularity-hpc/shpc/main/container/config.py", line 82, in __init__
        self.validate()
      File "/opt/shpc/singularity-hpc/shpc/main/container/config.py", line 296, in validate
        jsonschema.validate(instance=self.entry._config, schema=schemas.containerConfig)
      File "/opt/shpc-env/lib/python3.12/site-packages/jsonschema/validators.py", line 1332, in validate
        raise error
    jsonschema.exceptions.ValidationError: 'latest' is a required property
    
  2. fredjaya commented on Sep 23, 2026

    @fredjaya

    Hi @jieru660,

    Thanks for reporting this issue. I have updated shelley to resolve this error and confirmed that lastal and lastdb are callable after running shelley build last and module load last.

    Could you please update your version of shelley with:

    sudo env UV_TOOL_DIR=/opt/uv/tools UV_TOOL_BIN_DIR=/usr/local/bin \
      /opt/uv/uv tool install --python 3.12 git+https://github.com/Sydney-Informatics-Hub/shelley@bioshell-22

    Then try build, load and run last as you did previously.

    Let me know how it goes!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions