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 2023-12-17 21:29:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jaraco.text (Old) and /work/SRC/openSUSE:Factory/.python-jaraco.text.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jaraco.text" Sun Dec 17 21:29:06 2023 rev:14 rq:1133677 version:3.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jaraco.text/python-jaraco.text.changes 2023-06-12 15:26:03.594913023 +0200 +++ /work/SRC/openSUSE:Factory/.python-jaraco.text.new.25432/python-jaraco.text.changes 2023-12-17 21:29:16.730946939 +0100 @@ -1,0 +2,6 @@ +Sun Dec 17 01:44:48 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 3.12.0: + * Require Python 3.8 or later. + +------------------------------------------------------------------- Old: ---- jaraco.text-3.11.1.tar.gz New: ---- jaraco.text-3.12.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jaraco.text.spec ++++++ --- /var/tmp/diff_new_pack.G02G6R/_old 2023-12-17 21:29:17.262966258 +0100 +++ /var/tmp/diff_new_pack.G02G6R/_new 2023-12-17 21:29:17.262966258 +0100 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-jaraco.text -Version: 3.11.1 +Version: 3.12.0 Release: 0 Summary: Tools to work with text License: MIT @@ -76,7 +76,7 @@ %files %{python_files} %license LICENSE -%doc README.rst CHANGES.rst +%doc README.rst %{python_sitelib}/jaraco/text %{python_sitelib}/jaraco.text-%{version}.dist-info ++++++ jaraco.text-3.11.1.tar.gz -> jaraco.text-3.12.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.11.1/.coveragerc new/jaraco.text-3.12.0/.coveragerc --- old/jaraco.text-3.11.1/.coveragerc 2023-01-28 01:25:09.000000000 +0100 +++ new/jaraco.text-3.12.0/.coveragerc 2023-11-27 17:46:04.000000000 +0100 @@ -2,7 +2,8 @@ omit = # leading `*/` for pytest-dev/pytest-cov#456 */.tox/* - */pep517-build-env-* +disable_warnings = + couldnt-parse [report] show_missing = True diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.11.1/.flake8 new/jaraco.text-3.12.0/.flake8 --- old/jaraco.text-3.11.1/.flake8 2023-01-28 01:25:09.000000000 +0100 +++ new/jaraco.text-3.12.0/.flake8 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -[flake8] -max-line-length = 88 - -# jaraco/skeleton#34 -max-complexity = 10 - -extend-ignore = - # Black creates whitespace before colon - E203 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.11.1/.github/workflows/main.yml new/jaraco.text-3.12.0/.github/workflows/main.yml --- old/jaraco.text-3.11.1/.github/workflows/main.yml 2023-01-28 01:25:09.000000000 +0100 +++ new/jaraco.text-3.12.0/.github/workflows/main.yml 2023-11-27 17:46:04.000000000 +0100 @@ -2,36 +2,21 @@ on: [push, pull_request] +permissions: + contents: read + 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. For tox, it must be one of - # <blank>, 0, 1, false, no, off, on, true, yes. The only enabling value - # in common is "1". + # Environment variable to support color support (jaraco/skeleton#66) FORCE_COLOR: 1 - # 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 + # Ensure tests can sense settings about the environment + TOX_OVERRIDE: >- + testenv.pass_env+=GITHUB_*,FORCE_COLOR jobs: @@ -39,19 +24,14 @@ strategy: matrix: python: - - "3.7" + - "3.8" - "3.11" - "3.12" - # Workaround for actions/setup-python#508 - dev: - - -dev platform: - ubuntu-latest - macos-latest - windows-latest include: - - python: "3.8" - platform: ubuntu-latest - python: "3.9" platform: ubuntu-latest - python: "3.10" @@ -65,12 +45,31 @@ - name: Setup Python uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python }}${{ matrix.dev }} + python-version: ${{ matrix.python }} + allow-prereleases: true + - name: Install tox + run: | + python -m pip install tox + - name: Run + run: tox + + diffcov: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: 3.x - name: Install tox run: | python -m pip install tox - - name: Run tests + - name: Evaluate coverage run: tox + env: + TOXENV: diffcov docs: runs-on: ubuntu-latest @@ -80,12 +79,10 @@ - uses: actions/checkout@v3 - name: Setup Python uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python }}${{ matrix.dev }} - name: Install tox run: | python -m pip install tox - - name: Run tests + - name: Run run: tox check: # This job does nothing and is only used for the branch protection @@ -104,6 +101,8 @@ jobs: ${{ toJSON(needs) }} release: + permissions: + contents: write needs: - check if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') @@ -114,11 +113,11 @@ - name: Setup Python uses: actions/setup-python@v4 with: - python-version: 3.11-dev + python-version: 3.x - name: Install tox run: | python -m pip install tox - - name: Release + - name: Run run: tox -e release env: TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.11.1/.readthedocs.yaml new/jaraco.text-3.12.0/.readthedocs.yaml --- old/jaraco.text-3.11.1/.readthedocs.yaml 2023-01-28 01:25:09.000000000 +0100 +++ new/jaraco.text-3.12.0/.readthedocs.yaml 2023-11-27 17:46:04.000000000 +0100 @@ -5,9 +5,8 @@ extra_requirements: - docs -# workaround for readthedocs/readthedocs.org#9623 +# required boilerplate readthedocs/readthedocs.org#10401 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.11.1/CHANGES.rst new/jaraco.text-3.12.0/CHANGES.rst --- old/jaraco.text-3.11.1/CHANGES.rst 2023-01-28 01:25:09.000000000 +0100 +++ new/jaraco.text-3.12.0/CHANGES.rst 1970-01-01 01:00:00.000000000 +0100 @@ -1,175 +0,0 @@ -v3.11.1 -======= - -Fixed ``EncodingWarnings`` when reading/writing text. - -v3.11.0 -======= - -Added ``strip-prefix`` script. - -v3.10.0 -======= - -Prefer ``casefold`` in ``FoldedCase``. - -v3.9.1 -====== - -#10: Fixed broken tests in ``read_newlines`` and ``show-newlines``. - -v3.9.0 -====== - -Add ``jaraco.text.show-newlines`` script. - -v3.8.1 -====== - -Refreshed packaging. - -Enrolled with Tidelift. - -v3.8.0 -====== - -Added ``layouts`` module and ``to-qwerty`` and ``to-dvorak`` scripts. - -v3.7.0 -====== - -Introducing ``yield_lines``, ``drop_comment``, and ``join_continuation``. - -v3.6.0 -====== - -Fixed ``DeprecationWarning`` in ``importlib.resources.read_text`` -as reported in #7. - -v3.5.1 -====== - -#5: Fixed warning in docs builds. - -v3.5.0 -====== - -Rely on PEP 420 for namespace package. - -v3.4.0 -====== - -Added ``WordSet.trim*`` methods. - -v3.3.0 -====== - -Require Python 3.6 or later. - -v3.2.0 -====== - -Added normalize_newlines function. - -3.1 -=== - -Added ``wrap`` and ``unwrap`` functions and ``lorem_ipsum`` -attribute containing the Lorem Ipsum sample text. - -3.0.1 -===== - -Declare missing dependency on six. - -3.0 -=== - -Removed ``local_format``, ``global_format``, and -``namespace_format``. Instead, developers should -use `f-strings -<https://docs.python.org/3.6/reference/lexical_analysis.html#f-strings>`_ -on Python 3.6 and later or `future-fstrings -<https://pypi.org/project/future-fstrings>`_ for compatibilty -with older Pythons. This change eliminates the dependency on -jaraco.collections and thus for now removes the circular dependency -as reported in #3. - -2.0 -=== - -Switch to `pkgutil namespace technique -<https://packaging.python.org/guides/packaging-namespace-packages/#pkgutil-style-namespace-packages>`_ -for the ``jaraco`` namespace. - -1.10.1 -====== - -Packaging refresh. Docs now published in RTD. - -1.10 -==== - -FoldedCase now supports string-containment support in an -unfortunately assymetric way. - -1.9.2 -===== - -Fix bug where ``FoldedCase.__ne__`` was case-sensitive. - -1.9.1 -===== - -Refresh packaging. - -1.9 -=== - -Synchronize with skeleton. - -Update docs and expand tests on FoldedCase. - -Use method_cache for ``FoldedCase.lower``. - -1.8 -=== - -Add remove_prefix and remove_suffix helpers. - -1.7 -=== - -In Stripper, always strip the prefix, even if it's empty. - -1.6.2 -===== - -Issue #1: Fix WordSet on Python 2. - -1.6 -=== - -Drop dependency on jaraco.context (and its dependencies). - -1.5 -=== - -Move hosting to github. - -Add missing namespace package declaration in distribution. - -1.4 -=== - -Add Stripper class. - -1.3 -=== - -Add SeparatedValues class. - -1.0 -=== - -Initial implementation adopted from jaraco.util.string 10.8. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.11.1/LICENSE new/jaraco.text-3.12.0/LICENSE --- old/jaraco.text-3.11.1/LICENSE 2023-01-28 01:25:09.000000000 +0100 +++ new/jaraco.text-3.12.0/LICENSE 2023-11-27 17:46:04.000000000 +0100 @@ -1,5 +1,3 @@ -Copyright Jason R. Coombs - Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.11.1/NEWS.rst new/jaraco.text-3.12.0/NEWS.rst --- old/jaraco.text-3.11.1/NEWS.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/jaraco.text-3.12.0/NEWS.rst 2023-11-27 17:46:04.000000000 +0100 @@ -0,0 +1,184 @@ +v3.12.0 +======= + +Features +-------- + +- Require Python 3.8 or later. + + +v3.11.1 +======= + +Fixed ``EncodingWarnings`` when reading/writing text. + +v3.11.0 +======= + +Added ``strip-prefix`` script. + +v3.10.0 +======= + +Prefer ``casefold`` in ``FoldedCase``. + +v3.9.1 +====== + +#10: Fixed broken tests in ``read_newlines`` and ``show-newlines``. + +v3.9.0 +====== + +Add ``jaraco.text.show-newlines`` script. + +v3.8.1 +====== + +Refreshed packaging. + +Enrolled with Tidelift. + +v3.8.0 +====== + +Added ``layouts`` module and ``to-qwerty`` and ``to-dvorak`` scripts. + +v3.7.0 +====== + +Introducing ``yield_lines``, ``drop_comment``, and ``join_continuation``. + +v3.6.0 +====== + +Fixed ``DeprecationWarning`` in ``importlib.resources.read_text`` +as reported in #7. + +v3.5.1 +====== + +#5: Fixed warning in docs builds. + +v3.5.0 +====== + +Rely on PEP 420 for namespace package. + +v3.4.0 +====== + +Added ``WordSet.trim*`` methods. + +v3.3.0 +====== + +Require Python 3.6 or later. + +v3.2.0 +====== + +Added normalize_newlines function. + +3.1 +=== + +Added ``wrap`` and ``unwrap`` functions and ``lorem_ipsum`` +attribute containing the Lorem Ipsum sample text. + +3.0.1 +===== + +Declare missing dependency on six. + +3.0 +=== + +Removed ``local_format``, ``global_format``, and +``namespace_format``. Instead, developers should +use `f-strings +<https://docs.python.org/3.6/reference/lexical_analysis.html#f-strings>`_ +on Python 3.6 and later or `future-fstrings +<https://pypi.org/project/future-fstrings>`_ for compatibilty +with older Pythons. This change eliminates the dependency on +jaraco.collections and thus for now removes the circular dependency +as reported in #3. + +2.0 +=== + +Switch to `pkgutil namespace technique +<https://packaging.python.org/guides/packaging-namespace-packages/#pkgutil-style-namespace-packages>`_ +for the ``jaraco`` namespace. + +1.10.1 +====== + +Packaging refresh. Docs now published in RTD. + +1.10 +==== + +FoldedCase now supports string-containment support in an +unfortunately assymetric way. + +1.9.2 +===== + +Fix bug where ``FoldedCase.__ne__`` was case-sensitive. + +1.9.1 +===== + +Refresh packaging. + +1.9 +=== + +Synchronize with skeleton. + +Update docs and expand tests on FoldedCase. + +Use method_cache for ``FoldedCase.lower``. + +1.8 +=== + +Add remove_prefix and remove_suffix helpers. + +1.7 +=== + +In Stripper, always strip the prefix, even if it's empty. + +1.6.2 +===== + +Issue #1: Fix WordSet on Python 2. + +1.6 +=== + +Drop dependency on jaraco.context (and its dependencies). + +1.5 +=== + +Move hosting to github. + +Add missing namespace package declaration in distribution. + +1.4 +=== + +Add Stripper class. + +1.3 +=== + +Add SeparatedValues class. + +1.0 +=== + +Initial implementation adopted from jaraco.util.string 10.8. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.11.1/PKG-INFO new/jaraco.text-3.12.0/PKG-INFO --- old/jaraco.text-3.11.1/PKG-INFO 2023-01-28 01:25:32.163753300 +0100 +++ new/jaraco.text-3.12.0/PKG-INFO 2023-11-27 17:46:23.143165600 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: jaraco.text -Version: 3.11.1 +Version: 3.12.0 Summary: Module for text manipulation Home-page: https://github.com/jaraco/jaraco.text Author: Jason R. Coombs @@ -10,10 +10,31 @@ Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3 :: Only -Requires-Python: >=3.7 +Requires-Python: >=3.8 +License-File: LICENSE +Requires-Dist: jaraco.functools +Requires-Dist: jaraco.context>=4.1 +Requires-Dist: importlib_resources; python_version < "3.9" +Requires-Dist: autocommand +Requires-Dist: inflect +Requires-Dist: more_itertools Provides-Extra: testing +Requires-Dist: pytest>=6; extra == "testing" +Requires-Dist: pytest-checkdocs>=2.4; extra == "testing" +Requires-Dist: pytest-black>=0.3.7; platform_python_implementation != "PyPy" and extra == "testing" +Requires-Dist: pytest-cov; extra == "testing" +Requires-Dist: pytest-mypy>=0.9.1; platform_python_implementation != "PyPy" and extra == "testing" +Requires-Dist: pytest-enabler>=2.2; extra == "testing" +Requires-Dist: pytest-ruff; extra == "testing" +Requires-Dist: pathlib2; python_version < "3.10" and extra == "testing" Provides-Extra: docs -License-File: LICENSE +Requires-Dist: sphinx>=3.5; extra == "docs" +Requires-Dist: sphinx<7.2.5; extra == "docs" +Requires-Dist: jaraco.packaging>=9.3; extra == "docs" +Requires-Dist: rst.linker>=1.9; extra == "docs" +Requires-Dist: furo; extra == "docs" +Requires-Dist: sphinx-lint; extra == "docs" +Requires-Dist: jaraco.tidelift>=1.4; extra == "docs" .. image:: https://img.shields.io/pypi/v/jaraco.text.svg :target: https://pypi.org/project/jaraco.text @@ -24,6 +45,10 @@ :target: https://github.com/jaraco/jaraco.text/actions?query=workflow%3A%22tests%22 :alt: tests +.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json + :target: https://github.com/astral-sh/ruff + :alt: Ruff + .. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black :alt: Code style: Black @@ -74,10 +99,3 @@ This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use. `Learn more <https://tidelift.com/subscription/pkg/pypi-jaraco.text?utm_source=pypi-jaraco.text&utm_medium=referral&utm_campaign=github>`_. - -Security Contact -================ - -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/jaraco.text-3.11.1/README.rst new/jaraco.text-3.12.0/README.rst --- old/jaraco.text-3.11.1/README.rst 2023-01-28 01:25:09.000000000 +0100 +++ new/jaraco.text-3.12.0/README.rst 2023-11-27 17:46:04.000000000 +0100 @@ -7,6 +7,10 @@ :target: https://github.com/jaraco/jaraco.text/actions?query=workflow%3A%22tests%22 :alt: tests +.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json + :target: https://github.com/astral-sh/ruff + :alt: Ruff + .. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black :alt: Code style: Black @@ -57,10 +61,3 @@ This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use. `Learn more <https://tidelift.com/subscription/pkg/pypi-jaraco.text?utm_source=pypi-jaraco.text&utm_medium=referral&utm_campaign=github>`_. - -Security Contact -================ - -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/jaraco.text-3.11.1/SECURITY.md new/jaraco.text-3.12.0/SECURITY.md --- old/jaraco.text-3.11.1/SECURITY.md 1970-01-01 01:00:00.000000000 +0100 +++ new/jaraco.text-3.12.0/SECURITY.md 2023-11-27 17:46:04.000000000 +0100 @@ -0,0 +1,3 @@ +# Security Contact + +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/jaraco.text-3.11.1/docs/conf.py new/jaraco.text-3.12.0/docs/conf.py --- old/jaraco.text-3.11.1/docs/conf.py 2023-01-28 01:25:09.000000000 +0100 +++ new/jaraco.text-3.12.0/docs/conf.py 2023-11-27 17:46:04.000000000 +0100 @@ -9,7 +9,7 @@ # Link dates and other references in the changelog extensions += ['rst.linker'] link_files = { - '../CHANGES.rst': dict( + '../NEWS.rst': dict( using=dict(GH='https://github.com'), replace=[ dict( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.11.1/docs/history.rst new/jaraco.text-3.12.0/docs/history.rst --- old/jaraco.text-3.11.1/docs/history.rst 2023-01-28 01:25:09.000000000 +0100 +++ new/jaraco.text-3.12.0/docs/history.rst 2023-11-27 17:46:04.000000000 +0100 @@ -5,4 +5,4 @@ History ******* -.. include:: ../CHANGES (links).rst +.. include:: ../NEWS (links).rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.11.1/docs/index.rst new/jaraco.text-3.12.0/docs/index.rst --- old/jaraco.text-3.11.1/docs/index.rst 2023-01-28 01:25:09.000000000 +0100 +++ new/jaraco.text-3.12.0/docs/index.rst 2023-11-27 17:46:04.000000000 +0100 @@ -1,6 +1,10 @@ Welcome to |project| documentation! =================================== +.. sidebar-links:: + :home: + :pypi: + .. toctree:: :maxdepth: 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.11.1/jaraco/text/__init__.py new/jaraco.text-3.12.0/jaraco/text/__init__.py --- old/jaraco.text-3.11.1/jaraco/text/__init__.py 2023-01-28 01:25:09.000000000 +0100 +++ new/jaraco.text-3.12.0/jaraco/text/__init__.py 2023-11-27 17:46:04.000000000 +0100 @@ -232,7 +232,7 @@ ) -class Splitter(object): +class Splitter: """object that will split a string with the given arguments for each call >>> s = Splitter(',') @@ -369,7 +369,7 @@ return self.trim_left(item).trim_right(item) def __getitem__(self, item): - result = super(WordSet, self).__getitem__(item) + result = super().__getitem__(item) if isinstance(item, slice): result = WordSet(result) return result diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.11.1/jaraco.text.egg-info/PKG-INFO new/jaraco.text-3.12.0/jaraco.text.egg-info/PKG-INFO --- old/jaraco.text-3.11.1/jaraco.text.egg-info/PKG-INFO 2023-01-28 01:25:32.000000000 +0100 +++ new/jaraco.text-3.12.0/jaraco.text.egg-info/PKG-INFO 2023-11-27 17:46:23.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: jaraco.text -Version: 3.11.1 +Version: 3.12.0 Summary: Module for text manipulation Home-page: https://github.com/jaraco/jaraco.text Author: Jason R. Coombs @@ -10,10 +10,31 @@ Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3 :: Only -Requires-Python: >=3.7 +Requires-Python: >=3.8 +License-File: LICENSE +Requires-Dist: jaraco.functools +Requires-Dist: jaraco.context>=4.1 +Requires-Dist: importlib_resources; python_version < "3.9" +Requires-Dist: autocommand +Requires-Dist: inflect +Requires-Dist: more_itertools Provides-Extra: testing +Requires-Dist: pytest>=6; extra == "testing" +Requires-Dist: pytest-checkdocs>=2.4; extra == "testing" +Requires-Dist: pytest-black>=0.3.7; platform_python_implementation != "PyPy" and extra == "testing" +Requires-Dist: pytest-cov; extra == "testing" +Requires-Dist: pytest-mypy>=0.9.1; platform_python_implementation != "PyPy" and extra == "testing" +Requires-Dist: pytest-enabler>=2.2; extra == "testing" +Requires-Dist: pytest-ruff; extra == "testing" +Requires-Dist: pathlib2; python_version < "3.10" and extra == "testing" Provides-Extra: docs -License-File: LICENSE +Requires-Dist: sphinx>=3.5; extra == "docs" +Requires-Dist: sphinx<7.2.5; extra == "docs" +Requires-Dist: jaraco.packaging>=9.3; extra == "docs" +Requires-Dist: rst.linker>=1.9; extra == "docs" +Requires-Dist: furo; extra == "docs" +Requires-Dist: sphinx-lint; extra == "docs" +Requires-Dist: jaraco.tidelift>=1.4; extra == "docs" .. image:: https://img.shields.io/pypi/v/jaraco.text.svg :target: https://pypi.org/project/jaraco.text @@ -24,6 +45,10 @@ :target: https://github.com/jaraco/jaraco.text/actions?query=workflow%3A%22tests%22 :alt: tests +.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json + :target: https://github.com/astral-sh/ruff + :alt: Ruff + .. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black :alt: Code style: Black @@ -74,10 +99,3 @@ This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use. `Learn more <https://tidelift.com/subscription/pkg/pypi-jaraco.text?utm_source=pypi-jaraco.text&utm_medium=referral&utm_campaign=github>`_. - -Security Contact -================ - -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/jaraco.text-3.11.1/jaraco.text.egg-info/SOURCES.txt new/jaraco.text-3.12.0/jaraco.text.egg-info/SOURCES.txt --- old/jaraco.text-3.11.1/jaraco.text.egg-info/SOURCES.txt 2023-01-28 01:25:32.000000000 +0100 +++ new/jaraco.text-3.12.0/jaraco.text.egg-info/SOURCES.txt 2023-11-27 17:46:23.000000000 +0100 @@ -1,16 +1,17 @@ .coveragerc .editorconfig -.flake8 .pre-commit-config.yaml .readthedocs.yaml -CHANGES.rst LICENSE +NEWS.rst README.rst +SECURITY.md conftest.py mypy.ini pyproject.toml pytest.ini setup.cfg +towncrier.toml tox.ini .github/FUNDING.yml .github/dependabot.yml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.11.1/jaraco.text.egg-info/requires.txt new/jaraco.text-3.12.0/jaraco.text.egg-info/requires.txt --- old/jaraco.text-3.11.1/jaraco.text.egg-info/requires.txt 2023-01-28 01:25:32.000000000 +0100 +++ new/jaraco.text-3.12.0/jaraco.text.egg-info/requires.txt 2023-11-27 17:46:23.000000000 +0100 @@ -9,7 +9,8 @@ [docs] sphinx>=3.5 -jaraco.packaging>=9 +sphinx<7.2.5 +jaraco.packaging>=9.3 rst.linker>=1.9 furo sphinx-lint @@ -18,9 +19,9 @@ [testing] pytest>=6 pytest-checkdocs>=2.4 -flake8<5 pytest-cov -pytest-enabler>=1.3 +pytest-enabler>=2.2 +pytest-ruff [testing:platform_python_implementation != "PyPy"] pytest-black>=0.3.7 @@ -28,6 +29,3 @@ [testing:python_version < "3.10"] pathlib2 - -[testing:python_version < "3.12"] -pytest-flake8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.11.1/pyproject.toml new/jaraco.text-3.12.0/pyproject.toml --- old/jaraco.text-3.11.1/pyproject.toml 2023-01-28 01:25:09.000000000 +0100 +++ new/jaraco.text-3.12.0/pyproject.toml 2023-11-27 17:46:04.000000000 +0100 @@ -6,15 +6,3 @@ skip-string-normalization = true [tool.setuptools_scm] - -[tool.pytest-enabler.black] -addopts = "--black" - -[tool.pytest-enabler.mypy] -addopts = "--mypy" - -[tool.pytest-enabler.flake8] -addopts = "--flake8" - -[tool.pytest-enabler.cov] -addopts = "--cov" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.11.1/pytest.ini new/jaraco.text-3.12.0/pytest.ini --- old/jaraco.text-3.11.1/pytest.ini 2023-01-28 01:25:09.000000000 +0100 +++ new/jaraco.text-3.12.0/pytest.ini 2023-11-27 17:46:04.000000000 +0100 @@ -2,24 +2,26 @@ norecursedirs=dist build .tox .eggs addopts=--doctest-modules filterwarnings= + ## upstream + # Ensure ResourceWarnings are emitted default::ResourceWarning - # Suppress deprecation warning in flake8 - ignore:SelectableGroups dict interface is deprecated::flake8 - # shopkeep/pytest-black#55 ignore:<class 'pytest_black.BlackItem'> is not using a cooperative constructor:pytest.PytestDeprecationWarning ignore:The \(fspath. py.path.local\) argument to BlackItem is deprecated.:pytest.PytestDeprecationWarning ignore:BlackItem is an Item subclass and should not be a collector:pytest.PytestWarning - # tholo/pytest-flake8#83 - ignore:<class 'pytest_flake8.Flake8Item'> is not using a cooperative constructor:pytest.PytestDeprecationWarning - ignore:The \(fspath. py.path.local\) argument to Flake8Item is deprecated.:pytest.PytestDeprecationWarning - ignore:Flake8Item is an Item subclass and should not be a collector:pytest.PytestWarning - # shopkeep/pytest-black#67 ignore:'encoding' argument not specified::pytest_black # realpython/pytest-mypy#152 ignore:'encoding' argument not specified::pytest_mypy + + # python/cpython#100750 + ignore:'encoding' argument not specified::platform + + # pypa/build#615 + ignore:'encoding' argument not specified::build.env + + ## end upstream diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.11.1/setup.cfg new/jaraco.text-3.12.0/setup.cfg --- old/jaraco.text-3.11.1/setup.cfg 2023-01-28 01:25:32.163753300 +0100 +++ new/jaraco.text-3.12.0/setup.cfg 2023-11-27 17:46:23.147165500 +0100 @@ -15,7 +15,7 @@ [options] packages = find_namespace: include_package_data = true -python_requires = >=3.7 +python_requires = >=3.8 install_requires = jaraco.functools jaraco.context >= 4.1 @@ -35,20 +35,19 @@ testing = pytest >= 6 pytest-checkdocs >= 2.4 - pytest-flake8; \ - python_version < "3.12" - flake8 < 5 pytest-black >= 0.3.7; \ python_implementation != "PyPy" pytest-cov pytest-mypy >= 0.9.1; \ python_implementation != "PyPy" - pytest-enabler >= 1.3 + pytest-enabler >= 2.2 + pytest-ruff pathlib2; python_version < "3.10" docs = sphinx >= 3.5 - jaraco.packaging >= 9 + sphinx < 7.2.5 + jaraco.packaging >= 9.3 rst.linker >= 1.9 furo sphinx-lint diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.11.1/towncrier.toml new/jaraco.text-3.12.0/towncrier.toml --- old/jaraco.text-3.11.1/towncrier.toml 1970-01-01 01:00:00.000000000 +0100 +++ new/jaraco.text-3.12.0/towncrier.toml 2023-11-27 17:46:04.000000000 +0100 @@ -0,0 +1,2 @@ +[tool.towncrier] +title_format = "{version}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.11.1/tox.ini new/jaraco.text-3.12.0/tox.ini --- old/jaraco.text-3.11.1/tox.ini 2023-01-28 01:25:09.000000000 +0100 +++ new/jaraco.text-3.12.0/tox.ini 2023-11-27 17:46:04.000000000 +0100 @@ -1,12 +1,5 @@ -[tox] -envlist = python -minversion = 3.2 -# https://github.com/jaraco/skeleton/issues/6 -tox_pip_extensions_ext_venv_update = true -toxworkdir={env:TOX_WORK_DIR:.tox} - - [testenv] +description = perform primary checks (tests, style, types, coverage) deps = setenv = PYTHONWARNDEFAULTENCODING = 1 @@ -16,22 +9,46 @@ extras = testing +[testenv:diffcov] +description = run tests and check that diff from main is covered +deps = + diff-cover +commands = + pytest {posargs} --cov-report xml + diff-cover coverage.xml --compare-branch=origin/main --html-report diffcov.html + diff-cover coverage.xml --compare-branch=origin/main --fail-under=100 + [testenv:docs] +description = build the documentation extras = docs testing changedir = docs commands = python -m sphinx -W --keep-going . {toxinidir}/build/html - python -m sphinxlint + python -m sphinxlint \ + # workaround for sphinx-contrib/sphinx-lint#83 + --jobs 1 + +[testenv:finalize] +description = assemble changelog and tag a release +skip_install = True +deps = + towncrier + jaraco.develop >= 7.23 +pass_env = * +commands = + python -m jaraco.develop.finalize + [testenv:release] +description = publish the package to PyPI and GitHub skip_install = True deps = build twine>=3 jaraco.develop>=7.1 -passenv = +pass_env = TWINE_PASSWORD GITHUB_TOKEN setenv =