15
0
forked from pool/python-avro

2 Commits

Author SHA256 Message Date
8cadeac0ed Accepting request 1196150 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1196150
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-avro?expand=0&rev=16
2024-08-27 17:39:11 +00:00
650514304d - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-avro?expand=0&rev=34
2024-08-27 05:24:46 +00:00
4 changed files with 38 additions and 15 deletions

View File

@@ -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

Binary file not shown.

View File

@@ -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>

View File

@@ -18,22 +18,20 @@
%{?sle15_python_module_pythons}
Name: python-avro
Version: 1.11.3
Version: 1.12.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 pytest}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
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
@@ -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
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/avro
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# test_server_with_path: tries to connect to apache.org
# test_minimum_speed is not stable in OBS
%pytest -k "not test_server_with_path and not test_minimum_speed"
# Only contains test_server_with_path; tries to connect to apache.org
rm avro/test/test_ipc.py
%pyunittest discover -v
%post
%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}
%python_alternative %{_bindir}/avro
%{python_sitelib}/avro
%{python_sitelib}/avro-%{version}-py*.egg-info
%{python_sitelib}/avro-%{version}.dist-info
%changelog