Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 7de571ea1a | |||
| c874622976 | |||
| 86b5257103 | |||
| 31335224ed | |||
| b6d790c2c4 | |||
| 5a4bd57efe |
@@ -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,38 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 26 12:02:47 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives on SLE-16-based and newer systems only
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 16 14:40:54 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-avro
|
# spec file for package python-avro
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,25 +16,33 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?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
|
||||||
|
BuildArch: noarch
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
Requires: python-Twisted
|
%endif
|
||||||
Requires: python-zope.interface
|
|
||||||
Suggests: python-python-snappy
|
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -46,17 +54,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
|
||||||
@@ -64,9 +72,12 @@ sed -i '1{\@^#!/usr/bin/env python@d}' avro/*.py avro/tether/*.py avro/test/*.py
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative avro
|
%python_uninstall_alternative avro
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative avro
|
||||||
|
|
||||||
%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