diff --git a/avro-1.10.0.tar.gz b/avro-1.10.0.tar.gz new file mode 100644 index 0000000..84238ef --- /dev/null +++ b/avro-1.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bbf9f89fd20b4cf3156f10ec9fbce83579ece3e0403546c305957f9dac0d2f03 +size 67793 diff --git a/avro-1.9.2.tar.gz b/avro-1.9.2.tar.gz deleted file mode 100644 index 91de81a..0000000 --- a/avro-1.9.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4487f0e91d0d44142bd08b3c6da57073b720c3effb02eeb4e2e822804964c56b -size 49808 diff --git a/python-avro.changes b/python-avro.changes index 27d515c..f672304 100644 --- a/python-avro.changes +++ b/python-avro.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sat Jul 11 09:34:41 UTC 2020 - Benjamin Greiner + +- Update to version 1.10.0 + AVRO-2387 Type checking added to python + AVRO-2656 avro-python package is now the preferred python3 library + and avro-python3 is prepared to be deprecated +- reenable unit tests +- remove unnecessary BuildRequires for the linting packages +- add untested and not in setup.cfg declared but imported packages + into Requires https://issues.apache.org/jira/browse/AVRO-2595 + ------------------------------------------------------------------- Wed May 27 09:36:12 UTC 2020 - Petr Gajdos diff --git a/python-avro.spec b/python-avro.spec index 369509e..0dcdc21 100644 --- a/python-avro.spec +++ b/python-avro.spec @@ -18,30 +18,32 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-avro -Version: 1.9.2 +Version: 1.10.0 Release: 0 Summary: A serialization and RPC framework for Python License: Apache-2.0 Group: Development/Languages/Python URL: https://avro.apache.org/ Source: https://files.pythonhosted.org/packages/source/a/avro/avro-%{version}.tar.gz -BuildRequires: %{python_module isort} -BuildRequires: %{python_module pycodestyle} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(postun): update-alternatives +Requires: python-Twisted +Requires: python-zope.interface Suggests: python-python-snappy BuildArch: noarch %python_subpackages %description -Avro is a serialization and RPC framework. +Apache Avro is a serialization and RPC framework. +This package contains the python implementation of Avro. %prep %setup -q -n avro-%{version} +sed -i '1{\@^#!/usr/bin/env python@d}' avro/*.py avro/tether/*.py avro/test/*.py %build %python_build @@ -52,9 +54,8 @@ Avro is a serialization and RPC framework. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# Dies on which is nowhere even in their VCS -# E ImportError: No module named set_avro_test_path -#%%pytest +# test_server_with_path: tries to connect to apache.org +%pytest -k "not test_server_with_path" %post %python_install_alternative avro @@ -64,6 +65,7 @@ Avro is a serialization and RPC framework. %files %{python_files} %python_alternative %{_bindir}/avro -%{python_sitelib}/* +%{python_sitelib}/avro +%{python_sitelib}/avro-%{version}-py*.egg-info %changelog