commit python-jaraco.text for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-jaraco.text for openSUSE:Factory checked in at 2022-10-27 13:52:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jaraco.text (Old) and /work/SRC/openSUSE:Factory/.python-jaraco.text.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-jaraco.text" Thu Oct 27 13:52:11 2022 rev:10 rq:1031197 version:3.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jaraco.text/python-jaraco.text.changes 2022-08-20 20:27:55.825230743 +0200 +++ /work/SRC/openSUSE:Factory/.python-jaraco.text.new.2275/python-jaraco.text.changes 2022-10-27 13:52:13.731976508 +0200 @@ -1,0 +2,6 @@ +Tue Oct 25 19:19:05 UTC 2022 - Matej Cepl <mcepl@suse.com> + +- Update to 3.10.0: + - Prefer casefold in FoldedCase. + +------------------------------------------------------------------- Old: ---- jaraco.text-3.9.1.tar.gz New: ---- jaraco.text-3.10.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jaraco.text.spec ++++++ --- /var/tmp/diff_new_pack.aazOy2/_old 2022-10-27 13:52:14.267979192 +0200 +++ /var/tmp/diff_new_pack.aazOy2/_new 2022-10-27 13:52:14.275979232 +0200 @@ -16,10 +16,9 @@ # -%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-jaraco.text -Version: 3.9.1 +Version: 3.10.0 Release: 0 Summary: Tools to work with text License: MIT ++++++ jaraco.text-3.9.1.tar.gz -> jaraco.text-3.10.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.9.1/.github/workflows/main.yml new/jaraco.text-3.10.0/.github/workflows/main.yml --- old/jaraco.text-3.9.1/.github/workflows/main.yml 2022-08-18 22:35:05.000000000 +0200 +++ new/jaraco.text-3.10.0/.github/workflows/main.yml 2022-10-20 20:22:46.000000000 +0200 @@ -2,25 +2,61 @@ on: [push, pull_request] +env: + # Environment variables to support color support (jaraco/skeleton#66): + # Request colored output from CLI tools supporting it. Different tools + # interpret the value differently. For some, just being set is sufficient. + # For others, it must be a non-zero integer. For yet others, being set + # to a non-empty value is sufficient. + FORCE_COLOR: -106 + # MyPy's color enforcement (must be a non-zero number) + MYPY_FORCE_COLOR: -42 + # Recognized by the `py` package, dependency of `pytest` (must be "1") + PY_COLORS: 1 + # Make tox-wrapped tools see color requests + TOX_TESTENV_PASSENV: >- + FORCE_COLOR + MYPY_FORCE_COLOR + NO_COLOR + PY_COLORS + PYTEST_THEME + PYTEST_THEME_MODE + + # Suppress noisy pip warnings + PIP_DISABLE_PIP_VERSION_CHECK: 'true' + PIP_NO_PYTHON_VERSION_WARNING: 'true' + PIP_NO_WARN_SCRIPT_LOCATION: 'true' + + # Disable the spinner, noise in GHA; TODO(webknjaz): Fix this upstream + # Must be "1". + TOX_PARALLEL_NO_SPINNER: 1 + + jobs: test: strategy: matrix: python: - - 3.7 - - '3.10' - - '3.11' + - "3.7" + - "3.10" + - "3.11" + # Workaround for actions/setup-python#508 + dev: + - -dev platform: - ubuntu-latest - macos-latest - windows-latest + include: + - python: pypy3.9 + platform: ubuntu-latest runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v3 - name: Setup Python uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python }}-dev + python-version: ${{ matrix.python }}${{ matrix.dev }} - name: Install tox run: | python -m pip install tox @@ -50,9 +86,9 @@ steps: - uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: - python-version: "3.11-dev" + python-version: 3.11-dev - name: Install tox run: | python -m pip install tox diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.9.1/.readthedocs.yaml new/jaraco.text-3.10.0/.readthedocs.yaml --- old/jaraco.text-3.9.1/.readthedocs.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/jaraco.text-3.10.0/.readthedocs.yaml 2022-10-20 20:22:46.000000000 +0200 @@ -0,0 +1,13 @@ +version: 2 +python: + install: + - path: . + extra_requirements: + - docs + +# workaround for readthedocs/readthedocs.org#9623 +build: + # workaround for readthedocs/readthedocs.org#9635 + os: ubuntu-22.04 + tools: + python: "3" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.9.1/.readthedocs.yml new/jaraco.text-3.10.0/.readthedocs.yml --- old/jaraco.text-3.9.1/.readthedocs.yml 2022-08-18 22:35:05.000000000 +0200 +++ new/jaraco.text-3.10.0/.readthedocs.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +0,0 @@ -version: 2 -python: - install: - - path: . - extra_requirements: - - docs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.9.1/CHANGES.rst new/jaraco.text-3.10.0/CHANGES.rst --- old/jaraco.text-3.9.1/CHANGES.rst 2022-08-18 22:35:05.000000000 +0200 +++ new/jaraco.text-3.10.0/CHANGES.rst 2022-10-20 20:22:46.000000000 +0200 @@ -1,3 +1,8 @@ +v3.10.0 +======= + +Prefer ``casefold`` in ``FoldedCase``. + v3.9.1 ====== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.9.1/PKG-INFO new/jaraco.text-3.10.0/PKG-INFO --- old/jaraco.text-3.9.1/PKG-INFO 2022-08-18 22:35:36.883043500 +0200 +++ new/jaraco.text-3.10.0/PKG-INFO 2022-10-20 20:23:27.848896500 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: jaraco.text -Version: 3.9.1 +Version: 3.10.0 Summary: Module for text manipulation Home-page: https://github.com/jaraco/jaraco.text Author: Jason R. Coombs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.9.1/docs/conf.py new/jaraco.text-3.10.0/docs/conf.py --- old/jaraco.text-3.9.1/docs/conf.py 2022-08-18 22:35:05.000000000 +0200 +++ new/jaraco.text-3.10.0/docs/conf.py 2022-10-20 20:22:46.000000000 +0200 @@ -1,10 +1,16 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -extensions = ['sphinx.ext.autodoc', 'jaraco.packaging.sphinx', 'rst.linker'] +extensions = [ + 'sphinx.ext.autodoc', + 'jaraco.packaging.sphinx', +] master_doc = "index" +html_theme = "furo" +# Link dates and other references in the changelog +extensions += ['rst.linker'] link_files = { '../CHANGES.rst': dict( using=dict(GH='https://github.com'), @@ -25,7 +31,7 @@ ) } -# Be strict about any broken references: +# Be strict about any broken references nitpicky = True # Include Python intersphinx mapping to prevent failures @@ -35,4 +41,7 @@ 'python': ('https://docs.python.org/3', None), } +# Preserve authored syntax for defaults +autodoc_preserve_defaults = True + extensions += ['jaraco.tidelift'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.9.1/jaraco/text/__init__.py new/jaraco.text-3.10.0/jaraco/text/__init__.py --- old/jaraco.text-3.9.1/jaraco/text/__init__.py 2022-08-18 22:35:05.000000000 +0200 +++ new/jaraco.text-3.10.0/jaraco/text/__init__.py 2022-10-20 20:22:46.000000000 +0200 @@ -92,37 +92,40 @@ >>> FoldedCase('hello') > FoldedCase('Hello') False + + >>> FoldedCase('��') == FoldedCase('ss') + True """ def __lt__(self, other): - return self.lower() < other.lower() + return self.casefold() < other.casefold() def __gt__(self, other): - return self.lower() > other.lower() + return self.casefold() > other.casefold() def __eq__(self, other): - return self.lower() == other.lower() + return self.casefold() == other.casefold() def __ne__(self, other): - return self.lower() != other.lower() + return self.casefold() != other.casefold() def __hash__(self): - return hash(self.lower()) + return hash(self.casefold()) def __contains__(self, other): - return super().lower().__contains__(other.lower()) + return super().casefold().__contains__(other.casefold()) def in_(self, other): "Does self appear in other?" return self in FoldedCase(other) - # cache lower since it's likely to be called frequently. + # cache casefold since it's likely to be called frequently. @method_cache - def lower(self): - return super().lower() + def casefold(self): + return super().casefold() def index(self, sub): - return self.lower().index(sub.lower()) + return self.casefold().index(sub.casefold()) def split(self, splitter=' ', maxsplit=0): pattern = re.compile(re.escape(splitter), re.I) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.9.1/jaraco.text.egg-info/PKG-INFO new/jaraco.text-3.10.0/jaraco.text.egg-info/PKG-INFO --- old/jaraco.text-3.9.1/jaraco.text.egg-info/PKG-INFO 2022-08-18 22:35:36.000000000 +0200 +++ new/jaraco.text-3.10.0/jaraco.text.egg-info/PKG-INFO 2022-10-20 20:23:27.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: jaraco.text -Version: 3.9.1 +Version: 3.10.0 Summary: Module for text manipulation Home-page: https://github.com/jaraco/jaraco.text Author: Jason R. Coombs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.9.1/jaraco.text.egg-info/SOURCES.txt new/jaraco.text-3.10.0/jaraco.text.egg-info/SOURCES.txt --- old/jaraco.text-3.9.1/jaraco.text.egg-info/SOURCES.txt 2022-08-18 22:35:36.000000000 +0200 +++ new/jaraco.text-3.10.0/jaraco.text.egg-info/SOURCES.txt 2022-10-20 20:23:27.000000000 +0200 @@ -2,7 +2,7 @@ .editorconfig .flake8 .pre-commit-config.yaml -.readthedocs.yml +.readthedocs.yaml CHANGES.rst LICENSE README.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.9.1/jaraco.text.egg-info/requires.txt new/jaraco.text-3.10.0/jaraco.text.egg-info/requires.txt --- old/jaraco.text-3.9.1/jaraco.text.egg-info/requires.txt 2022-08-18 22:35:36.000000000 +0200 +++ new/jaraco.text-3.10.0/jaraco.text.egg-info/requires.txt 2022-10-20 20:23:27.000000000 +0200 @@ -8,9 +8,10 @@ importlib_resources [docs] -sphinx +sphinx>=3.5 jaraco.packaging>=9 rst.linker>=1.9 +furo jaraco.tidelift>=1.4 [testing] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.9.1/setup.cfg new/jaraco.text-3.10.0/setup.cfg --- old/jaraco.text-3.9.1/setup.cfg 2022-08-18 22:35:36.883043500 +0200 +++ new/jaraco.text-3.10.0/setup.cfg 2022-10-20 20:23:27.848896500 +0200 @@ -46,9 +46,10 @@ pathlib2; python_version < "3.10" docs = - sphinx + sphinx >= 3.5 jaraco.packaging >= 9 rst.linker >= 1.9 + furo jaraco.tidelift >= 1.4 [options.entry_points]
participants (1)
-
Source-Sync