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-10-14 15:40:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-filelock (Old)
and /work/SRC/openSUSE:Factory/.python-filelock.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-filelock"
Fri Oct 14 15:40:26 2022 rev:6 rq:1010146 version:3.8.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-filelock/python-filelock.changes
2022-06-06 11:10:10.943278085 +0200
+++
/work/SRC/openSUSE:Factory/.python-filelock.new.2275/python-filelock.changes
2022-10-14 15:40:42.875735581 +0200
@@ -1,0 +2,19 @@
+Wed Oct 12 03:17:50 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- Update to version 3.8.0
+ * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #149
+ * Bump actions/upload-artifact from 2 to 3 by @dependabot in #154
+ * Bump actions/download-artifact from 2 to 3 by @dependabot in #152
+ * Bump pre-commit/action from 2.0.3 to 3.0.0 by @dependabot in #151
+ * Bump actions/checkout from 2 to 3 by @dependabot in #153
+ * Bump actions/setup-python from 2 to 4 by @dependabot in #150
+ * Add timeout unit to docstrings by @jnordberg in #148
+ * Unify badges style by @DeadNews in #155
+ * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #156
+ * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #157
+ * Check 3.11 support by @gaborbernat in #158
+ * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #159
+ * Bump dependencies by @gaborbernat in #160
+ * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #162
+
+-------------------------------------------------------------------
Old:
----
filelock-3.7.1.tar.gz
New:
----
filelock-3.8.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-filelock.spec ++++++
--- /var/tmp/diff_new_pack.sLojeL/_old 2022-10-14 15:40:43.403736463 +0200
+++ /var/tmp/diff_new_pack.sLojeL/_new 2022-10-14 15:40:43.407736470 +0200
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-filelock
-Version: 3.7.1
+Version: 3.8.0
Release: 0
Summary: Platform Independent File Lock in Python
License: Unlicense
++++++ filelock-3.7.1.tar.gz -> filelock-3.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.7.1/.github/FUNDING.yml
new/filelock-3.8.0/.github/FUNDING.yml
--- old/filelock-3.7.1/.github/FUNDING.yml 1970-01-01 01:00:00.000000000
+0100
+++ new/filelock-3.8.0/.github/FUNDING.yml 2022-08-10 08:44:13.000000000
+0200
@@ -0,0 +1 @@
+tidelift: "pypi/filelock"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.7.1/.github/SECURITY.md
new/filelock-3.8.0/.github/SECURITY.md
--- old/filelock-3.7.1/.github/SECURITY.md 1970-01-01 01:00:00.000000000
+0100
+++ new/filelock-3.8.0/.github/SECURITY.md 2022-08-10 08:44:13.000000000
+0200
@@ -0,0 +1,13 @@
+# Security Policy
+
+## Supported Versions
+
+| Version | Supported |
+| ------- | ------------------ |
+| 3.7 + | :white_check_mark: |
+| < 3.7 | :x: |
+
+## Reporting a Vulnerability
+
+To report a security vulnerability, please use the [Tidelift security
contact](https://tidelift.com/security). Tidelift
+will coordinate the fix and disclosure.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.7.1/.github/dependabot.yml
new/filelock-3.8.0/.github/dependabot.yml
--- old/filelock-3.7.1/.github/dependabot.yml 1970-01-01 01:00:00.000000000
+0100
+++ new/filelock-3.8.0/.github/dependabot.yml 2022-08-10 08:44:13.000000000
+0200
@@ -0,0 +1,6 @@
+version: 2
+updates:
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "daily"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.7.1/.github/workflows/check.yml
new/filelock-3.8.0/.github/workflows/check.yml
--- old/filelock-3.7.1/.github/workflows/check.yml 2022-05-31
22:21:06.000000000 +0200
+++ new/filelock-3.8.0/.github/workflows/check.yml 2022-08-10
08:44:13.000000000 +0200
@@ -10,13 +10,6 @@
cancel-in-progress: true
jobs:
- lint:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-python@v2
- - uses: pre-commit/[email protected]
-
test:
name: test ${{ matrix.py }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
@@ -24,42 +17,38 @@
fail-fast: false
matrix:
py:
+ - "3.11.0-beta.5"
- "3.10"
- - "pypy-3.7-v7.3.7" # ahead to start it earlier because takes longer
+ - "pypy-3.7-v7.3.9" # ahead to start it earlier because takes longer
- "3.9"
- "3.8"
- "3.7"
os:
- - ubuntu-20.04
+ - ubuntu-22.04
- windows-2022
- - macos-10.15
+ - macos-12
steps:
- name: Setup python for tox
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install tox
run: python -m pip install tox
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup python for test ${{ matrix.py }}
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
with:
python-version: ${{ matrix.py }}
- name: Pick environment to run
run: |
- import codecs
- import os
- import platform
- import sys
- cpy = platform.python_implementation() == "CPython"
- base =("{}{}{}" if cpy else "{}{}").format("py" if cpy else "pypy",
*sys.version_info[0:2])
- env = "TOXENV={}\n".format(base)
- print("Picked:\n{}for{}".format(env, sys.version))
- with codecs.open(os.environ["GITHUB_ENV"], "a", "utf-8") as
file_handler:
- file_handler.write(env)
+ import os; import platform; import sys; from pathlib import Path
+ env = f'TOXENV=py{"" if platform.python_implementation() ==
"CPython" else "py"}3{sys.version_info.minor}'
+ print(f"Picked: {env} for {sys.version} based of {sys.executable}")
+ with Path(os.environ["GITHUB_ENV"]).open("ta") as file_handler:
+ file_handler.write(env)
shell: python
- name: Setup test suite
run: tox -vv --notest
@@ -73,20 +62,20 @@
run: import os; import sys;
os.rename(f".tox/.coverage.{os.environ['TOXENV']}",
f".tox/.coverage.{os.environ['TOXENV']}-{sys.platform}")
shell: python
- name: Upload coverage data
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
name: coverage-data
path: ".tox/.coverage.*"
coverage:
name: Combine coverage
- runs-on: ubuntu-latest
+ runs-on: ubuntu-22.04
needs: test
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
fetch-depth: 0
- - uses: actions/setup-python@v2
+ - uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install tox
@@ -98,14 +87,14 @@
- name: Build package
run: pyproject-build --wheel .
- name: Download coverage data
- uses: actions/download-artifact@v2
+ uses: actions/download-artifact@v3
with:
name: coverage-data
path: .tox
- name: Combine and report coverage
run: tox -e coverage
- name: Upload HTML report
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
name: html-report
path: .tox/htmlcov
@@ -117,8 +106,8 @@
fail-fast: false
matrix:
os:
- - ubuntu-latest
- - windows-latest
+ - ubuntu-22.04
+ - windows-2022
tox_env:
- dev
- type
@@ -127,11 +116,11 @@
exclude:
- { os: windows-latest, tox_env: readme }
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python "3.10"
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install tox
@@ -143,22 +132,22 @@
publish:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
- needs: [ check, coverage, lint ]
- runs-on: ubuntu-latest
+ needs: [ check, coverage ]
+ runs-on: ubuntu-22.04
steps:
- name: Setup python to build package
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install build
run: python -m pip install build
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build sdist and wheel
run: python -m build -s -w . -o dist
- name: Publish to PyPi
- uses: pypa/gh-action-pypi-publish@master
+ uses: pypa/[email protected]
with:
skip_existing: true
user: __token__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.7.1/.pre-commit-config.yaml
new/filelock-3.8.0/.pre-commit-config.yaml
--- old/filelock-3.7.1/.pre-commit-config.yaml 2022-05-31 22:21:06.000000000
+0200
+++ new/filelock-3.8.0/.pre-commit-config.yaml 2022-08-10 08:44:13.000000000
+0200
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.2.0
+ rev: v4.3.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.32.1
+ rev: v2.37.3
hooks:
- id: pyupgrade
args: [ "--py36-plus" ]
@@ -21,7 +21,7 @@
hooks:
- id: isort
- repo: https://github.com/psf/black
- rev: 22.3.0
+ rev: 22.6.0
hooks:
- id: black
args: [ --safe ]
@@ -29,30 +29,29 @@
rev: v1.12.1
hooks:
- id: blacken-docs
- additional_dependencies: [ black==21.12b0 ]
+ additional_dependencies: [ black==22.6 ]
- 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
+ hooks:
+ - id: setup-cfg-fmt
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: "0.5.2"
hooks:
- id: tox-ini-fmt
args: [ "-p", "fix_lint" ]
- - repo: https://github.com/asottile/setup-cfg-fmt
- rev: v1.20.1
- hooks:
- - id: setup-cfg-fmt
- args: [ --min-py3-version, "3.7", "--max-py-version", "3.10" ]
- repo: https://github.com/PyCQA/flake8
- rev: 4.0.1
+ rev: 5.0.4
hooks:
- id: flake8
additional_dependencies:
- - flake8-bugbear==21.11.29
- - flake8-comprehensions==3.7
- - flake8-pytest-style==1.6
- - flake8-spellcheck==0.24
- - flake8-unused-arguments==0.0.9
- - flake8-noqa==1.2.1
- - pep8-naming==0.12.1
+ - flake8-bugbear==22.7.1
+ - flake8-comprehensions==3.10
+ - 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.7.1/PKG-INFO new/filelock-3.8.0/PKG-INFO
--- old/filelock-3.7.1/PKG-INFO 2022-05-31 22:21:19.714254100 +0200
+++ new/filelock-3.8.0/PKG-INFO 2022-08-10 08:44:21.006441600 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: filelock
-Version: 3.7.1
+Version: 3.8.0
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
@@ -16,10 +16,6 @@
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
-Classifier: Programming Language :: Python :: 3.7
-Classifier: Programming Language :: Python :: 3.8
-Classifier: Programming Language :: Python :: 3.9
-Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: System
@@ -31,11 +27,11 @@
# py-filelock
-[](https://pypi.org/project/filelock/)
+[](https://pypi.org/project/filelock/)
[](https://pypi.org/project/filelock/)
[](https://py-filelock.readthedocs.io/en/latest/?badge=latest)
+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)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.7.1/README.md new/filelock-3.8.0/README.md
--- old/filelock-3.7.1/README.md 2022-05-31 22:21:06.000000000 +0200
+++ new/filelock-3.8.0/README.md 2022-08-10 08:44:13.000000000 +0200
@@ -1,10 +1,10 @@
# py-filelock
-[](https://pypi.org/project/filelock/)
+[](https://pypi.org/project/filelock/)
[](https://pypi.org/project/filelock/)
[](https://py-filelock.readthedocs.io/en/latest/?badge=latest)
+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)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.7.1/pyproject.toml
new/filelock-3.8.0/pyproject.toml
--- old/filelock-3.7.1/pyproject.toml 2022-05-31 22:21:06.000000000 +0200
+++ new/filelock-3.8.0/pyproject.toml 2022-08-10 08:44:13.000000000 +0200
@@ -1,8 +1,7 @@
[build-system]
requires = [
- "setuptools >= 41.0.0",
- "wheel >= 0.30.0",
- "setuptools_scm >= 2",
+ "setuptools>=63.4",
+ "setuptools_scm>=7.0.5",
]
build-backend = 'setuptools.build_meta'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.7.1/setup.cfg new/filelock-3.8.0/setup.cfg
--- old/filelock-3.7.1/setup.cfg 2022-05-31 22:21:19.714254100 +0200
+++ new/filelock-3.8.0/setup.cfg 2022-08-10 08:44:21.006441600 +0200
@@ -16,10 +16,6 @@
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
- Programming Language :: Python :: 3.7
- Programming Language :: Python :: 3.8
- Programming Language :: Python :: 3.9
- Programming Language :: Python :: 3.10
Topic :: Internet
Topic :: Software Development :: Libraries
Topic :: System
@@ -40,15 +36,15 @@
[options.extras_require]
docs =
- furo>=2021.8.17b43
- sphinx>=4.1
- sphinx-autodoc-typehints>=1.12
+ furo>=2022.6.21
+ sphinx>=5.1.1
+ sphinx-autodoc-typehints>=1.19.1
testing =
- covdefaults>=1.2.0
- coverage>=4
- pytest>=4
- pytest-cov
- pytest-timeout>=1.4.2
+ covdefaults>=2.2
+ coverage>=6.4.2
+ pytest>=7.1.2
+ pytest-cov>=3
+ pytest-timeout>=2.1
[options.package_data]
filelock = py.typed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.7.1/src/filelock/_api.py
new/filelock-3.8.0/src/filelock/_api.py
--- old/filelock-3.7.1/src/filelock/_api.py 2022-05-31 22:21:06.000000000
+0200
+++ new/filelock-3.8.0/src/filelock/_api.py 2022-08-10 08:44:13.000000000
+0200
@@ -44,9 +44,9 @@
Create a new lock object.
:param lock_file: path to the file
- :param timeout: default timeout when acquiring the lock. It will be
used as fallback value in the acquire
- method, if no timeout value (``None``) is given. If you want to
disable the timeout, set it to a negative value.
- A timeout of 0 means, that there is exactly one attempt to acquire
the file lock.
+ :param timeout: default timeout when acquiring the lock, in seconds.
It will be used as fallback value in
+ the acquire method, if no timeout value (``None``) is given. If you
want to disable the timeout, set it
+ to a negative value. A timeout of 0 means, that there is exactly one
attempt to acquire the file lock.
"""
# The path to the lock file.
self._lock_file: str = os.fspath(lock_file)
@@ -73,7 +73,7 @@
@property
def timeout(self) -> float:
"""
- :return: the default timeout value
+ :return: the default timeout value, in seconds
.. versionadded:: 2.0.0
"""
@@ -84,7 +84,7 @@
"""
Change the default timeout value.
- :param value: the new value
+ :param value: the new value, in seconds
"""
self._timeout = float(value)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.7.1/src/filelock/version.py
new/filelock-3.8.0/src/filelock/version.py
--- old/filelock-3.7.1/src/filelock/version.py 2022-05-31 22:21:18.000000000
+0200
+++ new/filelock-3.8.0/src/filelock/version.py 2022-08-10 08:44:20.000000000
+0200
@@ -1,5 +1,5 @@
# coding: utf-8
# file generated by setuptools_scm
# don't change, don't track in version control
-version = '3.7.1'
-version_tuple = (3, 7, 1)
+__version__ = version = '3.8.0'
+__version_tuple__ = version_tuple = (3, 8, 0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.7.1/src/filelock.egg-info/PKG-INFO
new/filelock-3.8.0/src/filelock.egg-info/PKG-INFO
--- old/filelock-3.7.1/src/filelock.egg-info/PKG-INFO 2022-05-31
22:21:18.000000000 +0200
+++ new/filelock-3.8.0/src/filelock.egg-info/PKG-INFO 2022-08-10
08:44:20.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: filelock
-Version: 3.7.1
+Version: 3.8.0
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
@@ -16,10 +16,6 @@
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
-Classifier: Programming Language :: Python :: 3.7
-Classifier: Programming Language :: Python :: 3.8
-Classifier: Programming Language :: Python :: 3.9
-Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: System
@@ -31,11 +27,11 @@
# py-filelock
-[](https://pypi.org/project/filelock/)
+[](https://pypi.org/project/filelock/)
[](https://pypi.org/project/filelock/)
[](https://py-filelock.readthedocs.io/en/latest/?badge=latest)
+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)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.7.1/src/filelock.egg-info/SOURCES.txt
new/filelock-3.8.0/src/filelock.egg-info/SOURCES.txt
--- old/filelock-3.7.1/src/filelock.egg-info/SOURCES.txt 2022-05-31
22:21:19.000000000 +0200
+++ new/filelock-3.8.0/src/filelock.egg-info/SOURCES.txt 2022-08-10
08:44:20.000000000 +0200
@@ -9,6 +9,9 @@
setup.py
tox.ini
whitelist.txt
+.github/FUNDING.yml
+.github/SECURITY.md
+.github/dependabot.yml
.github/workflows/check.yml
docs/api.rst
docs/changelog.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.7.1/src/filelock.egg-info/requires.txt
new/filelock-3.8.0/src/filelock.egg-info/requires.txt
--- old/filelock-3.7.1/src/filelock.egg-info/requires.txt 2022-05-31
22:21:19.000000000 +0200
+++ new/filelock-3.8.0/src/filelock.egg-info/requires.txt 2022-08-10
08:44:20.000000000 +0200
@@ -1,12 +1,12 @@
[docs]
-furo>=2021.8.17b43
-sphinx>=4.1
-sphinx-autodoc-typehints>=1.12
+furo>=2022.6.21
+sphinx>=5.1.1
+sphinx-autodoc-typehints>=1.19.1
[testing]
-covdefaults>=1.2.0
-coverage>=4
-pytest>=4
-pytest-cov
-pytest-timeout>=1.4.2
+covdefaults>=2.2
+coverage>=6.4.2
+pytest>=7.1.2
+pytest-cov>=3
+pytest-timeout>=2.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.7.1/tox.ini new/filelock-3.8.0/tox.ini
--- old/filelock-3.7.1/tox.ini 2022-05-31 22:21:06.000000000 +0200
+++ new/filelock-3.8.0/tox.ini 2022-08-10 08:44:13.000000000 +0200
@@ -1,6 +1,7 @@
[tox]
envlist =
fix_lint
+ py311
py310
py39
py38
@@ -36,10 +37,10 @@
description = format the code base to adhere to our styles, and complain about
what we cannot do automatically
passenv =
*
-basepython = python3.9
+basepython = python3.10
skip_install = true
deps =
- pre-commit>=2
+ pre-commit>=2.20
commands =
pre-commit run --all-files --show-diff-on-failure
python -c 'import pathlib; print("hint: run \{\} install to add checks as
pre-commit hook".format(pathlib.Path(r"{envdir}") / "bin" / "pre-commit"))'
@@ -49,7 +50,7 @@
setenv =
{tty:MYPY_FORCE_COLOR = 1}
deps =
- mypy==0.930
+ mypy==0.971
commands =
mypy --strict src/filelock
mypy --strict tests
@@ -62,9 +63,9 @@
COVERAGE_FILE = {toxworkdir}/.coverage
skip_install = true
deps =
- covdefaults>=2.1
- coverage>=6.2
- diff-cover>=6.4
+ covdefaults>=2.2
+ coverage>=6.4.2
+ diff-cover>=6.5.1
extras =
parallel_show_output = true
commands =
@@ -74,6 +75,7 @@
coverage html -d {toxworkdir}/htmlcov
diff-cover --compare-branch {env:DIFF_AGAINST:origin/main}
{toxworkdir}/coverage.xml
depends =
+ py311
py310
py39
py38
@@ -92,8 +94,8 @@
description = check that the long description is valid (need for PyPI)
skip_install = true
deps =
- build>=0.6
- twine>=3
+ build[virtualenv]>=0.8
+ twine>=4.0.1
extras =
commands =
pyproject-build -o {envtmpdir} --wheel --sdist .
@@ -112,6 +114,8 @@
[flake8]
max-complexity = 22
max-line-length = 120
+noqa-require-code = true
+dictionaries = en_US,python,technical,django
[pep8]
max-line-length = 120
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filelock-3.7.1/whitelist.txt
new/filelock-3.8.0/whitelist.txt
--- old/filelock-3.7.1/whitelist.txt 2022-05-31 22:21:06.000000000 +0200
+++ new/filelock-3.8.0/whitelist.txt 2022-08-10 08:44:13.000000000 +0200
@@ -2,17 +2,13 @@
autodoc
autosectionlabel
caplog
-creat
eacces
-eexist
-enoent
-exc
extlinks
favicon
-fcntl
filelock
-fmt
+frameinfo
fspath
+getframeinfo
intersphinx
intervall
isabstract
@@ -21,26 +17,16 @@
iwusr
levelno
lk
-lockfile
msvcrt
nblck
nitpicky
notset
-param
-pathlib
pygments
rdwr
ro
-runtime
skipif
-tmp
+stacklevel
trunc
typehints
unlck
-util
win32
-wronly
-stacklevel
-frameinfo
-getframeinfo
-lineno