-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Cannot use spack containerize with spack 0.14.2 version #16727
Copy link
Copy link
Closed
Labels
Description
Steps to reproduce the issue
Using a spack.yaml with the following container fields:
container:
format: docker
base:
image: 'ubuntu:18.04'
spack: '0.14.2'
Run
$ spack containerizeError Message
$ spack containerize
Traceback (most recent call last):
File "/spack/lib/spack/spack/environment.py", line 407, in validate
spack.schema.Validator(spack.schema.env.schema).validate(validate_data)
File "/spack/lib/spack/external/jsonschema/validators.py", line 114, in validate
raise error
jsonschema.exceptions.ValidationError: '0.14.2' is not one of ['develop', '0.14', '0.14.0']
Failed validating 'enum' in schema['patternProperties']['^env|spack$']['properties']['container']['properties']['base']['properties']['spack']:
{'enum': ['develop', '0.14', '0.14.0'], 'type': 'string'}
On instance['spack']['container']['base']['spack']:
'0.14.2'Information on your system
This did not work for me on 0.14.2.
spack debug report
usage: spack debug [-h] SUBCOMMAND ...
spack debug: error: argument SUBCOMMAND: invalid choice: 'report' choose from:
create-db-tarball
Additional information
- I have run
spack debug reportand reported the version of Spack/Python/Platform - I have searched the issues of this repo and believe this is not a duplicate
- I have run the failing commands in debug mode and reported the output
Reactions are currently unavailable