Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package Radicale for openSUSE:Factory checked in at 2022-02-18 23:03:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/Radicale (Old) and /work/SRC/openSUSE:Factory/.Radicale.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "Radicale" Fri Feb 18 23:03:13 2022 rev:5 rq:955944 version:3.1.5 Changes: -------- --- /work/SRC/openSUSE:Factory/Radicale/Radicale.changes 2022-02-09 20:40:52.454616246 +0100 +++ /work/SRC/openSUSE:Factory/.Radicale.new.1958/Radicale.changes 2022-02-18 23:04:00.829407824 +0100 @@ -1,0 +2,8 @@ +Tue Feb 8 22:20:29 UTC 2022 - ??kos Sz??ts <szots...@gmail.com> + +- Update to 3.1.5 + * Ignore configuration file if access is denied + * Use F_FULLFSYNC with PyPy on MacOS + * Fallback if F_FULLFSYNC is not supported by the filesystem + +------------------------------------------------------------------- Old: ---- Radicale-3.1.4.tar.gz New: ---- Radicale-3.1.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Radicale.spec ++++++ --- /var/tmp/diff_new_pack.KWh7oQ/_old 2022-02-18 23:04:01.397407780 +0100 +++ /var/tmp/diff_new_pack.KWh7oQ/_new 2022-02-18 23:04:01.405407779 +0100 @@ -26,7 +26,7 @@ %define vo_min_ver 0.9.6 %define du_min_ver 2.7.3 Name: Radicale -Version: 3.1.4 +Version: 3.1.5 Release: 0 Summary: A CalDAV calendar and CardDav contact server License: GPL-3.0-or-later ++++++ Radicale-3.1.4.tar.gz -> Radicale-3.1.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Radicale-3.1.4/.github/workflows/test.yml new/Radicale-3.1.5/.github/workflows/test.yml --- old/Radicale-3.1.4/.github/workflows/test.yml 2022-02-01 20:25:17.000000000 +0100 +++ new/Radicale-3.1.5/.github/workflows/test.yml 2022-02-08 16:44:08.000000000 +0100 @@ -6,7 +6,7 @@ strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.6, 3.7, 3.8, 3.9, pypy-3.7, pypy-3.8] + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', pypy-3.7, pypy-3.8] exclude: - os: windows-latest python-version: pypy-3.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Radicale-3.1.4/CHANGELOG.md new/Radicale-3.1.5/CHANGELOG.md --- old/Radicale-3.1.4/CHANGELOG.md 2022-02-01 20:25:17.000000000 +0100 +++ new/Radicale-3.1.5/CHANGELOG.md 2022-02-08 16:44:08.000000000 +0100 @@ -1,8 +1,14 @@ # Changelog +## 3.1.5 + +* Ignore configuration file if access is denied +* Use F_FULLFSYNC with PyPy on MacOS +* Fallback if F_FULLFSYNC is not supported by the filesystem + ## 3.1.4 -* Fallback if RENAME_EXCHANGE is not supportd by the filesystem +* Fallback if RENAME_EXCHANGE is not supported by the filesystem * Assume POSIX compatibility if `sys.platform` is not `win32` ## 3.1.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Radicale-3.1.4/radicale/config.py new/Radicale-3.1.5/radicale/config.py --- old/Radicale-3.1.4/radicale/config.py 2022-02-01 20:25:17.000000000 +0100 +++ new/Radicale-3.1.5/radicale/config.py 2022-02-08 16:44:08.000000000 +0100 @@ -283,7 +283,8 @@ config = {s: {o: parser[s][o] for o in parser.options(s)} for s in parser.sections()} except Exception as e: - if not ignore_if_missing or not isinstance(e, FileNotFoundError): + if not (ignore_if_missing and + isinstance(e, (FileNotFoundError, PermissionError))): raise RuntimeError("Failed to load %s: %s" % (config_source, e) ) from e config = Configuration.SOURCE_MISSING diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Radicale-3.1.4/radicale/pathutils.py new/Radicale-3.1.5/radicale/pathutils.py --- old/Radicale-3.1.4/radicale/pathutils.py 2022-02-01 20:25:17.000000000 +0100 +++ new/Radicale-3.1.5/radicale/pathutils.py 2022-02-08 16:44:08.000000000 +0100 @@ -88,6 +88,10 @@ ctypes.c_uint] renameat2.restype = ctypes.c_int +if sys.platform == "darwin": + # Definition missing in PyPy + F_FULLFSYNC: int = getattr(fcntl, "F_FULLFSYNC", 51) + class RwLock: """A readers-Writer lock that locks a file.""" @@ -193,10 +197,15 @@ def fsync(fd: int) -> None: - if sys.platform != "win32" and hasattr(fcntl, "F_FULLFSYNC"): - fcntl.fcntl(fd, fcntl.F_FULLFSYNC) - else: - os.fsync(fd) + if sys.platform == "darwin": + try: + fcntl.fcntl(fd, F_FULLFSYNC) + return + except OSError as e: + # Fallback if F_FULLFSYNC not supported by filesystem + if e.errno != errno.EINVAL: + raise + os.fsync(fd) def strip_path(path: str) -> str: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Radicale-3.1.4/setup.py new/Radicale-3.1.5/setup.py --- old/Radicale-3.1.4/setup.py 2022-02-01 20:25:17.000000000 +0100 +++ new/Radicale-3.1.5/setup.py 2022-02-08 16:44:08.000000000 +0100 @@ -43,7 +43,7 @@ # When the version is updated, a new section in the CHANGELOG.md file must be # added too. -VERSION = "3.1.4" +VERSION = "3.1.5" WEB_FILES = ["web/internal_data/css/icon.png", "web/internal_data/css/main.css", "web/internal_data/fn.js", @@ -52,7 +52,7 @@ setup_requires = [] if {"pytest", "test", "ptr"}.intersection(sys.argv): setup_requires.append("pytest-runner") -tests_require = ["pytest-runner", "pytest", "pytest-cov", "pytest-flake8", +tests_require = ["pytest-runner", "pytest<7", "pytest-cov", "pytest-flake8", "pytest-isort", "typeguard", "waitress"] os.environ["PYTEST_ADDOPTS"] = os.environ.get("PYTEST_ADDOPTS", "") # Mypy only supports CPython