Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package watson for openSUSE:Factory checked 
in at 2026-11-25 16:14:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/watson (Old)
 and      /work/SRC/openSUSE:Factory/.watson.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "watson"

Wed Nov 25 16:14:01 2026 rev:8 rq:1400508 version:3.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/watson/watson.changes    2022-05-24 
20:32:39.290988370 +0200
+++ /work/SRC/openSUSE:Factory/.watson.new.1340718/watson.changes       
2026-11-25 16:16:08.571498025 +0100
@@ -1,0 +2,21 @@
+Wed Nov 25 09:01:10 UTC 2026 - Michael Vetter <[email protected]>
+
+- Update to 3.0.1:
+  * Fix shell completion crash with Click 8+.
+- Changes from 3.0.0:
+  * Drop Python 3.10 support (minimal version is now 3.11).
+  * Switch build system to hatchling / pyproject.toml.
+  * Set a 30-second timeout for backend synchronization
+    requests.
+  * Read Watson version from installed package metadata.
+  * Fix wrong local time offset for dates in a different DST
+    period than now (arrow 1.4+).
+  * Fix Bash and Zsh completions broken since Click 8.
+  * Command examples in help messages being re-wrapped by
+    Click.
+- Switch to pyproject macros
+- Use %define pythons %{primary_python}.
+- Add %check section running %pytest.
+- Drop obsolete distutils macro and Group tags.
+
+-------------------------------------------------------------------

Old:
----
  2.1.0.tar.gz

New:
----
  v3.0.1.tar.gz

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

Other differences:
------------------
++++++ watson.spec ++++++
--- /var/tmp/diff_new_pack.w8DYai/_old  2026-11-25 16:16:09.430534447 +0100
+++ /var/tmp/diff_new_pack.w8DYai/_new  2026-11-25 16:16:09.433534574 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package watson
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,20 +16,32 @@
 #
 
 
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%define pythons %{primary_python}
 Name:           watson
-Version:        2.1.0
+Version:        3.0.1
 Release:        0
 Summary:        CLI time tracker
 License:        MIT
-Group:          Productivity/Office/Organizers
-URL:            https://github.com/TailorDev/Watson
-Source:         https://github.com/TailorDev/Watson/archive/%{version}.tar.gz
-BuildRequires:  python3-setuptools
-Requires:       python3-arrow >= 1.0.0
-Requires:       python3-click
-Requires:       python3-click-didyoumean
-Requires:       python3-requests
+URL:            https://github.com/jmaupetit/Watson
+Source:         
https://github.com/jmaupetit/Watson/archive/refs/tags/v%{version}.tar.gz
+BuildRequires:  %{python_module arrow >= 1.4.0}
+BuildRequires:  %{python_module click >= 8.3.1}
+BuildRequires:  %{python_module click-didyoumean >= 0.3.1}
+BuildRequires:  %{python_module colorama >= 0.4.6}
+BuildRequires:  %{python_module hatchling}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module pytest-datafiles}
+BuildRequires:  %{python_module pytest-mock}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module requests >= 2.32.5}
+BuildRequires:  %{python_module wheel}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:       %{primary_python}-arrow >= 1.4.0
+Requires:       %{primary_python}-click >= 8.3.1
+Requires:       %{primary_python}-click-didyoumean >= 0.3.1
+Requires:       %{primary_python}-colorama >= 0.4.6
+Requires:       %{primary_python}-requests >= 2.32.5
 BuildArch:      noarch
 
 %description
@@ -38,9 +50,9 @@
 
 %package bash-completion
 Summary:        Bash completion for %{name}
-Group:          System/Shells
 Requires:       %{name} = %{version}
-Supplements:    (%{name} and bash)
+Requires:       bash-completion
+Supplements:    (%{name} and bash-completion)
 BuildArch:      noarch
 
 %description bash-completion
@@ -48,7 +60,6 @@
 
 %package fish-completion
 Summary:        Fish completion for %{name}
-Group:          System/Shells
 Requires:       %{name} = %{version}
 Supplements:    (%{name} and fish)
 BuildArch:      noarch
@@ -58,7 +69,6 @@
 
 %package zsh-completion
 Summary:        Zsh completion for %{name}
-Group:          System/Shells
 Requires:       %{name} = %{version}
 Supplements:    (%{name} and zsh)
 BuildArch:      noarch
@@ -67,32 +77,39 @@
 Zsh command line completion support for %{name}.
 
 %prep
-%autosetup -n Watson-%{version}
+%autosetup -p1 -n Watson-%{version}
 
 %build
-%python3_build
+%pyproject_wheel
 
 %install
-%python3_install
+%pyproject_install
+%python_expand $python -m compileall -q -f -o 0 -o 1 --invalidation-mode 
unchecked-hash %{buildroot}%{$python_sitelib}/watson
 install -D -m 0644 watson.zsh-completion 
%{buildroot}%{_datadir}/zsh/site-functions/_watson
-mkdir -p %{buildroot}%{_datadir}%{_datadir}/fish/vendor_completions.d/
 install -D -m 0644 watson.fish 
%{buildroot}%{_datadir}/fish/vendor_completions.d/watson.fish
 install -D -m 0644 watson.completion  
%{buildroot}%{_datadir}/bash-completion/completions/watson
+%fdupes %{buildroot}%{python_sitelib}
+
+%check
+%pytest
 
 %files
 %license LICENSE
-%doc CHANGELOG.md README.rst
+%doc CHANGELOG.md README.md
 %{_bindir}/watson
-%{python_sitelib}/*
+%{python_sitelib}/watson
+%{python_sitelib}/td_watson-%{version}.dist-info
 
 %files bash-completion
-%{_datadir}/bash-completion/completions/
+%{_datadir}/bash-completion/completions/watson
 
 %files fish-completion
-%dir %{_datadir}/fish/
-%{_datadir}/fish/vendor_completions.d/
+%dir %{_datadir}/fish
+%dir %{_datadir}/fish/vendor_completions.d
+%{_datadir}/fish/vendor_completions.d/watson.fish
 
 %files zsh-completion
-%dir %{_datadir}/zsh/
-%{_datadir}/zsh/site-functions/
+%dir %{_datadir}/zsh
+%dir %{_datadir}/zsh/site-functions
+%{_datadir}/zsh/site-functions/_watson
 

Reply via email to