Skip to content

Commit

Permalink
Fix dev setup (#223)
Browse files Browse the repository at this point in the history
* add sudo to apt calls

* fix pytest version < 8

* add explanation of sudo requirement

Co-authored-by: Cunliang Geng <[email protected]>

* remove lazy-fixtures instead of downgrading pytest

---------

Co-authored-by: Cunliang Geng <[email protected]>
  • Loading branch information
adraismawur and CunliangGeng authored Mar 13, 2024
1 parent 325b495 commit 3c22942
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions bin/install-nplinker-deps
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ if [[ "$OSTYPE" == "linux"* ]]; then
if ${run_on_github}; then
do_install="sudo apt install -y"
else
apt update &> /dev/null
do_install="apt install -y"
echo "To use 'apt' command, you need to allow 'sudo apt' by providing your computer password"
sudo apt update &> /dev/null
do_install="sudo apt install -y"
fi
elif command -v dnf &> /dev/null; then
echo -e "✅ Package manager is 'dnf'\n"
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ numpy
pandas
progress
pyteomics
pytest-lazy-fixture
scipy
sortedcontainers
tqdm
Expand Down

0 comments on commit 3c22942

Please sign in to comment.