14
0

4 Commits

Author SHA256 Message Date
6a1bcd8ab4 Accepting request 1235869 from devel:languages:python
- update to 6.0.0:
  - Breaking Changes
    - [inotify] Use of select.poll() instead of deprecated
      select.select(), if available.
    - [utils] Removed the unused echo_class() function from the
      echo module.
    - [utils] Removed the unused echo_instancemethod() function
      from the echo module.
    - [utils] Removed the unused echo_module() function from the
      echo module.
    - [utils] Removed the unused is_class_private_name() function
      from the echo module.
    - [utils] Removed the unused is_classmethod() function from
      the echo module.
    - [utils] Removed the unused is_method(met() function from
      the echo module.
    - [utils] Removed the unused method_name() function from the
      echo module.
    - [utils] Removed the unused name() function from the echo
      module.
    - [watchmedo] Removed the --trace CLI argument from the
      watchmedo log command, useless since events are logged by
      default at the LoggerTrick class level.
  - Other Changes Pin test dependecies.
    - [docs] Add typing info to quick start.
    - [inotify] Fix reading inotify file descriptor after closing
      it.
    - [utils] The stop_signal keyword-argument type of the
      AutoRestartTrick class can now be either a signal.Signals
      or an int.
    - [utils] Added the __repr__() method to the Trick class.
    - [watchmedo] Fixed Mypy issues.
    - [watchmedo] Added the __repr__() method to the
      HelpFormatter class.
    - [windows] Fixed Mypy issues.
- Switch off test coverage measurement.
- Skip test test_select_fd (gh#gorakhargosh/watchdog!1086 ?)

OBS-URL: https://build.opensuse.org/request/show/1235869
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-watchdog?expand=0&rev=23
2025-01-09 14:05:34 +00:00
141b79f463 - Switch off test coverage measurement.
- Skip test test_select_fd (gh#gorakhargosh/watchdog!1086 ?)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchdog?expand=0&rev=51
2025-01-08 10:10:02 +00:00
5162cc40b8 - Breaking Changes
- [inotify] Use of select.poll() instead of deprecated
      select.select(), if available.
    - [utils] Removed the unused echo_class() function from the
      echo module.
    - [utils] Removed the unused echo_instancemethod() function
      from the echo module.
    - [utils] Removed the unused echo_module() function from the
      echo module.
    - [utils] Removed the unused is_class_private_name() function
      from the echo module.
    - [utils] Removed the unused is_classmethod() function from
      the echo module.
    - [utils] Removed the unused is_method(met() function from
      the echo module.
    - [utils] Removed the unused method_name() function from the
      echo module.
    - [utils] Removed the unused name() function from the echo
      module.
    - [watchmedo] Removed the --trace CLI argument from the
      watchmedo log command, useless since events are logged by
      default at the LoggerTrick class level.
  - Other Changes Pin test dependecies.
    - [docs] Add typing info to quick start.
    - [inotify] Fix reading inotify file descriptor after closing
      it.
    - [utils] The stop_signal keyword-argument type of the
      AutoRestartTrick class can now be either a signal.Signals
      or an int.
    - [utils] Added the __repr__() method to the Trick class.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchdog?expand=0&rev=50
2025-01-08 09:50:02 +00:00
efd83118a4 - update to 6.0.0:
Many braking changes, please check 
    https://github.com/gorakhargosh/watchdog/releases/tag/v6.0.0
  for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchdog?expand=0&rev=49
2025-01-08 09:47:27 +00:00
2 changed files with 5 additions and 30 deletions

View File

@@ -1,13 +1,3 @@
-------------------------------------------------------------------
Tue Aug 26 09:33:09 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems
-------------------------------------------------------------------
Fri Jun 13 02:42:43 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Tue Jan 7 09:57:40 UTC 2025 - Adrian Schröter <adrian@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-watchdog
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,11 +17,6 @@
%define skip_python2 1
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-watchdog
Version: 6.0.0
@@ -31,22 +26,15 @@ License: Apache-2.0
URL: https://github.com/gorakhargosh/watchdog
Source: https://files.pythonhosted.org/packages/source/w/watchdog/watchdog-%{version}.tar.gz
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
Requires: python-PyYAML >= 3.10
Requires: python-pathtools >= 0.1.1
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pathtools >= 0.1.1}
BuildRequires: %{python_module pytest-timeout}
@@ -76,13 +64,13 @@ find src -name "*.py" | xargs sed -i -e '/^#!\//, 1d'
sed -i '/^[[:space:]]\+--cov/d' pyproject.toml
%build
%pyproject_wheel
%python_build
%if 0%{?suse_version} > 1500
cd docs && make html && rm -r build/html/.buildinfo build/html/objects.inv # Build HTML docs
%endif
%install
%pyproject_install
%python_install
%python_clone -a %{buildroot}%{_bindir}/watchmedo
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -100,15 +88,12 @@ export LANG=en_US.UTF-8
%postun
%python_uninstall_alternative watchmedo
%pre
%python_libalternatives_reset_alternative watchmedo
%files %{python_files}
%license COPYING LICENSE
%doc AUTHORS changelog.rst MANIFEST.in README.rst
%python_alternative %{_bindir}/watchmedo
%{python_sitelib}/watchdog
%{python_sitelib}/watchdog-%{version}.dist-info
%{python_sitelib}/watchdog-%{version}-py%{python_version}.egg-info
%if 0%{?suse_version} > 1500
%files %{python_files doc}