Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pure-protobuf for 
openSUSE:Factory checked in at 2024-03-08 18:09:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pure-protobuf (Old)
 and      /work/SRC/openSUSE:Factory/.python-pure-protobuf.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pure-protobuf"

Fri Mar  8 18:09:19 2024 rev:2 rq:1156208 version:3.0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pure-protobuf/python-pure-protobuf.changes    
    2024-01-24 19:05:29.727849708 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pure-protobuf.new.1770/python-pure-protobuf.changes
      2024-03-08 18:09:24.658650477 +0100
@@ -1,0 +2,13 @@
+Fri Mar  8 00:46:53 UTC 2024 - Richard Rahl <rra...@proton.me>
+
+- add script get-tests.sh to fetch tests
+- update to 3.0.1:
+  * technical update (deps)
+
+- update to 3.0.0:
+  * = field field declarations replaced with Annotated hinting
+  * Removed @message decorator in favour of BaseMessage
+  * Re-written the core
+  * Typing changes (see also: https://eigenein.github.io/protobuf/migration/)
+
+-------------------------------------------------------------------

Old:
----
  pure_protobuf-2.3.0.tar.gz
  pure_protobuf-tests-2.3.0.tar.gz

New:
----
  get-tests.sh
  pure_protobuf-3.0.1.tar.gz
  python-pure-protobuf-tests-3.0.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pure-protobuf.spec ++++++
--- /var/tmp/diff_new_pack.MDeUlB/_old  2024-03-08 18:09:25.302674149 +0100
+++ /var/tmp/diff_new_pack.MDeUlB/_new  2024-03-08 18:09:25.302674149 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pure-protobuf
 #
-# Copyright (c) 2023 SUSE LLC
+# 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
@@ -15,26 +15,36 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 %{?sle15_python_module_pythons}
 Name:           python-pure-protobuf
-Version:        2.3.0
+Version:        3.0.1
 Release:        0
 Summary:        Protocol Buffers using Python type annotations
-Group:          Development/Libraries/Python
 License:        MIT
 Group:          Development/Libraries/Python
 URL:            https://github.com/eigenein/protobuf
 Source:         
https://files.pythonhosted.org/packages/source/p/pure-protobuf/pure_protobuf-%{version}.tar.gz
-Source1:        pure_protobuf-tests-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
+Source1:        %{name}-tests-%{version}.tar.gz
+Source99:       get-tests.sh
+BuildRequires:  %{python_module get-annotations}
+BuildRequires:  %{python_module hatch_vcs}
+BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module poetry-core}
-BuildRequires:  %{python_module hatchling}
-BuildRequires:  %{python_module hatch_vcs}
+BuildRequires:  %{python_module poetry-dynamic-versioning}
+BuildRequires:  %{python_module pydantic}
+BuildRequires:  %{python_module typing-extensions}
 BuildRequires:  fdupes
+BuildRequires:  git-core
+BuildRequires:  python-rpm-macros
 ## needed for tests
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module pytest-benchmark}
+BuildRequires:  %{python_module pytest-cov}
 BuildArch:      noarch
+Requires:       python-get-annotations
+Requires:       python-typing-extensions
 %python_subpackages
 
 %description
@@ -51,8 +61,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-donttest="serializer"
-%pytest -k "not $donttest"
+%pytest
 
 %files %{python_files}
 %{python_sitelib}/pure_protobuf

++++++ get-tests.sh ++++++
#!/usr/bin/sh

set -e

if [ -z $1 ]; then
echo "Please input a version for which we should download the tests for"
else
VERSION=$1
curl -LO https://github.com/eigenein/protobuf/archive/refs/tags/$VERSION.tar.gz
mkdir -p tmp
tar xf $VERSION.tar.gz -C tmp
cd tmp/protobuf-$VERSION
tar cf python-pure-protobuf-tests-$VERSION.tar.gz tests
mv python-pure-protobuf-tests-$VERSION.tar.gz ../..
cd ../..
rm -rf tmp $VERSION.tar.gz
fi

++++++ pure_protobuf-2.3.0.tar.gz -> pure_protobuf-3.0.1.tar.gz ++++++
++++ 4532 lines of diff (skipped)

Reply via email to