forked from pool/python-avro
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 8cadeac0ed | |||
| 650514304d |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3393bb5139f9cf0791d205756ce1e39a5b58586af5b153d6a3b5a199610e9d17
|
|
||||||
size 90621
|
|
||||||
BIN
avro-1.12.0.tar.gz
LFS
Normal file
BIN
avro-1.12.0.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 27 05:24:30 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.12.0:
|
||||||
|
* Bug fixes:
|
||||||
|
+ [AVRO-1318]: Python schema should store fingerprints
|
||||||
|
+ [AVRO-3622]: Python compatibility check fails if record with and
|
||||||
|
without namespace are compared
|
||||||
|
+ [AVRO-3659]: Typo in python example
|
||||||
|
+ [AVRO-3667]: [Python] Python 3.10 CI test fails since a while
|
||||||
|
+ [AVRO-3669]: Missing py.typed file
|
||||||
|
+ [AVRO-3861]: [Build] Add RAT exclusions for python docs
|
||||||
|
+ [AVRO-3866]: [Build][Python] Files are leftover after a build
|
||||||
|
* Improvements:
|
||||||
|
+ [AVRO-312]: Generate documentation for Python with Sphinx
|
||||||
|
+ [AVRO-1938]: Python support for generating canonical forms of schema
|
||||||
|
+ [AVRO-3879]: [Build][Python] Fix ./build.sh clean to remove the
|
||||||
|
generated Python documents
|
||||||
|
+ [AVRO-3977]: Fix failing typecheck in Python 3.12
|
||||||
|
* Tests:
|
||||||
|
+ [AVRO-3696]: [Python] Replace tox-wheel with upstream tox 4
|
||||||
|
* Tasks:
|
||||||
|
+ [AVRO-3808]: Drop support for Python 3.6, add Pypy 3.8-3.10
|
||||||
|
- Switch to pyproject and pyunittest macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 7 13:44:26 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Thu Mar 7 13:44:26 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -18,22 +18,20 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-avro
|
Name: python-avro
|
||||||
Version: 1.11.3
|
Version: 1.12.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A serialization and RPC framework for Python
|
Summary: A serialization and RPC framework for Python
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://avro.apache.org/
|
URL: https://avro.apache.org/
|
||||||
Source: https://files.pythonhosted.org/packages/source/a/avro/avro-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/a/avro/avro-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
Requires: python-Twisted
|
|
||||||
Requires: python-zope.interface
|
|
||||||
Suggests: python-python-snappy
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -46,17 +44,17 @@ This package contains the python implementation of Avro.
|
|||||||
sed -i '1{\@^#!/usr/bin/env python@d}' avro/*.py avro/tether/*.py avro/test/*.py
|
sed -i '1{\@^#!/usr/bin/env python@d}' avro/*.py avro/tether/*.py avro/test/*.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/avro
|
%python_clone -a %{buildroot}%{_bindir}/avro
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# test_server_with_path: tries to connect to apache.org
|
# Only contains test_server_with_path; tries to connect to apache.org
|
||||||
# test_minimum_speed is not stable in OBS
|
rm avro/test/test_ipc.py
|
||||||
%pytest -k "not test_server_with_path and not test_minimum_speed"
|
%pyunittest discover -v
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative avro
|
%python_install_alternative avro
|
||||||
@@ -67,6 +65,6 @@ sed -i '1{\@^#!/usr/bin/env python@d}' avro/*.py avro/tether/*.py avro/test/*.py
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%python_alternative %{_bindir}/avro
|
%python_alternative %{_bindir}/avro
|
||||||
%{python_sitelib}/avro
|
%{python_sitelib}/avro
|
||||||
%{python_sitelib}/avro-%{version}-py*.egg-info
|
%{python_sitelib}/avro-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user