Skip to content

Commit

Permalink
make YK optional, 'pip install gam7[yubikey]'
Browse files Browse the repository at this point in the history
  • Loading branch information
jay0lee committed Feb 6, 2025
1 parent 4e04bd7 commit a58a998
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -508,9 +508,9 @@ jobs:
"${PYTHON}" -m pip install --force-reinstall --no-deps cryptography*.whl
echo "after cryptography..."
"${PYTHON}" -m pip list
"${PYTHON}" -m pip install --upgrade --no-binary :all: -r requirements.txt
"${PYTHON}" -m pip install --upgrade --no-binary :all: -r requirements.txt[yubikey]
else
"${PYTHON}" -m pip install --upgrade -r requirements.txt
"${PYTHON}" -m pip install --upgrade -r requirements.txt[yubikey]
echo "after requirements..."
"${PYTHON}" -m pip list
"${PYTHON}" -m pip install --force-reinstall --no-deps --upgrade cryptography
Expand Down
2 changes: 1 addition & 1 deletion src/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ lxml
passlib>=1.7.2
pathvalidate
python-dateutil
yubikey-manager>=5.0
yubikey-manager>=5.0[yubikey]

0 comments on commit a58a998

Please sign in to comment.