forked from pool/python-avro
- 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
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
avro-1.11.3.tar.gz
Normal file
3
avro-1.11.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
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.
145
python-avro.changes
Normal file
145
python-avro.changes
Normal file
@@ -0,0 +1,145 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- 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 <dimstar@opensuse.org>
|
||||
|
||||
- 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 <daniel.garcia@suse.com>
|
||||
|
||||
- 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 <otto.hollmann@suse.com>
|
||||
|
||||
- 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 <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Disable test_minimum_speed which is unstable in OBS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 3 16:29:58 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- 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á <mmachova@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
- update to 1.10.1:
|
||||
* AVRO-2889 python tether test is flaky
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 11 09:34:41 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- 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 <pgajdos@suse.com>
|
||||
|
||||
- %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 <tchvatal@suse.com>
|
||||
|
||||
- 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 <mcepl@suse.com>
|
||||
|
||||
- Remove superfluous devel dependency for noarch package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 29 19:24:01 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Avoid name repetition in summary.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 29 13:21:22 UTC 2018 - Thomas Bechtold <tbechtold@suse.com>
|
||||
|
||||
- Initial packaging (version 1.8.2)
|
||||
70
python-avro.spec
Normal file
70
python-avro.spec
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user