Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-flake8-noqa for openSUSE:Factory checked in at 2026-02-23 17:23:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-flake8-noqa (Old) and /work/SRC/openSUSE:Factory/.python-flake8-noqa.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flake8-noqa" Mon Feb 23 17:23:28 2026 rev:2 rq:1334521 version:1.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-flake8-noqa/python-flake8-noqa.changes 2025-01-01 23:07:35.687688727 +0100 +++ /work/SRC/openSUSE:Factory/.python-flake8-noqa.new.1977/python-flake8-noqa.changes 2026-02-23 17:23:29.694565418 +0100 @@ -1,0 +2,7 @@ +Mon Feb 23 13:53:14 UTC 2026 - Richard Rahl <[email protected]> + +- Update to version 1.5.0: + * Stop using processor to find filename + * Drop Python 3.7 and 3.8 + +------------------------------------------------------------------- Old: ---- flake8-noqa-1.4.0.tar.gz New: ---- flake8-noqa-1.5.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-flake8-noqa.spec ++++++ --- /var/tmp/diff_new_pack.PSba1L/_old 2026-02-23 17:23:30.862613692 +0100 +++ /var/tmp/diff_new_pack.PSba1L/_new 2026-02-23 17:23:30.862613692 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-flake8-noqa # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,22 +18,22 @@ %{?sle15_python_module_pythons} Name: python-flake8-noqa -Version: 1.4.0 +Version: 1.5.0 Release: 0 Summary: Flake8 noqa comment validation License: LGPL-3.0-only URL: https://github.com/plinss/flake8-noqa Source: https://files.pythonhosted.org/packages/source/f/flake8-noqa/flake8-noqa-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module flake8 >= 3.8.0} -BuildRequires: %{python_module typing_extensions >= 3.7.4.2} BuildRequires: %{python_module flake8-docstrings} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module typing_extensions >= 3.7.4.2} # /SECTION BuildRequires: fdupes Requires: python-flake8 >= 3.8.0 @@ -65,7 +65,7 @@ Flake8 noqa comment validation %prep -%autosetup -p1 -n flake8-noqa-%{version} +%autosetup -p1 -n flake8_noqa-%{version} %build %pyproject_wheel ++++++ flake8-noqa-1.4.0.tar.gz -> flake8-noqa-1.5.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-noqa-1.4.0/.gitignore new/flake8_noqa-1.5.0/.gitignore --- old/flake8-noqa-1.4.0/.gitignore 2022-11-24 20:30:44.000000000 +0100 +++ new/flake8_noqa-1.5.0/.gitignore 2026-02-07 18:21:43.000000000 +0100 @@ -7,7 +7,6 @@ # Python output files *.pyc __pycache__ -.mypy_cache *.egg-info build/ dist/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-noqa-1.4.0/.gitlab-ci.yaml new/flake8_noqa-1.5.0/.gitlab-ci.yaml --- old/flake8-noqa-1.4.0/.gitlab-ci.yaml 2022-11-24 20:49:28.000000000 +0100 +++ new/flake8_noqa-1.5.0/.gitlab-ci.yaml 2026-02-07 18:21:43.000000000 +0100 @@ -1,120 +1,17 @@ --- -image: python:3.7 - - -stages: - - lint - - test - - package - - deploy - - -flake8: - stage: lint - before_script: - - source .gitlab-ci.env - - pip install -e ".[dev]" - script: - - flake8 ${PACKAGE_NAME} - - -mypy: - stage: lint - before_script: - - source .gitlab-ci.env - - pip install -e ".[dev]" - script: - - mypy ${PACKAGE_NAME} - - -test_3.7: - stage: test - image: python:3.7 - before_script: - - source .gitlab-ci.env - - pip install -e ".[test]" - - chmod a+x test.py - script: - - ./test.py - rules: - - exists: - - test.py - - -test_3.8: - stage: test - image: python:3.8 - before_script: - - source .gitlab-ci.env - - pip install -e ".[test]" - - chmod a+x test.py - script: - - ./test.py - rules: - - exists: - - test.py - - -test_3.9: - stage: test - image: python:3.9 - before_script: - - source .gitlab-ci.env - - pip install -e ".[test]" - - chmod a+x test.py - script: - - ./test.py - rules: - - exists: - - test.py - - -test_3.10: - stage: test - image: python:3.10 - before_script: - - source .gitlab-ci.env - - pip install -e ".[test]" - - chmod a+x test.py - script: - - ./test.py - rules: - - exists: - - test.py - - -test_3.11: - stage: test - image: python:3.11 - before_script: - - source .gitlab-ci.env - - pip install -e ".[test]" - - chmod a+x test.py - script: - - ./test.py - rules: - - exists: - - test.py - - -package: - stage: package - image: docker.linss.com/docker-images/python-build:main - script: - - python -m build --no-isolation --outdir dist - artifacts: - paths: - - dist - rules: - - if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9-\.]+)?$/' - - -deploy: - stage: deploy - before_script: - - source .gitlab-ci.env - - pip install --upgrade wheel twine - script: - - python -m twine upload --username __token__ --password ${PYPI_API_TOKEN} --non-interactive --disable-progress-bar --repository-url ${PYPI_REPOSITORY_URL} dist/* - rules: - - if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9-\.]+)?$/' +include: + - project: 'open-source/python/ci-common' + ref: main + file: 'gitlab-ci.yaml' + + +test: + parallel: + matrix: + - TEST_PYTHON_VERSION: + - '3.9' + - '3.10' + - '3.11' + - '3.12' + - '3.13' + - '3.14' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-noqa-1.4.0/PKG-INFO new/flake8_noqa-1.5.0/PKG-INFO --- old/flake8-noqa-1.4.0/PKG-INFO 2024-01-07 23:35:30.761883500 +0100 +++ new/flake8_noqa-1.5.0/PKG-INFO 2026-02-07 18:24:16.605674700 +0100 @@ -1,6 +1,6 @@ -Metadata-Version: 2.1 +Metadata-Version: 2.4 Name: flake8-noqa -Version: 1.4.0 +Version: 1.5.0 Summary: Flake8 noqa comment validation Author-email: Peter Linss <[email protected]> License: GNU Lesser General Public License v3 @@ -12,22 +12,21 @@ Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+) Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 -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: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 +Classifier: Programming Language :: Python :: 3.13 +Classifier: Programming Language :: Python :: 3.14 Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: Topic :: Software Development :: Quality Assurance -Requires-Python: >=3.7 +Requires-Python: >=3.9 Description-Content-Type: text/markdown License-File: LICENSE License-File: COPYING.LESSER -Requires-Dist: flake8<8.0,>=3.8.0 -Requires-Dist: importlib_metadata<5.0.0,>=4.0.0; python_version < "3.8.0" +Requires-Dist: flake8<8.0,>=5.0.0 Requires-Dist: typing_extensions>=3.7.4.2 Provides-Extra: dev -Requires-Dist: mypy; extra == "dev" Requires-Dist: flake8<6.0.0,>=3.8.0; extra == "dev" Requires-Dist: flake8-annotations; extra == "dev" Requires-Dist: flake8-bandit; extra == "dev" @@ -47,8 +46,10 @@ Requires-Dist: flake8-typechecking-import; extra == "dev" Requires-Dist: flake8-use-fstring; extra == "dev" Requires-Dist: pep8-naming; extra == "dev" +Requires-Dist: ty; extra == "dev" Provides-Extra: test Requires-Dist: flake8-docstrings; extra == "test" +Dynamic: license-file [flake8-noqa](https://github.com/plinss/flake8-noqa) ========== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-noqa-1.4.0/flake8-noqa.sublime-project new/flake8_noqa-1.5.0/flake8-noqa.sublime-project --- old/flake8-noqa-1.4.0/flake8-noqa.sublime-project 2022-11-24 20:30:44.000000000 +0100 +++ new/flake8_noqa-1.5.0/flake8-noqa.sublime-project 2026-02-07 18:21:43.000000000 +0100 @@ -3,7 +3,7 @@ [ { "path": ".", - "folder_exclude_patterns": ["dist", "__pycache__", ".mypy_cache", "*.egg-info"], + "folder_exclude_patterns": ["dist", "__pycache__", "*.egg-info"], "file_exclude_patterns": ["*.orig"] } ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-noqa-1.4.0/flake8_noqa/noqa_checker.py new/flake8_noqa-1.5.0/flake8_noqa/noqa_checker.py --- old/flake8-noqa-1.4.0/flake8_noqa/noqa_checker.py 2022-11-24 20:30:44.000000000 +0100 +++ new/flake8_noqa-1.5.0/flake8_noqa/noqa_checker.py 2026-02-07 18:21:43.000000000 +0100 @@ -17,12 +17,10 @@ if (TYPE_CHECKING): from collections.abc import Iterator, Sequence +package_name = (__package__ or 'flake8_noqa') try: - try: - from importlib.metadata import version - except ModuleNotFoundError: # python < 3.8 use polyfill - from importlib_metadata import version # type: ignore - package_version = version(__package__) + from importlib.metadata import version + package_version = version(package_name) except Exception: package_version = 'unknown' @@ -61,7 +59,7 @@ class NoqaChecker: """Check noqa comments for proper formatting.""" - name: ClassVar[str] = __package__.replace('_', '-') + name: ClassVar[str] = package_name.replace('_', '-') version: ClassVar[str] = package_version plugin_name: ClassVar[str] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-noqa-1.4.0/flake8_noqa/noqa_filter.py new/flake8_noqa-1.5.0/flake8_noqa/noqa_filter.py --- old/flake8-noqa-1.4.0/flake8_noqa/noqa_filter.py 2023-06-20 23:30:54.000000000 +0200 +++ new/flake8_noqa-1.5.0/flake8_noqa/noqa_filter.py 2026-02-07 18:21:43.000000000 +0100 @@ -23,12 +23,10 @@ from collections.abc import Iterator, Sequence +package_name = (__package__ or 'flake8_noqa') try: - try: - from importlib.metadata import version - except ModuleNotFoundError: # python < 3.8 use polyfill - from importlib_metadata import version # type: ignore - package_version = version(__package__) + from importlib.metadata import version + package_version = version(package_name) except Exception: package_version = 'unknown' @@ -87,7 +85,7 @@ class NoqaFilter: """Check noqa comments for proper formatting.""" - name: ClassVar[str] = __package__.replace('_', '-') + name: ClassVar[str] = package_name.replace('_', '-') version: ClassVar[str] = package_version plugin_name: ClassVar[str] require_code: ClassVar[bool] @@ -195,10 +193,10 @@ def report(self, error_code: (str | None), line_number: int, column: int, text: str, *args, **kwargs) -> str: """Capture report information.""" - Report.add_report(self.processor.filename, error_code, line_number, column, text) + Report.add_report(self.filename, error_code, line_number, column, text) return super().report(error_code, line_number, column, text, *args, **kwargs) # patch flake8 -flake8.style_guide.Violation = Violation -flake8.checker.FileChecker = FileChecker +flake8.style_guide.Violation = Violation # ty: ignore[invalid-assignment] +flake8.checker.FileChecker = FileChecker # ty: ignore[invalid-assignment] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-noqa-1.4.0/flake8_noqa.egg-info/PKG-INFO new/flake8_noqa-1.5.0/flake8_noqa.egg-info/PKG-INFO --- old/flake8-noqa-1.4.0/flake8_noqa.egg-info/PKG-INFO 2024-01-07 23:35:30.000000000 +0100 +++ new/flake8_noqa-1.5.0/flake8_noqa.egg-info/PKG-INFO 2026-02-07 18:24:16.000000000 +0100 @@ -1,6 +1,6 @@ -Metadata-Version: 2.1 +Metadata-Version: 2.4 Name: flake8-noqa -Version: 1.4.0 +Version: 1.5.0 Summary: Flake8 noqa comment validation Author-email: Peter Linss <[email protected]> License: GNU Lesser General Public License v3 @@ -12,22 +12,21 @@ Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+) Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 -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: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 +Classifier: Programming Language :: Python :: 3.13 +Classifier: Programming Language :: Python :: 3.14 Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: Topic :: Software Development :: Quality Assurance -Requires-Python: >=3.7 +Requires-Python: >=3.9 Description-Content-Type: text/markdown License-File: LICENSE License-File: COPYING.LESSER -Requires-Dist: flake8<8.0,>=3.8.0 -Requires-Dist: importlib_metadata<5.0.0,>=4.0.0; python_version < "3.8.0" +Requires-Dist: flake8<8.0,>=5.0.0 Requires-Dist: typing_extensions>=3.7.4.2 Provides-Extra: dev -Requires-Dist: mypy; extra == "dev" Requires-Dist: flake8<6.0.0,>=3.8.0; extra == "dev" Requires-Dist: flake8-annotations; extra == "dev" Requires-Dist: flake8-bandit; extra == "dev" @@ -47,8 +46,10 @@ Requires-Dist: flake8-typechecking-import; extra == "dev" Requires-Dist: flake8-use-fstring; extra == "dev" Requires-Dist: pep8-naming; extra == "dev" +Requires-Dist: ty; extra == "dev" Provides-Extra: test Requires-Dist: flake8-docstrings; extra == "test" +Dynamic: license-file [flake8-noqa](https://github.com/plinss/flake8-noqa) ========== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-noqa-1.4.0/flake8_noqa.egg-info/requires.txt new/flake8_noqa-1.5.0/flake8_noqa.egg-info/requires.txt --- old/flake8-noqa-1.4.0/flake8_noqa.egg-info/requires.txt 2024-01-07 23:35:30.000000000 +0100 +++ new/flake8_noqa-1.5.0/flake8_noqa.egg-info/requires.txt 2026-02-07 18:24:16.000000000 +0100 @@ -1,11 +1,7 @@ -flake8<8.0,>=3.8.0 +flake8<8.0,>=5.0.0 typing_extensions>=3.7.4.2 -[:python_version < "3.8.0"] -importlib_metadata<5.0.0,>=4.0.0 - [dev] -mypy flake8<6.0.0,>=3.8.0 flake8-annotations flake8-bandit @@ -25,6 +21,7 @@ flake8-typechecking-import flake8-use-fstring pep8-naming +ty [test] flake8-docstrings diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-noqa-1.4.0/pyproject.toml new/flake8_noqa-1.5.0/pyproject.toml --- old/flake8-noqa-1.4.0/pyproject.toml 2024-01-06 04:47:57.000000000 +0100 +++ new/flake8_noqa-1.5.0/pyproject.toml 2026-02-07 18:21:43.000000000 +0100 @@ -6,7 +6,7 @@ name = 'flake8-noqa' description = 'Flake8 noqa comment validation' readme = 'README.md' -requires-python = '>= 3.7' +requires-python = '>= 3.9' keywords = ['flake8', 'noqa'] classifiers = [ 'Framework :: Flake8', @@ -15,17 +15,17 @@ 'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Quality Assurance', ] dependencies = [ - 'flake8 >= 3.8.0, < 8.0', - 'importlib_metadata >= 4.0.0, < 5.0.0; python_version < "3.8.0"', + 'flake8 >= 5.0.0, < 8.0', 'typing_extensions >= 3.7.4.2', ] dynamic = ['version'] @@ -46,7 +46,6 @@ [project.optional-dependencies] dev = [ - 'mypy', 'flake8>=3.8.0,<6.0.0', # <6.0.0 for other extensions 'flake8-annotations', 'flake8-bandit', @@ -67,6 +66,7 @@ 'flake8-typechecking-import', 'flake8-use-fstring', 'pep8-naming', + 'ty', ] test = [ @@ -90,13 +90,3 @@ use-flake8-tabs = true blank-lines-indent = 'never' - -[tool.mypy] -mypy_path = 'stubs' - -[[tool.mypy.overrides]] -module = [ - 'flake8.*', - 'importlib.metadata', -] -ignore_missing_imports = true
