Skip to content

Commit

Permalink
Merge pull request #451 from kif/443_security
Browse files Browse the repository at this point in the history
security warninigs in GH dependencies
  • Loading branch information
kif authored May 3, 2021
2 parents 5f67106 + 6588d22 commit bb9a2c6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ci/requirements_appveyor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
wheel
numpy
Cython
lxml
lxml>=4.6.3
Pillow
h5py
2 changes: 1 addition & 1 deletion ci/requirements_gh.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ numpy; python_version>= '3.6'
h5py
cython
Pillow
lxml
lxml>=4.6.3
2 changes: 1 addition & 1 deletion ci/requirements_rtd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ sphinx
cython
sphinxcontrib-programoutput
nbsphinx
lxml
lxml>=4.6.3
pillow
5 changes: 1 addition & 4 deletions ci/requirements_travis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

wheel
h5py
numpy<1.16.0; python_version == '3.4'
numpy>=1.16.0; python_version=='2.7' or python_version>='3.5'
cython
Pillow
lxml<4.4.0; python_version == '3.4'
lxml>=4.4.0; python_version=='2.7' or python_version>='3.5'
lxml>=4.6.3
4 changes: 2 additions & 2 deletions fabio/ext/dense.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"""Densification of sparse frame format
"""
__author__ = "Jérôme Kieffer"
__date__ = "18/12/2020"
__date__ = "03/05/2021"
__contact__ = "[email protected]"
__license__ = "MIT"

Expand Down Expand Up @@ -126,7 +126,7 @@ def densify(float[:,::1] mask,
try:
value = time.time_ns()
except Exception:
value = int(time.time()/EPS64)
value = int(time.time()*1e9)
srand(<unsigned int> (value%RAND_MAX))

with nogil:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#List of dependecies used by PIP but also by ReadTheDocs to generate the documentation on the fly
numpy
cython
lxml
lxml>=4.6.3
h5py
hdf5plugin
sphinx
Expand Down

0 comments on commit bb9a2c6

Please sign in to comment.