Which can (and will) result in uploading a bigger number of parts than the maximum allowed number (max+1) when the floating part is smaller than .5 (3.1 will result in 3 rather than 4(
Expected behavior
The number of parts should never exceed S3_MAXIMUM_NUMBER_OF_PARTS
Package version (if known): master
Describe the bug
When calculating the number of parts we use the default integer rounding
https://github.com/inveniosoftware/invenio-s3/blob/master/invenio_s3/storage.py#L26
Which can (and will) result in uploading a bigger number of parts than the maximum allowed number (max+1) when the floating part is smaller than .5 (3.1 will result in 3 rather than 4(
Expected behavior
The number of parts should never exceed
S3_MAXIMUM_NUMBER_OF_PARTS