Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
2a5c87a9b7 |
@@ -1,71 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jan 7 09:57:40 UTC 2025 - Adrian Schröter <adrian@suse.de>
|
|
||||||
|
|
||||||
- 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 ?)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Jun 13 15:32:08 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 4.0.1:
|
|
||||||
* [inotify] Fix missing event_filter for the full emitter
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Mar 16 16:27:31 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 4.0.0:
|
|
||||||
* Drop support for Python 3.7.
|
|
||||||
* Add support for Python 3.12.
|
|
||||||
* [snapshot] Add typing to dirsnapshot
|
|
||||||
* [snapshot] Added DirectorySnapshotDiff.ContextManager
|
|
||||||
* [events] FileSystemEvent, and subclasses, are now
|
|
||||||
dataclass``es, and their ``repr() has changed
|
|
||||||
* [windows] WinAPINativeEvent is now a dataclass, and its
|
|
||||||
repr() has changed
|
|
||||||
* [events] Log FileOpenedEvent, and FileClosedEvent, events in
|
|
||||||
LoggingEventHandler
|
|
||||||
* [tests] Improve FileSystemEvent coverage
|
|
||||||
* [watchmedo] Log all events in LoggerTrick
|
|
||||||
* [windows] The observers.read_directory_changes.WATCHDOG_TRAVE
|
|
||||||
RSE_MOVED_DIR_DELAY hack was removed. The constant will be
|
|
||||||
kept to prevent breaking other softwares.
|
|
||||||
* Thanks to our beloved contributors: @BoboTiG, @msabramo
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jun 11 09:16:06 UTC 2023 - ecsos <ecsos@opensuse.org>
|
Sun Jun 11 09:16:06 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-watchdog
|
# spec file for package python-watchdog
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 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
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-watchdog
|
Name: python-watchdog
|
||||||
Version: 6.0.0
|
Version: 3.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Filesystem events monitoring
|
Summary: Filesystem events monitoring
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@@ -33,7 +33,7 @@ BuildRequires: python3-Sphinx
|
|||||||
Requires: python-PyYAML >= 3.10
|
Requires: python-PyYAML >= 3.10
|
||||||
Requires: python-pathtools >= 0.1.1
|
Requires: python-pathtools >= 0.1.1
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module pathtools >= 0.1.1}
|
BuildRequires: %{python_module pathtools >= 0.1.1}
|
||||||
@@ -55,14 +55,11 @@ This package contains documentation and examples for %{name}.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n watchdog-%{version}
|
%setup -q -n watchdog-%{version}
|
||||||
chmod -x README.rst
|
chmod -x README.rst
|
||||||
# Remove all shebangs
|
# Remove all shebangs
|
||||||
find src -name "*.py" | xargs sed -i -e '/^#!\//, 1d'
|
find src -name "*.py" | xargs sed -i -e '/^#!\//, 1d'
|
||||||
|
|
||||||
# Remove coverage testing
|
|
||||||
sed -i '/^[[:space:]]\+--cov/d' pyproject.toml
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
%if 0%{?suse_version} > 1500
|
%if 0%{?suse_version} > 1500
|
||||||
@@ -79,8 +76,7 @@ sed -i '/--cov/d' setup.cfg
|
|||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
# test_event_dispatcher randomly fails on SLE15
|
# test_event_dispatcher randomly fails on SLE15
|
||||||
# test_unmount_watched_directory_filesystem requires sudo/root which is not available
|
# test_unmount_watched_directory_filesystem requires sudo/root which is not available
|
||||||
# test_select_fd
|
%pytest -k 'not test_event_dispatcher and not test_unmount_watched_directory_filesystem'
|
||||||
%pytest -k 'not (test_event_dispatcher or test_unmount_watched_directory_filesystem or test_select_fd)'
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative watchmedo
|
%python_install_alternative watchmedo
|
||||||
|
BIN
watchdog-3.0.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
watchdog-3.0.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
watchdog-6.0.0.tar.gz
(Stored with Git LFS)
BIN
watchdog-6.0.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user