17
0

8 Commits

Author SHA256 Message Date
48293aa4b0 Accepting request 1254375 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1254375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-proto-plus?expand=0&rev=16
2025-03-19 21:33:59 +00:00
4872eb8f8e Accepting request 1254367 from home:glaubitz:branches:devel:languages:python
- Update to 1.26.1
  * **deps:** Allow protobuf 6.x (#536)

OBS-URL: https://build.opensuse.org/request/show/1254367
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proto-plus?expand=0&rev=32
2025-03-19 10:42:02 +00:00
021328df2b Accepting request 1248479 from devel:languages:python
- update to 1.26.0:
  * Migrate to pyproject.toml
  * Construct messages with nested duration in protobuf 5.28+
  * Fix enums initialization in PyPy
  * Incorrect return type annotation for Message.to_dict
  * Use include rather than exclude to find_namespace_packages in
    setup.py

- Explicitly BuildRequires on pytz, the testsuite uses it.

OBS-URL: https://build.opensuse.org/request/show/1248479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-proto-plus?expand=0&rev=15
2025-02-26 16:17:58 +00:00
260d6860b1 - update to 1.26.0:
* Migrate to pyproject.toml
  * Construct messages with nested duration in protobuf 5.28+
  * Fix enums initialization in PyPy
  * Incorrect return type annotation for Message.to_dict
  * Use include rather than exclude to find_namespace_packages in
    setup.py
- Explicitly BuildRequires on pytz, the testsuite uses it.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proto-plus?expand=0&rev=30
2025-02-25 20:35:36 +00:00
ac26a8b33c Accepting request 1225835 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1225835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-proto-plus?expand=0&rev=14
2024-11-22 22:53:22 +00:00
be8fd29995 Accepting request 1225833 from home:mcalabkova:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1225833
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proto-plus?expand=0&rev=28
2024-11-22 13:37:36 +00:00
07a4e4e10f Accepting request 1205062 from devel:languages:python
- Explicitly BuildRequires on pytz, the testsuite uses it.

OBS-URL: https://build.opensuse.org/request/show/1205062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-proto-plus?expand=0&rev=13
2024-10-02 19:34:07 +00:00
1123f617c6 - Explicitly BuildRequires on pytz, the testsuite uses it.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proto-plus?expand=0&rev=26
2024-10-02 06:06:27 +00:00
5 changed files with 41 additions and 23 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:30b72a5ecafe4406b0d339db35b56c4059064e69227b8c3bda7462397f966445
size 55942

BIN
proto_plus-1.26.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,14 +0,0 @@
---
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(".", "/"))

View File

@@ -1,3 +1,37 @@
-------------------------------------------------------------------
Wed Mar 19 09:55:07 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.26.1
* **deps:** Allow protobuf 6.x (#536)
-------------------------------------------------------------------
Tue Feb 25 20:34:34 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 1.26.0:
* Migrate to pyproject.toml
* Construct messages with nested duration in protobuf 5.28+
* Fix enums initialization in PyPy
* Incorrect return type annotation for Message.to_dict
* Use include rather than exclude to find_namespace_packages in
setup.py
-------------------------------------------------------------------
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> Thu Jun 20 12:43:10 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-proto-plus # spec file for package python-proto-plus
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 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,18 +24,15 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%define modname proto-plus %define modname proto_plus
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-proto-plus%{psuffix} Name: python-proto-plus%{psuffix}
Version: 1.24.0 Version: 1.26.1
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}
@@ -46,6 +43,7 @@ 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