Closed lukasheinrich closed 2 years ago
@lukasheinrich Can you help me reproduce your environment? I'm not seeing this on my current install
$ python -m pip install --upgrade .[reana]
$ reana-client secrets-add --help
Usage: reana-client secrets-add [OPTIONS]
Add secrets from literal string or from file.
Examples:
$ reana-client secrets-add --env PASSWORD=password
$ reana-client secrets-add --file ~/.keytab
$ reana-client secrets-add --env USER=reanauser
--env PASSWORD=password
--file ~/.keytab
Options:
--env TEXT Secrets to be uploaded from literal string.e.g.
PASSWORD=password123
--file FILE Secrets to be uploaded from file.
--overwrite Overwrite the secret if already present
-t, --access-token TEXT Access token of the current user.
--help Show this message and exit.
$ pip show recast-atlas
Name: recast-atlas
Version: 0.1.8
Summary: RECAST for ATLAS at the LHC
Home-page: https://github.com/recast-hep/recast-atlas
Author: Lukas Heinrich
Author-email: lukas.heinrich@cern.ch
License: Apache
Location: /home/feickert/.pyenv/versions/3.8.11/envs/recast-atlas-dev/lib/python3.8/site-packages
Requires: click, jsonschema, pyyaml, yadage-schemas
Required-by:
$ pip show reana-client
Name: reana-client
Version: 0.7.5
Summary: REANA client
Home-page: https://github.com/reanahub/reana-client
Author: REANA
Author-email: info@reana.io
License: UNKNOWN
Location: /home/feickert/.pyenv/versions/3.8.11/envs/recast-atlas-dev/lib/python3.8/site-packages
Requires: click, cwl-utils, cwltool, jsonpointer, pyOpenSSL, PyYAML, reana-commons, rfc3987, six, strict-rfc3339, tablib, webcolors, werkzeug, yadage-schemas
Required-by:
Let me spin up a new venv and try though
@lukasheinrich I can't reproduce this from a clean venv in Docker
$ docker run --rm -ti python:3.8 /bin/bash
root@626c3bfc95c0:/# python -m venv venv && . venv/bin/activate
(venv) root@626c3bfc95c0:/# python -m pip install --upgrade pip "setuptools<58.0.0" wheel
(venv) root@626c3bfc95c0:/# git clone https://github.com/recast-hep/recast-atlas.git && cd recast-atlas
(venv) root@626c3bfc95c0:/recast-atlas# python -m pip install .[develop,local,kubernetes,reana]
(venv) root@626c3bfc95c0:/recast-atlas# reana-client secrets-add --help
Usage: reana-client secrets-add [OPTIONS]
Add secrets from literal string or from file.
Examples:
$ reana-client secrets-add --env PASSWORD=password
$ reana-client secrets-add --file ~/.keytab
$ reana-client secrets-add --env USER=reanauser
--env PASSWORD=password
--file ~/.keytab
Options:
--env TEXT Secrets to be uploaded from literal string.e.g.
PASSWORD=password123
--file FILE Secrets to be uploaded from file.
--overwrite Overwrite the secret if already present
-t, --access-token TEXT Access token of the current user.
--help Show this message and exit.
Do you have a minimal failing example from scratch in a clean venv?
Closing as this should definitely be resolved with release of recast-atlas
v0.1.9
.
on a fresh venv installing
recast-atlas[reana]
:reana-client secrets-add --help
seems too fail due tohas something recently changed @matthewfeickert ?