Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-filelock for openSUSE:Factory
checked in at 2023-03-17 17:02:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-filelock (Old)
and /work/SRC/openSUSE:Factory/.python-filelock.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-filelock"
Fri Mar 17 17:02:07 2023 rev:10 rq:1071878 version:3.9.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-filelock/python-filelock.changes
2023-01-05 15:00:15.916834439 +0100
+++
/work/SRC/openSUSE:Factory/.python-filelock.new.31432/python-filelock.changes
2023-03-17 17:02:28.649119279 +0100
@@ -1,0 +2,6 @@
+Tue Mar 14 22:23:25 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 3.9.1:
+ * use time.perf_counter instead of time.monotonic
+
+-------------------------------------------------------------------
Old:
----
filelock-3.9.0.tar.gz
New:
----
filelock-3.9.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-filelock.spec ++++++
--- /var/tmp/diff_new_pack.1k6dcM/_old 2023-03-17 17:02:29.213122234 +0100
+++ /var/tmp/diff_new_pack.1k6dcM/_new 2023-03-17 17:02:29.217122255 +0100
@@ -18,7 +18,7 @@
Name: python-filelock
-Version: 3.9.0
+Version: 3.9.1
Release: 0
Summary: Platform Independent File Lock in Python
License: Unlicense
++++++ filelock-3.9.0.tar.gz -> filelock-3.9.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.9.0/PKG-INFO new/filelock-3.9.1/PKG-INFO
--- old/filelock-3.9.0/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/filelock-3.9.1/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,12 +1,13 @@
Metadata-Version: 2.1
Name: filelock
-Version: 3.9.0
+Version: 3.9.1
Summary: A platform independent file lock.
Project-URL: Documentation, https://py-filelock.readthedocs.io
Project-URL: Homepage, https://github.com/tox-dev/py-filelock
Project-URL: Source, https://github.com/tox-dev/py-filelock
Project-URL: Tracker, https://github.com/tox-dev/py-filelock/issues
Maintainer-email: Bernát Gábor <[email protected]>
+License-Expression: Unlicense
License-File: LICENSE
Keywords: application,cache,directory,log,user
Classifier: Development Status :: 5 - Production/Stable
@@ -22,14 +23,14 @@
Requires-Python: >=3.7
Provides-Extra: docs
Requires-Dist: furo>=2022.12.7; extra == 'docs'
-Requires-Dist: sphinx-autodoc-typehints>=1.19.5; extra == 'docs'
-Requires-Dist: sphinx>=5.3; extra == 'docs'
+Requires-Dist: sphinx-autodoc-typehints!=1.23.4,>=1.22; extra == 'docs'
+Requires-Dist: sphinx>=6.1.3; extra == 'docs'
Provides-Extra: testing
-Requires-Dist: covdefaults>=2.2.2; extra == 'testing'
-Requires-Dist: coverage>=7.0.1; extra == 'testing'
+Requires-Dist: covdefaults>=2.3; extra == 'testing'
+Requires-Dist: coverage>=7.2.1; extra == 'testing'
Requires-Dist: pytest-cov>=4; extra == 'testing'
Requires-Dist: pytest-timeout>=2.1; extra == 'testing'
-Requires-Dist: pytest>=7.2; extra == 'testing'
+Requires-Dist: pytest>=7.2.2; extra == 'testing'
Description-Content-Type: text/markdown
# py-filelock
@@ -41,7 +42,7 @@
status](https://readthedocs.org/projects/py-filelock/badge/?version=latest)](https://py-filelock.readthedocs.io/en/latest/?badge=latest)
[](https://github.com/psf/black)
-[](https://pepy.tech/project/filelock/month)
+[](https://pepy.tech/project/filelock)
[](https://github.com/tox-dev/py-filelock/actions/workflows/check.yml)
For more information checkout the [official
documentation](https://py-filelock.readthedocs.io/en/latest/index.html).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.9.0/README.md new/filelock-3.9.1/README.md
--- old/filelock-3.9.0/README.md 2020-02-02 01:00:00.000000000 +0100
+++ new/filelock-3.9.1/README.md 2020-02-02 01:00:00.000000000 +0100
@@ -7,7 +7,7 @@
status](https://readthedocs.org/projects/py-filelock/badge/?version=latest)](https://py-filelock.readthedocs.io/en/latest/?badge=latest)
[](https://github.com/psf/black)
-[](https://pepy.tech/project/filelock/month)
+[](https://pepy.tech/project/filelock)
[](https://github.com/tox-dev/py-filelock/actions/workflows/check.yml)
For more information checkout the [official
documentation](https://py-filelock.readthedocs.io/en/latest/index.html).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.9.0/pyproject.toml
new/filelock-3.9.1/pyproject.toml
--- old/filelock-3.9.0/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
+++ new/filelock-3.9.1/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
@@ -1,27 +1,24 @@
[build-system]
build-backend = "hatchling.build"
-requires = ["hatchling>=1.11.1", "hatch-vcs>=0.3"]
+requires = [
+ "hatch-vcs>=0.3",
+ "hatchling>=1.13",
+]
[project]
name = "filelock"
description = "A platform independent file lock."
readme = "README.md"
+keywords = [
+ "application",
+ "cache",
+ "directory",
+ "log",
+ "user",
+]
license = "Unlicense"
maintainers = [{ name = "Bernát Gábor", email = "[email protected]" }]
-urls.Documentation = "https://py-filelock.readthedocs.io"
-urls.Homepage = "https://github.com/tox-dev/py-filelock"
-urls.Source = "https://github.com/tox-dev/py-filelock"
-urls.Tracker = "https://github.com/tox-dev/py-filelock/issues"
requires-python = ">=3.7"
-optional-dependencies.testing = [
- "covdefaults>=2.2.2",
- "coverage>=7.0.1",
- "pytest>=7.2",
- "pytest-cov>=4",
- "pytest-timeout>=2.1",
-]
-optional-dependencies.docs = ["furo>=2022.12.7", "sphinx>=5.3",
"sphinx-autodoc-typehints>=1.19.5"]
-keywords = ["application", "cache", "directory", "log", "user"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
@@ -34,7 +31,25 @@
"Topic :: Software Development :: Libraries",
"Topic :: System",
]
-dynamic = ["version"]
+dynamic = [
+ "version",
+]
+optional-dependencies.docs = [
+ "furo>=2022.12.7",
+ "sphinx>=6.1.3",
+ "sphinx-autodoc-typehints!=1.23.4,>=1.22",
+]
+optional-dependencies.testing = [
+ "covdefaults>=2.3",
+ "coverage>=7.2.1",
+ "pytest>=7.2.2",
+ "pytest-cov>=4",
+ "pytest-timeout>=2.1",
+]
+urls.Documentation = "https://py-filelock.readthedocs.io"
+urls.Homepage = "https://github.com/tox-dev/py-filelock"
+urls.Source = "https://github.com/tox-dev/py-filelock"
+urls.Tracker = "https://github.com/tox-dev/py-filelock/issues"
[tool.hatch]
build.hooks.vcs.version-file = "src/filelock/version.py"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.9.0/src/filelock/__init__.py
new/filelock-3.9.1/src/filelock/__init__.py
--- old/filelock-3.9.0/src/filelock/__init__.py 2020-02-02 01:00:00.000000000
+0100
+++ new/filelock-3.9.1/src/filelock/__init__.py 2020-02-02 01:00:00.000000000
+0100
@@ -30,7 +30,7 @@
else:
_FileLock = SoftFileLock
if warnings is not None:
- warnings.warn("only soft file lock is available")
+ warnings.warn("only soft file lock is available", stacklevel=2)
#: Alias for the lock, which should be used for the current platform. On
Windows, this is an alias for
# :class:`WindowsFileLock`, on Unix for :class:`UnixFileLock` and otherwise
for :class:`SoftFileLock`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.9.0/src/filelock/_api.py
new/filelock-3.9.1/src/filelock/_api.py
--- old/filelock-3.9.0/src/filelock/_api.py 2020-02-02 01:00:00.000000000
+0100
+++ new/filelock-3.9.1/src/filelock/_api.py 2020-02-02 01:00:00.000000000
+0100
@@ -164,7 +164,7 @@
lock_id = id(self)
lock_filename = self._lock_file
- start_time = time.monotonic()
+ start_time = time.perf_counter()
try:
while True:
with self._thread_lock:
@@ -178,7 +178,7 @@
elif blocking is False:
_LOGGER.debug("Failed to immediately acquire lock %s on
%s", lock_id, lock_filename)
raise Timeout(self._lock_file)
- elif 0 <= timeout < time.monotonic() - start_time:
+ elif 0 <= timeout < time.perf_counter() - start_time:
_LOGGER.debug("Timeout on acquiring lock %s on %s",
lock_id, lock_filename)
raise Timeout(self._lock_file)
else:
@@ -199,7 +199,6 @@
:param force: If true, the lock counter is ignored and the lock is
released in every case/
"""
with self._thread_lock:
-
if self.is_locked:
self._lock_counter -= 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.9.0/src/filelock/version.py
new/filelock-3.9.1/src/filelock/version.py
--- old/filelock-3.9.0/src/filelock/version.py 2020-02-02 01:00:00.000000000
+0100
+++ new/filelock-3.9.1/src/filelock/version.py 2020-02-02 01:00:00.000000000
+0100
@@ -1,4 +1,4 @@
# file generated by setuptools_scm
# don't change, don't track in version control
-__version__ = version = '3.9.0'
-__version_tuple__ = version_tuple = (3, 9, 0)
+__version__ = version = '3.9.1'
+__version_tuple__ = version_tuple = (3, 9, 1)