Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-jaraco.logging for openSUSE:Factory checked in at 2023-12-28 23:01:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jaraco.logging (Old) and /work/SRC/openSUSE:Factory/.python-jaraco.logging.new.28375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jaraco.logging" Thu Dec 28 23:01:39 2023 rev:7 rq:1135279 version:3.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jaraco.logging/python-jaraco.logging.changes 2023-12-17 21:35:12.531871646 +0100 +++ /work/SRC/openSUSE:Factory/.python-jaraco.logging.new.28375/python-jaraco.logging.changes 2023-12-28 23:03:16.294407508 +0100 @@ -1,0 +2,6 @@ +Wed Dec 27 10:52:16 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 3.3.0: + * Replaced deprecated datetime.utcfromtimestamp. (#3) + +------------------------------------------------------------------- Old: ---- jaraco.logging-3.2.0.tar.gz New: ---- jaraco.logging-3.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jaraco.logging.spec ++++++ --- /var/tmp/diff_new_pack.D0ZX43/_old 2023-12-28 23:03:17.326445226 +0100 +++ /var/tmp/diff_new_pack.D0ZX43/_new 2023-12-28 23:03:17.330445373 +0100 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-jaraco.logging -Version: 3.2.0 +Version: 3.3.0 Release: 0 Summary: Tools to work with logging License: MIT ++++++ jaraco.logging-3.2.0.tar.gz -> jaraco.logging-3.3.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/.github/workflows/main.yml new/jaraco.logging-3.3.0/.github/workflows/main.yml --- old/jaraco.logging-3.2.0/.github/workflows/main.yml 2023-08-31 03:10:10.000000000 +0200 +++ new/jaraco.logging-3.3.0/.github/workflows/main.yml 2023-12-24 18:14:11.000000000 +0100 @@ -1,40 +1,28 @@ name: tests -on: [push, pull_request] +on: + merge_group: + push: + branches-ignore: + # disabled for jaraco/skeleton#103 + # - gh-readonly-queue/** # Temporary merge queue-related GH-made branches + 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: @@ -54,43 +42,49 @@ platform: ubuntu-latest - python: "3.10" platform: ubuntu-latest - - python: pypy3.9 + - python: pypy3.10 platform: ubuntu-latest runs-on: ${{ matrix.platform }} - continue-on-error: ${{ matrix.python == '3.12' }} + continue-on-error: ${{ matrix.python == '3.13' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} allow-prereleases: true - name: Install tox - run: | - python -m pip install tox + run: python -m pip install tox - name: Run run: tox - docs: + collateral: + strategy: + fail-fast: false + matrix: + job: + - diffcov + - docs runs-on: ubuntu-latest - env: - TOXENV: docs steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + 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 - run: tox + run: python -m pip install tox + - name: Eval ${{ matrix.job }} + run: tox -e ${{ matrix.job }} check: # This job does nothing and is only used for the branch protection if: always() needs: - test - - docs + - collateral runs-on: ubuntu-latest @@ -109,14 +103,13 @@ runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python uses: actions/setup-python@v4 with: python-version: 3.x - name: Install tox - run: | - python -m pip install tox + run: python -m pip install tox - name: Run run: tox -e release env: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/.pre-commit-config.yaml new/jaraco.logging-3.3.0/.pre-commit-config.yaml --- old/jaraco.logging-3.2.0/.pre-commit-config.yaml 2023-08-31 03:10:10.000000000 +0200 +++ new/jaraco.logging-3.3.0/.pre-commit-config.yaml 2023-12-24 18:14:11.000000000 +0100 @@ -1,5 +1,6 @@ repos: -- repo: https://github.com/psf/black - rev: 22.6.0 +- repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.1.8 hooks: - - id: black + - id: ruff + - id: ruff-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/NEWS.rst new/jaraco.logging-3.3.0/NEWS.rst --- old/jaraco.logging-3.2.0/NEWS.rst 2023-08-31 03:10:10.000000000 +0200 +++ new/jaraco.logging-3.3.0/NEWS.rst 2023-12-24 18:14:11.000000000 +0100 @@ -1,3 +1,18 @@ +v3.3.0 +====== + +Features +-------- + +- Replaced deprecated datetime.utcfromtimestamp. (#3) + + +v3.2.1 +====== + +No significant changes. + + v3.2.0 ====== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/PKG-INFO new/jaraco.logging-3.3.0/PKG-INFO --- old/jaraco.logging-3.2.0/PKG-INFO 2023-08-31 03:10:30.785939700 +0200 +++ new/jaraco.logging-3.3.0/PKG-INFO 2023-12-24 18:14:36.369487000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: jaraco.logging -Version: 3.2.0 +Version: 3.3.0 Summary: Support for Python logging facility Home-page: https://github.com/jaraco/jaraco.logging Author: Jason R. Coombs @@ -11,16 +11,29 @@ Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3 :: Only Requires-Python: >=3.8 +License-File: LICENSE +Requires-Dist: tempora Provides-Extra: testing +Requires-Dist: pytest>=6; extra == "testing" +Requires-Dist: pytest-checkdocs>=2.4; extra == "testing" +Requires-Dist: pytest-cov; extra == "testing" +Requires-Dist: pytest-mypy; platform_python_implementation != "PyPy" and extra == "testing" +Requires-Dist: pytest-enabler>=2.2; extra == "testing" +Requires-Dist: pytest-ruff>=0.2.1; 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" .. image:: https://img.shields.io/pypi/v/jaraco.logging.svg :target: https://pypi.org/project/jaraco.logging .. image:: https://img.shields.io/pypi/pyversions/jaraco.logging.svg -.. image:: https://github.com/jaraco/jaraco.logging/workflows/tests/badge.svg +.. image:: https://github.com/jaraco/jaraco.logging/actions/workflows/main.yml/badge.svg :target: https://github.com/jaraco/jaraco.logging/actions?query=workflow%3A%22tests%22 :alt: tests @@ -28,10 +41,6 @@ :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 - .. image:: https://readthedocs.org/projects/jaracologging/badge/?version=latest :target: https://jaracologging.readthedocs.io/en/latest/?badge=latest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/README.rst new/jaraco.logging-3.3.0/README.rst --- old/jaraco.logging-3.2.0/README.rst 2023-08-31 03:10:10.000000000 +0200 +++ new/jaraco.logging-3.3.0/README.rst 2023-12-24 18:14:11.000000000 +0100 @@ -3,7 +3,7 @@ .. image:: https://img.shields.io/pypi/pyversions/jaraco.logging.svg -.. image:: https://github.com/jaraco/jaraco.logging/workflows/tests/badge.svg +.. image:: https://github.com/jaraco/jaraco.logging/actions/workflows/main.yml/badge.svg :target: https://github.com/jaraco/jaraco.logging/actions?query=workflow%3A%22tests%22 :alt: tests @@ -11,10 +11,6 @@ :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 - .. image:: https://readthedocs.org/projects/jaracologging/badge/?version=latest :target: https://jaracologging.readthedocs.io/en/latest/?badge=latest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/jaraco/logging.py new/jaraco.logging-3.3.0/jaraco/logging.py --- old/jaraco.logging-3.2.0/jaraco/logging.py 2023-08-31 03:10:10.000000000 +0200 +++ new/jaraco.logging-3.3.0/jaraco/logging.py 2023-12-24 18:14:11.000000000 +0100 @@ -1,7 +1,6 @@ import os import logging import time -import datetime import string import http.client @@ -133,7 +132,7 @@ if self._period_seconds: t -= t % self._period_seconds # convert it to a datetime object for formatting - dt = datetime.datetime.utcfromtimestamp(t) + dt = tempora.utc.fromtimestamp(t) # append the datestring to the filename # workaround for datetime.strftime not handling '' properly appended_date = ( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/jaraco.logging.egg-info/PKG-INFO new/jaraco.logging-3.3.0/jaraco.logging.egg-info/PKG-INFO --- old/jaraco.logging-3.2.0/jaraco.logging.egg-info/PKG-INFO 2023-08-31 03:10:30.000000000 +0200 +++ new/jaraco.logging-3.3.0/jaraco.logging.egg-info/PKG-INFO 2023-12-24 18:14:36.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: jaraco.logging -Version: 3.2.0 +Version: 3.3.0 Summary: Support for Python logging facility Home-page: https://github.com/jaraco/jaraco.logging Author: Jason R. Coombs @@ -11,16 +11,29 @@ Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3 :: Only Requires-Python: >=3.8 +License-File: LICENSE +Requires-Dist: tempora Provides-Extra: testing +Requires-Dist: pytest>=6; extra == "testing" +Requires-Dist: pytest-checkdocs>=2.4; extra == "testing" +Requires-Dist: pytest-cov; extra == "testing" +Requires-Dist: pytest-mypy; platform_python_implementation != "PyPy" and extra == "testing" +Requires-Dist: pytest-enabler>=2.2; extra == "testing" +Requires-Dist: pytest-ruff>=0.2.1; 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" .. image:: https://img.shields.io/pypi/v/jaraco.logging.svg :target: https://pypi.org/project/jaraco.logging .. image:: https://img.shields.io/pypi/pyversions/jaraco.logging.svg -.. image:: https://github.com/jaraco/jaraco.logging/workflows/tests/badge.svg +.. image:: https://github.com/jaraco/jaraco.logging/actions/workflows/main.yml/badge.svg :target: https://github.com/jaraco/jaraco.logging/actions?query=workflow%3A%22tests%22 :alt: tests @@ -28,10 +41,6 @@ :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 - .. image:: https://readthedocs.org/projects/jaracologging/badge/?version=latest :target: https://jaracologging.readthedocs.io/en/latest/?badge=latest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/jaraco.logging.egg-info/SOURCES.txt new/jaraco.logging-3.3.0/jaraco.logging.egg-info/SOURCES.txt --- old/jaraco.logging-3.2.0/jaraco.logging.egg-info/SOURCES.txt 2023-08-31 03:10:30.000000000 +0200 +++ new/jaraco.logging-3.3.0/jaraco.logging.egg-info/SOURCES.txt 2023-12-24 18:14:36.000000000 +0100 @@ -8,6 +8,7 @@ mypy.ini pyproject.toml pytest.ini +ruff.toml setup.cfg towncrier.toml tox.ini diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/jaraco.logging.egg-info/requires.txt new/jaraco.logging-3.3.0/jaraco.logging.egg-info/requires.txt --- old/jaraco.logging-3.2.0/jaraco.logging.egg-info/requires.txt 2023-08-31 03:10:30.000000000 +0200 +++ new/jaraco.logging-3.3.0/jaraco.logging.egg-info/requires.txt 2023-12-24 18:14:36.000000000 +0100 @@ -2,6 +2,7 @@ [docs] sphinx>=3.5 +sphinx<7.2.5 jaraco.packaging>=9.3 rst.linker>=1.9 furo @@ -12,7 +13,7 @@ pytest-checkdocs>=2.4 pytest-cov pytest-enabler>=2.2 -pytest-ruff +pytest-ruff>=0.2.1 [testing:platform_python_implementation != "PyPy"] -pytest-black>=0.3.7 +pytest-mypy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/pyproject.toml new/jaraco.logging-3.3.0/pyproject.toml --- old/jaraco.logging-3.2.0/pyproject.toml 2023-08-31 03:10:10.000000000 +0200 +++ new/jaraco.logging-3.3.0/pyproject.toml 2023-12-24 18:14:11.000000000 +0100 @@ -2,7 +2,4 @@ requires = ["setuptools>=56", "setuptools_scm[toml]>=3.4.1"] build-backend = "setuptools.build_meta" -[tool.black] -skip-string-normalization = true - [tool.setuptools_scm] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/pytest.ini new/jaraco.logging-3.3.0/pytest.ini --- old/jaraco.logging-3.2.0/pytest.ini 2023-08-31 03:10:10.000000000 +0200 +++ new/jaraco.logging-3.3.0/pytest.ini 2023-12-24 18:14:11.000000000 +0100 @@ -1,21 +1,14 @@ [pytest] norecursedirs=dist build .tox .eggs -# doctests disabled due to pytest-dev/pytest#3396 -# addopts=--doctest-modules +addopts= + --doctest-modules + --import-mode importlib filterwarnings= ## upstream # Ensure ResourceWarnings are emitted default::ResourceWarning - # 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 - - # shopkeep/pytest-black#67 - ignore:'encoding' argument not specified::pytest_black - # realpython/pytest-mypy#152 ignore:'encoding' argument not specified::pytest_mypy @@ -25,4 +18,7 @@ # pypa/build#615 ignore:'encoding' argument not specified::build.env + # dateutil/dateutil#1284 + ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning:dateutil.tz.tz + ## end upstream diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/ruff.toml new/jaraco.logging-3.3.0/ruff.toml --- old/jaraco.logging-3.2.0/ruff.toml 1970-01-01 01:00:00.000000000 +0100 +++ new/jaraco.logging-3.3.0/ruff.toml 2023-12-24 18:14:11.000000000 +0100 @@ -0,0 +1,22 @@ +[lint] +extend-ignore = [ + # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules + "W191", + "E111", + "E114", + "E117", + "D206", + "D300", + "Q000", + "Q001", + "Q002", + "Q003", + "COM812", + "COM819", + "ISC001", + "ISC002", +] + +[format] +# https://docs.astral.sh/ruff/settings/#format-quote-style +quote-style = "preserve" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/setup.cfg new/jaraco.logging-3.3.0/setup.cfg --- old/jaraco.logging-3.2.0/setup.cfg 2023-08-31 03:10:30.785939700 +0200 +++ new/jaraco.logging-3.3.0/setup.cfg 2023-12-24 18:14:36.369487000 +0100 @@ -30,13 +30,14 @@ testing = pytest >= 6 pytest-checkdocs >= 2.4 - pytest-black >= 0.3.7; \ - python_implementation != "PyPy" pytest-cov + pytest-mypy; \ + python_implementation != "PyPy" pytest-enabler >= 2.2 - pytest-ruff + pytest-ruff >= 0.2.1 docs = sphinx >= 3.5 + sphinx < 7.2.5 jaraco.packaging >= 9.3 rst.linker >= 1.9 furo diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.logging-3.2.0/tox.ini new/jaraco.logging-3.3.0/tox.ini --- old/jaraco.logging-3.2.0/tox.ini 2023-08-31 03:10:10.000000000 +0200 +++ new/jaraco.logging-3.3.0/tox.ini 2023-12-24 18:14:11.000000000 +0100 @@ -1,4 +1,5 @@ [testenv] +description = perform primary checks (tests, style, types, coverage) deps = setenv = PYTHONWARNDEFAULTENCODING = 1 @@ -8,32 +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 -passenv = * +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 =