Skip to content

Releases: HEPData/hepdata-converter-ws-client

0.2.2 Release

01 Mar 23:31
Compare
Choose a tag to compare

This release fixes a long-standing bug (see #14) where an argument r:gz is incorrectly passed to tarfile.open as a pathname name instead of the keyword argument mode. This does not seem to have consequences unless the file cannot be opened, when a FileNotFoundError exception can be returned instead of the expected ReadError.

0.2.1 Release

19 Feb 19:41
Compare
Choose a tag to compare

This release adds a new get_data_size method that gets the size in bytes of the JSON data that would be sent to the converter. This could be useful in checking that a maximum payload size imposed by a web server is not exceeded.

0.2.0 Release

18 Feb 13:25
ccd21dd
Compare
Choose a tag to compare

This release ensures that only .yaml and .json files are sent to hepdata-converter-ws. We have experienced problems in deployment when large unnecessary files are sent to the converter, exceeding the 50 MB limit imposed by Kubernetes (see HEPData/hepdata#304). In this release, we have also dropped Python 2 compatibility and moved from Travis CI to GitHub Actions.

0.1.6 Release

01 Oct 11:18
Compare
Choose a tag to compare

This release is not strictly needed, since the only changes with respect to version 0.1.5 are in the tests, but I'm tagging it to mark the first Python 3 deployment of the hepdata-converter packages.

0.1.5 Release

16 Jun 16:38
Compare
Choose a tag to compare

Minor update to only catch exceptions from requests with status code < 500. This recovers the behaviour from before the last 0.1.4 release, where an HTML file with error details is returned for a failed conversion.

0.1.4 Release

19 Mar 18:32
Compare
Choose a tag to compare
  • This release adds Python 3 compatibility, while still maintaining Python 2 compatibility.
  • The tests have been improved: they no longer depend on the hepdata_converter module and now run outside the hepdata-converter-ws Docker container, testing the web service connection.
  • A timeout parameter (with default of 600s) can be passed as an argument of the convert function.
  • Error handling has been added to the request to /convert.
  • Dependencies have been moved from requirements.txt to setup.py.
  • Documentation has been improved in the README.md file, in the docstring of the convert function, and in the metadata pushed to PyPI for tagged releases.