#3 Update to latest version.
Merged 2 years ago by jujens. Opened 2 years ago by qulogic.
rpms/ qulogic/python-watchdog rawhide  into  rawhide

file modified
+8 -8
@@ -1,12 +1,12 @@ 

  %global modname watchdog

  

  Name:               python-%{modname}

- Version:            0.10.2

- Release:            5%{?dist}

+ Version:            2.1.3

+ Release:            1%{?dist}

  Summary:            File system events monitoring

  

  License:            ASL 2.0 and BSD and MIT

- URL:                http://pypi.python.org/pypi/%{modname}

+ URL:                https://pypi.org/project/watchdog/

  Source0:            %pypi_source %{modname}

  BuildArch:          noarch

  
@@ -14,18 +14,18 @@ 

  A Python API and shell utilities to monitor file system events.

  

  %package -n python3-%{modname}

+ Summary:            %{summary}

+ 

  BuildArch:          noarch

+ 

  BuildRequires:      python3-devel

  BuildRequires:      python3-setuptools

  BuildRequires:      python3-pytest

  BuildRequires:      python3-pytest-cov

+ BuildRequires:      python3-pytest-rerunfailures

  BuildRequires:      python3-pytest-timeout

  BuildRequires:      python3-PyYAML >= 3.09

  BuildRequires:      python3-argh >= 0.8.1

- BuildRequires:      python3-pathtools >= 0.1.1

- Summary:            %{summary}

- Obsoletes:          python2-%{modname} < 0.8.3-12

- %{?python_provide:%python_provide python3-%{modname}}

  

  %description -n python3-%{modname}

  A Python API and shell utilities to monitor file system events.
@@ -46,7 +46,7 @@ 

  %py3_install

  

  %check

- PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v

+ %pytest -v

  

  %files -n python3-%{modname}

  %doc README.rst

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (watchdog-0.10.2.tar.gz) = 0c811a1c6afdad10c4f0d5613a61807660ce401d504209c1a69bc613c4ba6aed7525a2e2134e69e63a9681d99d69a7b532de582e01b5513e491b7c4478fd8e5f

+ SHA512 (watchdog-2.1.3.tar.gz) = 72f7a39b06b6fa5bd32e1e39638485450be60f0e62c359d76bf9acb904a888c6401f4daae943f420b2e86dadb8e7b60fcb664c9e00183b1ab5ad79bb205311f2

The changes in 1.0.0 are:

  • Versioning is now following the semver
  • Drop support for Python 2.7, 3.4 and 3.5 BREAKING
  • [mac] Regression fixes for native fsevents (#717)
  • [windows] winapi.BUFFER_SIZE now defaults to 64000 (instead of 2048) (#700) BREAKING
  • [windows] Introduced winapi.PATH_BUFFER_SIZE (defaults to 2048) to keep the old behavior with path-realted functions (#700)
  • Use pathlib from the standard library, instead of pathtools (#556)
  • Allow file paths on Unix that don't follow the file system encoding (#703)
  • Removed the long-time deprecated events.LoggingFileSystemEventHandler class, use LoggingEventHandler instead BREAKING

and the changes in 2.0.0 are:

  • [mac] Drop support for macOS 10.12 and earlier (#750) BREAKING
  • [mac] Support coalesced filesystem events (#734)
  • [mac] Fix an issue when renaming an item changes only the casing (#750)
  • [inotify] Add support for IN_CLOSE_WRITE events. A FileCloseEvent event will be fired. Note that IN_CLOSE_NOWRITE events are not handled to prevent much noise. (#184, #245, #280, #313, #690)
  • [inotify] Allow to stop the emitter multiple times (#760)
  • Avoid deprecated PyEval_InitThreads on Python 3.7+ (#746)

I've marked what are breaking changes, and really only the logging change could affect us (which seems unlikely), so there's no problem bumping straight to the latest version.

Pull-Request has been merged by jujens

2 years ago
Metadata