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 2022-12-15 19:23:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-filelock (Old) and /work/SRC/openSUSE:Factory/.python-filelock.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-filelock" Thu Dec 15 19:23:56 2022 rev:7 rq:1042822 version:3.8.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-filelock/python-filelock.changes 2022-10-14 15:40:42.875735581 +0200 +++ /work/SRC/openSUSE:Factory/.python-filelock.new.1835/python-filelock.changes 2022-12-15 19:23:58.819638167 +0100 @@ -1,0 +2,18 @@ +Tue Dec 13 15:23:18 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com> + +- Update to version 3.8.2 + * What's Changed + Bump pypa/gh-action-pypi-publish from 1.5.1 to 1.6.1 by @dependabot in #178 + Update the license classifier to "Unlicense" by @jond01 in #180 + +- Update to version 3.8.1 + * What's Changed + [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #166 + link to flufl.lock by @dholth in #167 + [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #168 + [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #169 + [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #170 + fix BaseFileLock.timeout's getter/setter being obscured by itself by @dearfl in #172 + Fix mypy fails understanding FileLock by @gaborbernat in #177 + +------------------------------------------------------------------- Old: ---- filelock-3.8.0.tar.gz New: ---- filelock-3.8.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-filelock.spec ++++++ --- /var/tmp/diff_new_pack.QaeD4P/_old 2022-12-15 19:23:59.399641467 +0100 +++ /var/tmp/diff_new_pack.QaeD4P/_new 2022-12-15 19:23:59.403641490 +0100 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-filelock -Version: 3.8.0 +Version: 3.8.2 Release: 0 Summary: Platform Independent File Lock in Python License: Unlicense ++++++ filelock-3.8.0.tar.gz -> filelock-3.8.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelock-3.8.0/.github/workflows/check.yml new/filelock-3.8.2/.github/workflows/check.yml --- old/filelock-3.8.0/.github/workflows/check.yml 2022-08-10 08:44:13.000000000 +0200 +++ new/filelock-3.8.2/.github/workflows/check.yml 2022-12-05 19:30:04.000000000 +0100 @@ -17,9 +17,9 @@ fail-fast: false matrix: py: - - "3.11.0-beta.5" + - "3.11" - "3.10" - - "pypy-3.7-v7.3.9" # ahead to start it earlier because takes longer + - "pypy3.9" - "3.9" - "3.8" - "3.7" @@ -27,12 +27,14 @@ - ubuntu-22.04 - windows-2022 - macos-12 + exclude: + - { os: windows-2022, py: "pypy3.9" } steps: - name: Setup python for tox uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" - name: Install tox run: python -m pip install tox - uses: actions/checkout@v3 @@ -77,7 +79,7 @@ fetch-depth: 0 - uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" - name: Install tox run: python -m pip install tox - name: Setup coverage tool @@ -119,10 +121,10 @@ - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Setup Python "3.10" + - name: Setup Python "3.11" uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" - name: Install tox run: python -m pip install tox - name: Setup test suite @@ -138,7 +140,7 @@ - name: Setup python to build package uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" - name: Install build run: python -m pip install build - uses: actions/checkout@v3 @@ -147,7 +149,7 @@ - name: Build sdist and wheel run: python -m build -s -w . -o dist - name: Publish to PyPi - uses: pypa/gh-action-pypi-publish@v1.5.1 + uses: pypa/gh-action-pypi-publish@v1.6.1 with: skip_existing: true user: __token__ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelock-3.8.0/.pre-commit-config.yaml new/filelock-3.8.2/.pre-commit-config.yaml --- old/filelock-3.8.0/.pre-commit-config.yaml 2022-08-10 08:44:13.000000000 +0200 +++ new/filelock-3.8.2/.pre-commit-config.yaml 2022-12-05 19:30:04.000000000 +0100 @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.4.0 hooks: - id: check-ast - id: check-builtin-literals @@ -12,7 +12,7 @@ - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/asottile/pyupgrade - rev: v2.37.3 + rev: v3.3.0 hooks: - id: pyupgrade args: [ "--py36-plus" ] @@ -21,7 +21,7 @@ hooks: - id: isort - repo: https://github.com/psf/black - rev: 22.6.0 + rev: 22.10.0 hooks: - id: black args: [ --safe ] @@ -29,13 +29,13 @@ rev: v1.12.1 hooks: - id: blacken-docs - additional_dependencies: [ black==22.6 ] + additional_dependencies: [ black==22.10 ] - repo: https://github.com/pre-commit/pygrep-hooks rev: v1.9.0 hooks: - id: rst-backticks - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.0.0 + rev: v2.2.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/tox-dev/tox-ini-fmt @@ -44,14 +44,14 @@ - id: tox-ini-fmt args: [ "-p", "fix_lint" ] - repo: https://github.com/PyCQA/flake8 - rev: 5.0.4 + rev: 6.0.0 hooks: - id: flake8 additional_dependencies: - - flake8-bugbear==22.7.1 - - flake8-comprehensions==3.10 + - flake8-bugbear==22.10.27 + - flake8-comprehensions==3.10.1 - flake8-pytest-style==1.6 - flake8-spellcheck==0.28 - - flake8-unused-arguments==0.0.11 - - flake8-noqa==1.2.8 - - pep8-naming==0.13.1 + - flake8-unused-arguments==0.0.12 + - flake8-noqa==1.3 + - pep8-naming==0.13.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelock-3.8.0/.readthedocs.yaml new/filelock-3.8.2/.readthedocs.yaml --- old/filelock-3.8.0/.readthedocs.yaml 2022-08-10 08:44:13.000000000 +0200 +++ new/filelock-3.8.2/.readthedocs.yaml 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -version: 2 -build: - image: latest -formats: - - htmlzip -python: - version: 3.8 - install: - - method: pip - path: . - extra_requirements: - - docs -sphinx: - builder: html - configuration: docs/conf.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelock-3.8.0/.readthedocs.yml new/filelock-3.8.2/.readthedocs.yml --- old/filelock-3.8.0/.readthedocs.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/filelock-3.8.2/.readthedocs.yml 2022-12-05 19:30:04.000000000 +0100 @@ -0,0 +1,15 @@ +version: 2 +build: + os: ubuntu-22.04 + tools: + python: "3" +python: + install: + - method: pip + path: . + extra_requirements: + - docs +sphinx: + builder: html + configuration: docs/conf.py + fail_on_warning: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelock-3.8.0/PKG-INFO new/filelock-3.8.2/PKG-INFO --- old/filelock-3.8.0/PKG-INFO 2022-08-10 08:44:21.006441600 +0200 +++ new/filelock-3.8.2/PKG-INFO 2022-12-05 19:30:13.547886000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: filelock -Version: 3.8.0 +Version: 3.8.2 Summary: A platform independent file lock. Home-page: https://github.com/tox-dev/py-filelock Download-URL: https://github.com/tox-dev/py-filelock/archive/main.zip @@ -11,7 +11,7 @@ Project-URL: Tracker, https://github.com/tox-dev/py-filelock/issues Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers -Classifier: License :: Public Domain +Classifier: License :: OSI Approved :: The Unlicense (Unlicense) Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelock-3.8.0/docs/changelog.rst new/filelock-3.8.2/docs/changelog.rst --- old/filelock-3.8.0/docs/changelog.rst 2022-08-10 08:44:13.000000000 +0200 +++ new/filelock-3.8.2/docs/changelog.rst 2022-12-05 19:30:04.000000000 +0100 @@ -1,6 +1,24 @@ Changelog ========= +v3.8.1 (2022-12-04) +------------------- +- Fix mypy does not accept ``filelock.FileLock`` as a valid type + +v3.8.0 (2022-12-04) +------------------- +- Bump project dependencies +- Add timeout unit to docstrings +- Support 3.11 + +v3.7.1 (2022-05-31) +------------------- +- Make the readme documentation point to the index page + +v3.7.0 (2022-05-13) +------------------- +- Add ability to return immediately when a lock cannot be obtained + v3.6.0 (2022-02-17) ------------------- - Fix pylint warning "Abstract class :class:`WindowsFileLock <filelock.WindowsFileLock>` with abstract methods instantiated" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelock-3.8.0/docs/index.rst new/filelock-3.8.2/docs/index.rst --- old/filelock-3.8.0/docs/index.rst 2022-08-10 08:44:13.000000000 +0200 +++ new/filelock-3.8.2/docs/index.rst 2022-12-05 19:30:04.000000000 +0100 @@ -28,7 +28,9 @@ - the `pid <https://pypi.python.org/pypi/pid>`_ 3rd party library, - for Windows the `msvcrt <https://docs.python.org/3/library/msvcrt.html#msvcrt.locking>`_ module in the standard library, -- for UNIX the `fcntl <https://docs.python.org/3/library/fcntl.html#fcntl.flock>`_ module in the standard library. +- for UNIX the `fcntl <https://docs.python.org/3/library/fcntl.html#fcntl.flock>`_ module in the standard library, +- the `flufl.lock <https://pypi.org/project/flufl.lock/>`_ 3rd party library. + Installation ------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelock-3.8.0/pyproject.toml new/filelock-3.8.2/pyproject.toml --- old/filelock-3.8.0/pyproject.toml 2022-08-10 08:44:13.000000000 +0200 +++ new/filelock-3.8.2/pyproject.toml 2022-12-05 19:30:04.000000000 +0100 @@ -1,6 +1,6 @@ [build-system] requires = [ - "setuptools>=63.4", + "setuptools>=65.6.3", "setuptools_scm>=7.0.5", ] build-backend = 'setuptools.build_meta' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelock-3.8.0/setup.cfg new/filelock-3.8.2/setup.cfg --- old/filelock-3.8.0/setup.cfg 2022-08-10 08:44:21.006441600 +0200 +++ new/filelock-3.8.2/setup.cfg 2022-12-05 19:30:13.547886000 +0100 @@ -11,7 +11,7 @@ classifiers = Development Status :: 5 - Production/Stable Intended Audience :: Developers - License :: Public Domain + License :: OSI Approved :: The Unlicense (Unlicense) Operating System :: OS Independent Programming Language :: Python Programming Language :: Python :: 3 @@ -36,14 +36,14 @@ [options.extras_require] docs = - furo>=2022.6.21 - sphinx>=5.1.1 - sphinx-autodoc-typehints>=1.19.1 + furo>=2022.9.29 + sphinx>=5.3 + sphinx-autodoc-typehints>=1.19.5 testing = - covdefaults>=2.2 - coverage>=6.4.2 - pytest>=7.1.2 - pytest-cov>=3 + covdefaults>=2.2.2 + coverage>=6.5 + pytest>=7.2 + pytest-cov>=4 pytest-timeout>=2.1 [options.package_data] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelock-3.8.0/src/filelock/__init__.py new/filelock-3.8.2/src/filelock/__init__.py --- old/filelock-3.8.0/src/filelock/__init__.py 2022-08-10 08:44:13.000000000 +0200 +++ new/filelock-3.8.2/src/filelock/__init__.py 2022-12-05 19:30:04.000000000 +0100 @@ -9,6 +9,7 @@ import sys import warnings +from typing import TYPE_CHECKING from ._api import AcquireReturnProxy, BaseFileLock from ._error import Timeout @@ -33,7 +34,10 @@ #: 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`. -FileLock: type[BaseFileLock] = _FileLock +if TYPE_CHECKING: + FileLock = SoftFileLock +else: + FileLock = _FileLock __all__ = [ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelock-3.8.0/src/filelock/_api.py new/filelock-3.8.2/src/filelock/_api.py --- old/filelock-3.8.0/src/filelock/_api.py 2022-08-10 08:44:13.000000000 +0200 +++ new/filelock-3.8.2/src/filelock/_api.py 2022-12-05 19:30:04.000000000 +0100 @@ -56,7 +56,7 @@ self._lock_file_fd: int | None = None # The default timeout value. - self.timeout: float = timeout + self._timeout: float = timeout # We use this lock primarily for the lock counter. self._thread_lock: Lock = Lock() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelock-3.8.0/src/filelock/version.py new/filelock-3.8.2/src/filelock/version.py --- old/filelock-3.8.0/src/filelock/version.py 2022-08-10 08:44:20.000000000 +0200 +++ new/filelock-3.8.2/src/filelock/version.py 2022-12-05 19:30:13.000000000 +0100 @@ -1,5 +1,5 @@ # coding: utf-8 # file generated by setuptools_scm # don't change, don't track in version control -__version__ = version = '3.8.0' -__version_tuple__ = version_tuple = (3, 8, 0) +__version__ = version = '3.8.2' +__version_tuple__ = version_tuple = (3, 8, 2) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelock-3.8.0/src/filelock.egg-info/PKG-INFO new/filelock-3.8.2/src/filelock.egg-info/PKG-INFO --- old/filelock-3.8.0/src/filelock.egg-info/PKG-INFO 2022-08-10 08:44:20.000000000 +0200 +++ new/filelock-3.8.2/src/filelock.egg-info/PKG-INFO 2022-12-05 19:30:13.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: filelock -Version: 3.8.0 +Version: 3.8.2 Summary: A platform independent file lock. Home-page: https://github.com/tox-dev/py-filelock Download-URL: https://github.com/tox-dev/py-filelock/archive/main.zip @@ -11,7 +11,7 @@ Project-URL: Tracker, https://github.com/tox-dev/py-filelock/issues Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers -Classifier: License :: Public Domain +Classifier: License :: OSI Approved :: The Unlicense (Unlicense) Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelock-3.8.0/src/filelock.egg-info/SOURCES.txt new/filelock-3.8.2/src/filelock.egg-info/SOURCES.txt --- old/filelock-3.8.0/src/filelock.egg-info/SOURCES.txt 2022-08-10 08:44:20.000000000 +0200 +++ new/filelock-3.8.2/src/filelock.egg-info/SOURCES.txt 2022-12-05 19:30:13.000000000 +0100 @@ -1,6 +1,6 @@ .gitignore .pre-commit-config.yaml -.readthedocs.yaml +.readthedocs.yml LICENSE README.md codecov.yml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelock-3.8.0/src/filelock.egg-info/requires.txt new/filelock-3.8.2/src/filelock.egg-info/requires.txt --- old/filelock-3.8.0/src/filelock.egg-info/requires.txt 2022-08-10 08:44:20.000000000 +0200 +++ new/filelock-3.8.2/src/filelock.egg-info/requires.txt 2022-12-05 19:30:13.000000000 +0100 @@ -1,12 +1,12 @@ [docs] -furo>=2022.6.21 -sphinx>=5.1.1 -sphinx-autodoc-typehints>=1.19.1 +furo>=2022.9.29 +sphinx>=5.3 +sphinx-autodoc-typehints>=1.19.5 [testing] -covdefaults>=2.2 -coverage>=6.4.2 -pytest>=7.1.2 -pytest-cov>=3 +covdefaults>=2.2.2 +coverage>=6.5 +pytest>=7.2 +pytest-cov>=4 pytest-timeout>=2.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/filelock-3.8.0/tox.ini new/filelock-3.8.2/tox.ini --- old/filelock-3.8.0/tox.ini 2022-08-10 08:44:13.000000000 +0200 +++ new/filelock-3.8.2/tox.ini 2022-12-05 19:30:04.000000000 +0100 @@ -50,7 +50,7 @@ setenv = {tty:MYPY_FORCE_COLOR = 1} deps = - mypy==0.971 + mypy==0.991 commands = mypy --strict src/filelock mypy --strict tests @@ -63,9 +63,9 @@ COVERAGE_FILE = {toxworkdir}/.coverage skip_install = true deps = - covdefaults>=2.2 - coverage>=6.4.2 - diff-cover>=6.5.1 + covdefaults>=2.2.2 + coverage>=6.5 + diff-cover>=7.2 extras = parallel_show_output = true commands = @@ -94,8 +94,8 @@ description = check that the long description is valid (need for PyPI) skip_install = true deps = - build[virtualenv]>=0.8 - twine>=4.0.1 + build[virtualenv]>=0.9 + twine>=4.0.2 extras = commands = pyproject-build -o {envtmpdir} --wheel --sdist .