commit 650514304d092eee661892376334554570733cc8fe5aff43ae612d411a0694e3 Author: Steve Kowalik Date: Tue Aug 27 05:24:46 2024 +0000 - 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/avro-1.11.3.tar.gz b/avro-1.11.3.tar.gz new file mode 100644 index 0000000..6868603 --- /dev/null +++ b/avro-1.11.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3393bb5139f9cf0791d205756ce1e39a5b58586af5b153d6a3b5a199610e9d17 +size 90621 diff --git a/avro-1.12.0.tar.gz b/avro-1.12.0.tar.gz new file mode 100644 index 0000000..a43943e --- /dev/null +++ b/avro-1.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cad9c53b23ceed699c7af6bddced42e2c572fd6b408c257a7d4fc4e8cf2e2d6b +size 91025 diff --git a/python-avro.changes b/python-avro.changes new file mode 100644 index 0000000..f1df128 --- /dev/null +++ b/python-avro.changes @@ -0,0 +1,145 @@ +------------------------------------------------------------------- +Tue Aug 27 05:24:30 UTC 2024 - Steve Kowalik + +- 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 + +- Switch package to modern Python Stack on SLE-15 + + Add %{?sle15_python_module_pythons} + + Drop %define skip_python2 1 + +------------------------------------------------------------------- +Wed Oct 18 12:14:00 UTC 2023 - Dominique Leuenberger + +- Update to version 1.11.3: + + See jira board for all the fixes addressed in this release: + https://issues.apache.org/jira/browse/AVRO-3855?jql=project%3DAVRO%20AND%20fixVersion%3D1.11.3 +- Drop py311.patch: fixed upstream. + +------------------------------------------------------------------- +Wed Jan 25 12:58:14 UTC 2023 - Daniel Garcia + +- Add py311.patch to make tests compatible with python 3.11 gh#apache/avro#1961 + +------------------------------------------------------------------- +Thu Aug 4 09:32:11 UTC 2022 - Otto Hollmann + +- Update to 1.11.1 (from GitHub release notes): + - Avro specification + - Clarify which names are allowed to be qualified with + namespaces + - Inconsistent behaviour on types as invalid names + - Clarify how fullnames are created, with example + - IDL: add syntax to create optional fields + - Improve docs for logical type annotation + - Python + - Scale assignment optimization + - "Scale" property from decimal object + - Byte reading in avro.io does not assert bytes read + - validate the default value of an enum field + - Pass LogicalType to BytesDecimalSchema + - Website + - Website refactor + - Document IDL support in IDEs + +------------------------------------------------------------------- +Tue Nov 16 13:31:30 UTC 2021 - Guillaume GARDET + +- Disable test_minimum_speed which is unstable in OBS + +------------------------------------------------------------------- +Wed Nov 3 16:29:58 UTC 2021 - John Paul Adrian Glaubitz + +- Update to 1.11.0 + * Improved performance validating deep record data + * Drop Python 2 support + * Drop Python 3.5 support + * The avro package fully supports Python 3. We will no + longer publish a separate avro-python3 package +- Disable Python2 builds + +------------------------------------------------------------------- +Fri Apr 16 08:45:49 UTC 2021 - Markéta Machová + +- update to 1.10.2 + * Python: AVRO-2656 The standard avro package supports Python 3, and + the avro-python3 package is in the process of being deprecated. + * Threading.is_alive Spelling for Py3.9 + +------------------------------------------------------------------- +Mon Jan 18 21:19:22 UTC 2021 - Dirk Müller + +- update to 1.10.1: + * AVRO-2889 python tether test is flaky + +------------------------------------------------------------------- +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 + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- +Thu Mar 5 09:39:44 UTC 2020 - pgajdos@suse.com + +- version update to 1.9.2 + * no upstream changelog found + +------------------------------------------------------------------- +Fri Sep 13 11:26:49 UTC 2019 - Tomáš Chvátal + +- Update to 1.9.0: + * no upstream changelog + +------------------------------------------------------------------- +Fri Jun 21 11:47:02 UTC 2019 - pgajdos@suse.com + +- version update to 1.9.0 + * no upstream changelog found + +------------------------------------------------------------------- +Tue Dec 4 12:45:52 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Thu Nov 29 19:24:01 UTC 2018 - Jan Engelhardt + +- Avoid name repetition in summary. + +------------------------------------------------------------------- +Thu Nov 29 13:21:22 UTC 2018 - Thomas Bechtold + +- Initial packaging (version 1.8.2) diff --git a/python-avro.spec b/python-avro.spec new file mode 100644 index 0000000..57a0be7 --- /dev/null +++ b/python-avro.spec @@ -0,0 +1,70 @@ +# +# spec file for package python-avro +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-avro +Version: 1.12.0 +Release: 0 +Summary: A serialization and RPC framework for Python +License: Apache-2.0 +URL: https://avro.apache.org/ +Source: https://files.pythonhosted.org/packages/source/a/avro/avro-%{version}.tar.gz +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 +BuildArch: noarch +%python_subpackages + +%description +Apache Avro is a serialization and RPC framework. +This package contains the python implementation of Avro. + +%prep +%autosetup -p1 -n avro-%{version} +sed -i '1{\@^#!/usr/bin/env python@d}' avro/*.py avro/tether/*.py avro/test/*.py + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_clone -a %{buildroot}%{_bindir}/avro +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +# 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 + +%postun +%python_uninstall_alternative avro + +%files %{python_files} +%python_alternative %{_bindir}/avro +%{python_sitelib}/avro +%{python_sitelib}/avro-%{version}.dist-info + +%changelog