Skip to content

Consider - as a separator in module version specification #619

@xdelaruelle

Description

@xdelaruelle

Implicit version specification may currently feel a bit awkward with modules produced by Spack:

$ module load python/3.12
$ module list
Currently Loaded Modulefiles:
 1) python/3.12.12-mwiwd7s

Key:
default-version
$ module purge
$ module load python/3.12.12
ERROR: Unable to locate a modulefile for 'python/3.12.12'

The - character is not considered as a separator within the version specification.

Adding this character as a separator like . will help the Spack users to get the implicit version specification working well with their generated modules.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions