Skip to content

Commit

Permalink
pycurl more relaxed conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
kbessonov1984 committed Sep 4, 2024
1 parent 8836d5c commit a5fed55
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
sudo apt-get install mash ncbi-blast+ libssl-dev libcurl4-openssl-dev mafft libssl-dev ca-certificates -y
sudo apt-get install python3-pip python3-dev python3-biopython -y
python3 -m pip install --upgrade pip setuptools
pip3 install pytest fastcluster openpyxl pycurl pandas scipy
pip3 install pytest fastcluster openpyxl pycurl pandas "scipy==1.5.4"
python3 -c "import pycurl"
python setup.py install
- name: Test with pytest
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def run(self):
'install': CustomInstallCommand
},
install_requires=[
'numpy>=1.11.1',
'numpy>=1.11.1,<1.23.5',
'tables>=3.3.0,<4',
'pandas>=0.22.0,<3',
'pycurl>=7.43.0,<8',
Expand Down
2 changes: 2 additions & 0 deletions sistr/sistr_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ def download_to_file(url,file):
# Follow redirect.
c.setopt(c.FOLLOWLOCATION, True)
c.setopt(c.WRITEDATA, f)
c.setopt(pycurl.SSL_VERIFYPEER, 0)
c.setopt(pycurl.SSL_VERIFYHOST, 0)
c.perform()
c.close()

Expand Down

0 comments on commit a5fed55

Please sign in to comment.