Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-EditorConfig for
openSUSE:Factory checked in at 2026-02-23 16:13:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-EditorConfig (Old)
and /work/SRC/openSUSE:Factory/.python-EditorConfig.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-EditorConfig"
Mon Feb 23 16:13:23 2026 rev:10 rq:1334491 version:0.17.1+git.1766559334.7ccd8d6
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-EditorConfig/python-EditorConfig.changes
2025-04-20 20:06:45.010039921 +0200
+++
/work/SRC/openSUSE:Factory/.python-EditorConfig.new.1977/python-EditorConfig.changes
2026-02-23 16:15:22.020304122 +0100
@@ -1,0 +2,9 @@
+Sun Feb 22 18:21:55 UTC 2026 - Andreas Stieger <[email protected]>
+
+- Update to version 0.17.1+git.1766559334.7ccd8d6:
+ * Sync Python version classifiers with requires-python >= 3.10
+ * Fix deprecated APIs and correct Python version requirement
+ * update dependencies
+ * Remove python 2 compatibility, add type hints
+
+-------------------------------------------------------------------
Old:
----
editorconfig-core-py-0.17.0+git.1743012229.8dca1b6.obscpio
New:
----
editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-EditorConfig.spec ++++++
--- /var/tmp/diff_new_pack.7yy2sh/_old 2026-02-23 16:15:22.556326222 +0100
+++ /var/tmp/diff_new_pack.7yy2sh/_new 2026-02-23 16:15:22.560326387 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-EditorConfig
#
-# Copyright (c) 2025 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,7 +18,7 @@
%define modname editorconfig
Name: python-EditorConfig
-Version: 0.17.0+git.1743012229.8dca1b6
+Version: 0.17.1+git.1766559334.7ccd8d6
Release: 0
Summary: File Locator and Interpreter for Python
License: BSD-2-Clause AND Python-2.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.7yy2sh/_old 2026-02-23 16:15:22.600328036 +0100
+++ /var/tmp/diff_new_pack.7yy2sh/_new 2026-02-23 16:15:22.604328201 +0100
@@ -2,7 +2,7 @@
<service name="obs_scm" mode="manual">
<param
name="url">https://github.com/editorconfig/editorconfig-core-py.git</param>
<param name="scm">git</param>
- <param name="versionprefix">0.17.0+git</param>
+ <param name="versionprefix">0.17.1+git</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">[email protected]</param>
</service>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.7yy2sh/_old 2026-02-23 16:15:22.628329191 +0100
+++ /var/tmp/diff_new_pack.7yy2sh/_new 2026-02-23 16:15:22.636329521 +0100
@@ -1,6 +1,8 @@
<servicedata>
-<service name="tar_scm">
- <param
name="url">https://github.com/editorconfig/editorconfig-core-py.git</param>
- <param
name="changesrevision">8dca1b6fb5606082f9f95fa312ecb08f0382ee4a</param></service></servicedata>
+ <service name="tar_scm">
+ <param
name="url">https://github.com/editorconfig/editorconfig-core-py.git</param>
+ <param
name="changesrevision">7ccd8d6a6e372f2678a37ccc40dd0a47468ac50c</param>
+ </service>
+</servicedata>
(No newline at EOF)
++++++ editorconfig-core-py-0.17.0+git.1743012229.8dca1b6.obscpio ->
editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/.github/workflows/mypy.yml
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/.github/workflows/mypy.yml
---
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/.github/workflows/mypy.yml
1970-01-01 01:00:00.000000000 +0100
+++
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/.github/workflows/mypy.yml
2025-12-24 07:55:34.000000000 +0100
@@ -0,0 +1,32 @@
+# Static type checking
+
+name: Static type checking
+
+on:
+ push:
+ branches: ["master"]
+ pull_request:
+ branches: ["master"]
+
+jobs:
+ test:
+ name: Static type checking
+ runs-on: ubuntu-latest
+ container: python:3.14-alpine3.21
+
+ steps:
+ - name: Install Alpine Dependencies
+ run: apk add git
+ - name: Display Python version
+ run: python -c "import sys; print(sys.version)"
+ - name: Display Git version
+ run: git --version
+
+ - uses: actions/checkout@v6
+ with:
+ submodules: recursive
+
+ - name: Install Dependencies
+ run: pip install -e ".[dev]"
+ - name: Run mypy
+ run: mypy --strict editorconfig
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/.github/workflows/runtime.yml
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/.github/workflows/runtime.yml
---
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/.github/workflows/runtime.yml
2025-03-26 19:03:49.000000000 +0100
+++
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/.github/workflows/runtime.yml
2025-12-24 07:55:34.000000000 +0100
@@ -12,7 +12,7 @@
test:
name: Runtime
runs-on: ubuntu-latest
- container: python:3.13-alpine3.21
+ container: python:3.14-alpine3.21
steps:
- name: Install Alpine Dependencies
@@ -24,7 +24,7 @@
- name: Display Git version
run: git --version
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
with:
submodules: recursive
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/.travis.yml
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/.travis.yml
--- old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/.travis.yml
2025-03-26 19:03:49.000000000 +0100
+++ new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/.travis.yml
1970-01-01 01:00:00.000000000 +0100
@@ -1,29 +0,0 @@
-language: python
-
-python:
- - "3.8"
- - "3.9"
- - "3.10"
- - "3.11"
- - "3.12"
- - "pypy"
-
-
-# test script
-before_script:
- - cmake .
-script:
- - export PYTHONPATH=$(pwd)
- - ctest -VV --output-on-failure .
-
-addons:
- apt:
- packages:
- - cmake
-
-
-# Notify the mailing list
-notifications:
- email:
- on_success: change
- on_failure: always
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/README.rst
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/README.rst
--- old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/README.rst
2025-03-26 19:03:49.000000000 +0100
+++ new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/README.rst
2025-12-24 07:55:34.000000000 +0100
@@ -26,7 +26,7 @@
EditorConfig project maintains a file format and plugins for various text
editors which allow this file format to be read and used by those editors. For
information on the file format and supported text editors, see the
-`EditorConfig website <http://editorconfig.org>`_.
+`EditorConfig website <https://editorconfig.org>`_.
Installation
============
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/docs/index.rst
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/docs/index.rst
--- old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/docs/index.rst
2025-03-26 19:03:49.000000000 +0100
+++ new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/docs/index.rst
2025-12-24 07:55:34.000000000 +0100
@@ -11,7 +11,7 @@
EditorConfig files. This package can be used as an import by other Python code
or as a stand-alone command line program.
-.. _`EditorConfig Homepage`: http://editorconfig.org
+.. _`EditorConfig Homepage`: https://editorconfig.org
Contents:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/__init__.py
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/__init__.py
---
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/__init__.py
2025-03-26 19:03:49.000000000 +0100
+++
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/__init__.py
2025-12-24 07:55:34.000000000 +0100
@@ -1,5 +1,7 @@
"""EditorConfig Python Core"""
+from collections import OrderedDict
+
from editorconfig.versiontools import join_version
from editorconfig.version import VERSION
@@ -8,7 +10,7 @@
__version__ = join_version(VERSION)
-def get_properties(filename):
+def get_properties(filename: str) -> OrderedDict[str, str]:
"""Locate and parse EditorConfig files for the given filename"""
handler = EditorConfigHandler(filename)
return handler.get_configurations()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/__main__.py
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/__main__.py
---
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/__main__.py
2025-03-26 19:03:49.000000000 +0100
+++
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/__main__.py
2025-12-24 07:55:34.000000000 +0100
@@ -7,18 +7,18 @@
import getopt
import sys
-from editorconfig import VERSION, __version__
-from editorconfig.compat import force_unicode
+from editorconfig import __version__
from editorconfig.exceptions import ParsingError, PathError, VersionError
from editorconfig.handler import EditorConfigHandler
+from editorconfig.version import VERSION
from editorconfig.versiontools import split_version
-def version():
+def version() -> None:
print("EditorConfig Python Core Version %s" % __version__)
-def usage(command, error=False):
+def usage(command: str, error: bool = False) -> None:
if error:
out = sys.stderr
else:
@@ -32,10 +32,10 @@
out.write("-v OR --version Display version information.\n")
-def main():
+def main() -> None:
command_name = sys.argv[0]
try:
- opts, args = getopt.getopt(list(map(force_unicode, sys.argv[1:])),
+ opts, args = getopt.getopt(sys.argv[1:],
"vhb:f:", ["version", "help"])
except getopt.GetoptError as e:
print(str(e))
@@ -55,9 +55,10 @@
if option == '-f':
conf_filename = arg
if option == '-b':
- version_tuple = split_version(arg)
- if version_tuple is None:
+ arg_tuple = split_version(arg)
+ if arg_tuple is None:
sys.exit("Invalid version number: %s" % arg)
+ version_tuple = arg_tuple
if len(args) < 1:
usage(command_name, error=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/compat.py
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/compat.py
---
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/compat.py
2025-03-26 19:03:49.000000000 +0100
+++
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/compat.py
1970-01-01 01:00:00.000000000 +0100
@@ -1,24 +0,0 @@
-"""EditorConfig Python2/Python3 compatibility utilities"""
-import sys
-
-
-__all__ = ['force_unicode', 'u']
-
-
-if sys.version_info[0] == 2:
- text_type = unicode
-else:
- text_type = str
-
-
-def force_unicode(string):
- if not isinstance(string, text_type):
- string = text_type(string, encoding='utf-8')
- return string
-
-
-if sys.version_info[0] == 2:
- import codecs
- u = lambda s: codecs.unicode_escape_decode(s)[0]
-else:
- u = lambda s: s
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/exceptions.py
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/exceptions.py
---
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/exceptions.py
2025-03-26 19:03:49.000000000 +0100
+++
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/exceptions.py
2025-12-24 07:55:34.000000000 +0100
@@ -9,10 +9,7 @@
"""Parent class of all exceptions raised by EditorConfig"""
-try:
- from ConfigParser import ParsingError as _ParsingError
-except:
- from configparser import ParsingError as _ParsingError
+from configparser import ParsingError as _ParsingError
class ParsingError(_ParsingError, EditorConfigError):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/fnmatch.py
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/fnmatch.py
---
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/fnmatch.py
2025-03-26 19:03:49.000000000 +0100
+++
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/fnmatch.py
2025-12-24 07:55:34.000000000 +0100
@@ -19,6 +19,7 @@
import os
import re
+from re import Pattern
__all__ = ["fnmatch", "fnmatchcase", "translate"]
@@ -62,7 +63,7 @@
)
-def fnmatch(name, pat):
+def fnmatch(name: str, pat: str) -> bool:
"""Test whether FILENAME matches PATTERN.
Patterns are Unix shell style:
@@ -84,7 +85,7 @@
return fnmatchcase(name, pat)
-def cached_translate(pat):
+def cached_translate(pat: str) -> tuple[Pattern[str], list[tuple[int, int]]]:
if not pat in _cache:
res, num_groups = translate(pat)
regex = re.compile(res)
@@ -92,7 +93,7 @@
return _cache[pat]
-def fnmatchcase(name, pat):
+def fnmatchcase(name: str, pat: str) -> bool:
"""Test whether FILENAME matches PATTERN, including case.
This is a version of fnmatch() which doesn't case-normalize
@@ -111,7 +112,7 @@
return pattern_matched
-def translate(pat, nested=False):
+def translate(pat: str, nested: bool = False) -> tuple[str, list[tuple[int,
int]]]:
"""Translate a shell PATTERN to a regular expression.
There is no way to quote meta-characters.
@@ -180,7 +181,7 @@
if not has_comma and pos < length:
num_range = NUMERIC_RANGE.match(pat[index:pos])
if num_range:
- numeric_groups.append(map(int, num_range.groups()))
+ numeric_groups.append((int(num_range.group(1)),
int(num_range.group(2))))
result += r"([+-]?\d+)"
else:
inner_result, inner_groups = translate(pat[index:pos],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/handler.py
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/handler.py
---
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/handler.py
2025-03-26 19:03:49.000000000 +0100
+++
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/handler.py
2025-12-24 07:55:34.000000000 +0100
@@ -8,16 +8,18 @@
"""
import os
+from collections import OrderedDict
-from editorconfig import VERSION
from editorconfig.exceptions import PathError, VersionError
from editorconfig.ini import EditorConfigParser
+from editorconfig.version import VERSION
+from editorconfig.versiontools import VersionTuple
__all__ = ['EditorConfigHandler']
-def get_filenames(path, filename):
+def get_filenames(path: str, filename: str) -> list[str]:
"""Yield full filepath for filename in each directory in and above path"""
path_list = []
while True:
@@ -40,15 +42,15 @@
"""
- def __init__(self, filepath, conf_filename='.editorconfig',
- version=VERSION):
+ def __init__(self, filepath: str, conf_filename: str = '.editorconfig',
+ version: VersionTuple = VERSION):
"""Create EditorConfigHandler for matching given filepath"""
- self.filepath = filepath
- self.conf_filename = conf_filename
- self.version = version
- self.options = None
+ self.filepath: str = filepath
+ self.conf_filename: str = conf_filename
+ self.version: VersionTuple = version
+ self.options: OrderedDict[str, str] = OrderedDict()
- def get_configurations(self):
+ def get_configurations(self) -> OrderedDict[str, str]:
"""
Find EditorConfig files and return all options matching filepath
@@ -73,8 +75,7 @@
# Merge new EditorConfig file's options into current options
old_options = self.options
self.options = parser.options
- if old_options:
- self.options.update(old_options)
+ self.options.update(old_options)
# Stop parsing if parsed file has a ``root = true`` option
if parser.root_file:
@@ -83,7 +84,7 @@
self.preprocess_values()
return self.options
- def check_assertions(self):
+ def check_assertions(self) -> None:
"""Raise error if filepath or version have invalid values"""
@@ -96,7 +97,7 @@
raise VersionError(
"Required version is greater than the current version.")
- def preprocess_values(self):
+ def preprocess_values(self) -> None:
"""Preprocess option values for consumption by plugins"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/ini.py
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/ini.py
--- old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/ini.py
2025-03-26 19:03:49.000000000 +0100
+++ new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/ini.py
2025-12-24 07:55:34.000000000 +0100
@@ -15,12 +15,11 @@
import posixpath
import re
-from codecs import open
from collections import OrderedDict
+from io import TextIOBase
from os import sep
from os.path import dirname, normpath
-from editorconfig.compat import u
from editorconfig.exceptions import ParsingError
from editorconfig.fnmatch import fnmatch
@@ -76,12 +75,12 @@
""", re.VERBOSE
)
- def __init__(self, filename):
- self.filename = filename
- self.options = OrderedDict()
- self.root_file = False
+ def __init__(self, filename: str):
+ self.filename: str = filename
+ self.options: OrderedDict[str, str] = OrderedDict()
+ self.root_file: bool = False
- def matches_filename(self, config_filename, glob):
+ def matches_filename(self, config_filename: str, glob: str) -> bool:
"""Return True if section glob matches filename"""
config_dirname = normpath(dirname(config_filename)).replace(sep, '/')
glob = glob.replace("\\#", "#")
@@ -94,16 +93,15 @@
glob = posixpath.join('**/', glob)
return fnmatch(self.filename, glob)
- def read(self, filename):
+ def read(self, filename: str) -> None:
"""Read and parse single EditorConfig file"""
try:
- fp = open(filename, encoding='utf-8')
- except IOError:
+ with open(filename, encoding='utf-8', mode='r') as fp:
+ self._read(fp, filename)
+ except OSError:
return
- self._read(fp, filename)
- fp.close()
- def _read(self, fp, fpname):
+ def _read(self, fp: TextIOBase, fpname: str) -> None:
"""Parse a sectioned setup file.
The sections in setup file contains a title line at the top,
@@ -122,7 +120,7 @@
line = fp.readline()
if not line:
break
- if lineno == 0 and line.startswith(u('\ufeff')):
+ if lineno == 0 and line.startswith('\ufeff'):
line = line[1:] # Strip UTF-8 BOM
lineno = lineno + 1
# comment or blank line?
@@ -170,5 +168,5 @@
if e:
raise e
- def optionxform(self, optionstr):
+ def optionxform(self, optionstr: str) -> str:
return optionstr.lower()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/version.py
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/version.py
---
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/version.py
2025-03-26 19:03:49.000000000 +0100
+++
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/version.py
2025-12-24 07:55:34.000000000 +0100
@@ -1 +1 @@
-VERSION = (0, 17, 0, "final")
+VERSION = (0, 17, 1, "final")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/versiontools.py
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/versiontools.py
---
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/editorconfig/versiontools.py
2025-03-26 19:03:49.000000000 +0100
+++
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/editorconfig/versiontools.py
2025-12-24 07:55:34.000000000 +0100
@@ -6,6 +6,7 @@
"""
import re
+from typing import Optional
__all__ = ['join_version', 'split_version']
@@ -13,8 +14,9 @@
_version_re = re.compile(r'^(\d+)\.(\d+)\.(\d+)(\..*)?$', re.VERBOSE)
+VersionTuple = tuple[int, int, int, str]
-def join_version(version_tuple):
+def join_version(version_tuple: VersionTuple) -> str:
"""Return a string representation of version from given VERSION tuple"""
version = "%s.%s.%s" % version_tuple[:3]
if version_tuple[3] != "final":
@@ -22,7 +24,7 @@
return version
-def split_version(version):
+def split_version(version: str) -> Optional[VersionTuple]:
"""Return VERSION tuple for given string representation of version"""
match = _version_re.search(version)
if not match:
@@ -31,5 +33,4 @@
split_version = list(match.groups())
if split_version[3] is None:
split_version[3] = "final"
- split_version = list(map(int, split_version[:3])) + split_version[3:]
- return tuple(split_version)
+ return (int(split_version[0]), int(split_version[1]),
int(split_version[2]), split_version[3])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/pyproject.toml
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/pyproject.toml
--- old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/pyproject.toml
2025-03-26 19:03:49.000000000 +0100
+++ new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/pyproject.toml
2025-12-24 07:55:34.000000000 +0100
@@ -1,5 +1,5 @@
[build-system]
-requires = ["setuptools>=78.1.0"]
+requires = ["setuptools>=80.9.0"]
build-backend = "setuptools.build_meta"
[project]
@@ -8,16 +8,17 @@
license = {text = "PSF-2.0"}
description = "EditorConfig File Locator and Interpreter for Python"
readme = "README.rst"
+requires-python = ">=3.10"
classifiers = [
"License :: OSI Approved :: Python Software Foundation License",
"Operating System :: OS Independent",
"Programming Language :: Python",
- "Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
- "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",
"Programming Language :: Python :: Implementation :: PyPy",
]
dynamic = ["version"]
@@ -30,6 +31,11 @@
[project.scripts]
editorconfig = "editorconfig.__main__:main"
+[project.optional-dependencies]
+dev = [
+ "mypy>=1.19.1",
+]
+
[tool.setuptools]
packages = ["editorconfig"]
include-package-data = false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/tests/README.md
new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/tests/README.md
--- old/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6/tests/README.md
2025-03-26 19:03:49.000000000 +0100
+++ new/editorconfig-core-py-0.17.1+git.1766559334.7ccd8d6/tests/README.md
2025-12-24 07:55:34.000000000 +0100
@@ -33,5 +33,5 @@
run the testings by executing `ctest .`.
[cmake]: http://www.cmake.org
-[editorconfig]: http://editorconfig.org
+[editorconfig]: https://editorconfig.org
[git]: http://git-scm.com
++++++ editorconfig-core-py.obsinfo ++++++
--- /var/tmp/diff_new_pack.7yy2sh/_old 2026-02-23 16:15:22.900340406 +0100
+++ /var/tmp/diff_new_pack.7yy2sh/_new 2026-02-23 16:15:22.912340901 +0100
@@ -1,5 +1,5 @@
name: editorconfig-core-py
-version: 0.17.0+git.1743012229.8dca1b6
-mtime: 1743012229
-commit: 8dca1b6fb5606082f9f95fa312ecb08f0382ee4a
+version: 0.17.1+git.1766559334.7ccd8d6
+mtime: 1766559334
+commit: 7ccd8d6a6e372f2678a37ccc40dd0a47468ac50c