Skip to content

Commit

Permalink
Split requirements file and pin minimum version of Python deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ostefano committed Sep 29, 2023
1 parent 4de2f03 commit fde2887
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ install:
- sudo apt-get -y update
# Install haveged, because Travis lacks entropy.
- sudo apt-get -y install haveged python3 python3-venv python3-pip python3-dev python3-nose python3-redis python3-lxml python3-dateutil python3-msgpack libxml2-dev libzmq3-dev zlib1g-dev apache2 curl php-mysql php-dev php-cli libapache2-mod-php libfuzzy-dev php-mbstring libonig4 php-json php-xml php-opcache php-readline php-redis php-gnupg php-gd
- sudo pip3 install --upgrade pip setuptools requests pyzmq
- sudo pip3 install --upgrade pip setuptools requests
- sudo pip3 install --upgrade -r requirements.txt
- sudo pip3 install --upgrade -r requirements-dev.txt
- pip3 install --user poetry
- phpenv rehash
- sudo mkdir $HOME/.composer ; sudo chown $USER:www-data $HOME/.composer
Expand Down
4 changes: 4 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
codecov
coveralls
nose
requests-mock
18 changes: 6 additions & 12 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
cybox>=2.1.0.21
jsonschema
jsonschema>=4.19.1
lief>=0.13.1
maec>=4.1.0.17
misp-lib-stix2>=3.0.0
misp-lib-stix2>=3.0.1.1
mixbox>=1.0.5
plyara>=2.0.2
plyara>=2.1.1
pydeep2>=0.5.1
pymisp==2.4.176
python-magic
pyzmq
redis
python-magic>=0.4.27
pyzmq>=25.1.1
redis>=5.0.1
stix>=1.2.0.11
# test dependencies
codecov
coveralls
nose
pip
requests-mock

0 comments on commit fde2887

Please sign in to comment.