diff --git a/python-requests-file.changes b/python-requests-file.changes index 78dfa82..cd5a529 100644 --- a/python-requests-file.changes +++ b/python-requests-file.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Aug 3 10:42:35 UTC 2020 - Marketa Calabkova + +- update to 1.5.1 + * Fix python 2.7 compatibility + * Rename test file for pytest + * Add tests via github actions + * Format code with black + * Add set_content_length flag to disable on demand setting Content-Length + ------------------------------------------------------------------- Tue Dec 4 12:53:43 UTC 2018 - Matej Cepl diff --git a/python-requests-file.spec b/python-requests-file.spec index 52027e0..a4cded3 100644 --- a/python-requests-file.spec +++ b/python-requests-file.spec @@ -1,7 +1,7 @@ # # spec file for package python-requests-file # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,12 +19,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without tests Name: python-requests-file -Version: 1.4.3 +Version: 1.5.1 Release: 0 Summary: File transport adapter for Requests License: Apache-2.0 Group: Development/Languages/Python -URL: http://github.com/dashea/requests-file +URL: https://github.com/dashea/requests-file Source: https://files.pythonhosted.org/packages/source/r/requests-file/requests-file-%{version}.tar.gz BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} @@ -50,7 +50,7 @@ library to allow local filesystem access via file:// URLs. %if %{with tests} %check -%python_exec setup.py test +%python_exec -m unittest discover tests %endif %files %{python_files} diff --git a/requests-file-1.4.3.tar.gz b/requests-file-1.4.3.tar.gz deleted file mode 100644 index 6033dda..0000000 --- a/requests-file-1.4.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8f04aa6201bacda0567e7ac7f677f1499b0fc76b22140c54bc06edf1ba92e2fa -size 5252 diff --git a/requests-file-1.5.1.tar.gz b/requests-file-1.5.1.tar.gz new file mode 100644 index 0000000..97fd27e --- /dev/null +++ b/requests-file-1.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:07d74208d3389d01c38ab89ef403af0cfec63957d53a0081d8eca738d0247d8e +size 5668