Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
ebaf1c6b21 |
BIN
proto-plus-1.22.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
proto-plus-1.22.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
proto_plus-1.25.0.tar.gz
(Stored with Git LFS)
BIN
proto_plus-1.25.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
14
pytest-staticmethod.patch
Normal file
14
pytest-staticmethod.patch
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
proto/_file_info.py | 1 -
|
||||||
|
1 file changed, 1 deletion(-)
|
||||||
|
|
||||||
|
--- a/proto/_file_info.py
|
||||||
|
+++ b/proto/_file_info.py
|
||||||
|
@@ -51,7 +51,6 @@ class _FileInfo(
|
||||||
|
|
||||||
|
return descriptor
|
||||||
|
|
||||||
|
- @staticmethod
|
||||||
|
def proto_file_name(name):
|
||||||
|
return "{0}.proto".format(name.replace(".", "/"))
|
||||||
|
|
@@ -1,50 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Fri Nov 22 13:28:52 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Update to 1.25.0
|
|
||||||
* Add support for Python 3.13
|
|
||||||
* Construct messages with nested struct
|
|
||||||
* Fix 'Couldn't build proto file' when using Python 3.13
|
|
||||||
* Fix conda compatibility issue
|
|
||||||
* Fix issue with equality comparison of repeated field with None
|
|
||||||
* Remove check for Protobuf version
|
|
||||||
- Drop merged pytest-staticmethod.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Oct 2 06:05:52 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
|
||||||
|
|
||||||
- Explicitly BuildRequires on pytz, the testsuite uses it.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Jun 20 12:43:10 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 1.24.0:
|
|
||||||
* Add `always_print_fields_with_no_presence` fields to
|
|
||||||
`to_json` and `to_dict`
|
|
||||||
* Add compatibility with protobuf==5.x
|
|
||||||
* AttributeError module 'google._upb._message' has no attribute
|
|
||||||
'MessageMapContainer'
|
|
||||||
* Deprecate field `including_default_value_fields` in `to_json`
|
|
||||||
and `to_dict`
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Feb 26 19:29:22 UTC 2024 - Robert Schweikert <rjschwei@suse.com>
|
|
||||||
|
|
||||||
- Include in SLE 15 SP4 and later (jsc#PED-6697)
|
|
||||||
- Add %{?sle15_python_module_pythons}
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jan 1 20:18:46 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 1.23.0:
|
|
||||||
* Add additional parameters to `to_json()` and `to_dict()`
|
|
||||||
methods (#384)
|
|
||||||
* Add support for proto.__version__ (#393)
|
|
||||||
* Add support for python 3.12 (#400)
|
|
||||||
* Add documentation on how to query the current oneof in a
|
|
||||||
given message (#408)
|
|
||||||
* Add example for __protobuf__ module level attribute (#409)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 7 12:59:38 UTC 2023 - Matthias Fehring <buschmann23@opensuse.org>
|
Tue Nov 7 12:59:38 UTC 2023 - Matthias Fehring <buschmann23@opensuse.org>
|
||||||
|
|
||||||
@@ -122,7 +75,7 @@ Mon Jan 31 15:13:44 UTC 2022 - Matthias Fehring <buschmann23@opensuse.org>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 11 08:25:24 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
Thu Nov 11 08:25:24 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
- Add multibuild to defeat a build loop.
|
- Add multibuild to defeat a build loop.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 10 10:52:33 UTC 2021 - Matthias Fehring <buschmann23@opensuse.org>
|
Fri Sep 10 10:52:33 UTC 2021 - Matthias Fehring <buschmann23@opensuse.org>
|
||||||
@@ -138,7 +91,7 @@ Sat Mar 20 12:24:03 UTC 2021 - Matthias Fehring <buschmann23@opensuse.org>
|
|||||||
* Add arm64 support for PY3.6 (gh#googleapis/proto-plus-python#219)
|
* Add arm64 support for PY3.6 (gh#googleapis/proto-plus-python#219)
|
||||||
- from 1.18.0
|
- from 1.18.0
|
||||||
* add copy_from method for field assignment
|
* add copy_from method for field assignment
|
||||||
(gh#googleapis/proto-plus-python#512)
|
(gh#googleapis/proto-plus-python#512)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 15 17:22:01 UTC 2021 - Matthias Fehring <buschmann23@opensuse.org>
|
Mon Mar 15 17:22:01 UTC 2021 - Matthias Fehring <buschmann23@opensuse.org>
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-proto-plus
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -24,15 +24,18 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
%define modname proto_plus
|
%define skip_python2 1
|
||||||
%{?sle15_python_module_pythons}
|
%define modname proto-plus
|
||||||
Name: python-proto-plus%{psuffix}
|
Name: python-proto-plus%{psuffix}
|
||||||
Version: 1.25.0
|
Version: 1.22.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pythonic Protocol Buffers
|
Summary: Pythonic Protocol Buffers
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/googleapis/proto-plus-python
|
URL: https://github.com/googleapis/proto-plus-python
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
|
||||||
|
# PATCH-FIX-UPSTREAM pytest-staticmethod.patch gh#pytest-dev/pytest#9637 mcepl@suse.com
|
||||||
|
# workaround for the problem with pytest 7.0
|
||||||
|
Patch0: pytest-staticmethod.patch
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module protobuf >= 3.19.0}
|
BuildRequires: %{python_module protobuf >= 3.19.0}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@@ -43,7 +46,6 @@ BuildRequires: python-rpm-macros
|
|||||||
BuildRequires: %{python_module google-api-core >= 1.31.5}
|
BuildRequires: %{python_module google-api-core >= 1.31.5}
|
||||||
BuildRequires: %{python_module proto-plus}
|
BuildRequires: %{python_module proto-plus}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module pytz}
|
|
||||||
%endif
|
%endif
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -61,11 +63,11 @@ that largely behave like native Python types.
|
|||||||
%autosetup -p1 -n %{modname}-%{version}
|
%autosetup -p1 -n %{modname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%pyproject_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -80,7 +82,7 @@ that largely behave like native Python types.
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/proto
|
%{python_sitelib}/proto
|
||||||
%{python_sitelib}/proto_plus-%{version}.dist-info
|
%{python_sitelib}/proto_plus-%{version}*-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user