commit python-autodocsumm for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-autodocsumm for openSUSE:Factory checked in at 2024-08-30 13:29:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-autodocsumm (Old) and /work/SRC/openSUSE:Factory/.python-autodocsumm.new.2698 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-autodocsumm" Fri Aug 30 13:29:27 2024 rev:15 rq:1197442 version:0.2.13 Changes: -------- --- /work/SRC/openSUSE:Factory/python-autodocsumm/python-autodocsumm.changes 2024-01-09 20:49:22.311606073 +0100 +++ /work/SRC/openSUSE:Factory/.python-autodocsumm.new.2698/python-autodocsumm.changes 2024-08-30 13:29:35.995437805 +0200 @@ -1,0 +2,7 @@ +Mon Aug 26 13:21:57 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> + +- Update to 0.2.13 + * Allow Sphinx >=8.0 and fix deprecations; allow Python + 3.12; rework test workflow by @theOehrly in (#98) + +------------------------------------------------------------------- Old: ---- autodocsumm-0.2.12.tar.gz New: ---- autodocsumm-0.2.13.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-autodocsumm.spec ++++++ --- /var/tmp/diff_new_pack.rlDd2R/_old 2024-08-30 13:29:36.715467897 +0200 +++ /var/tmp/diff_new_pack.rlDd2R/_new 2024-08-30 13:29:36.719468064 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-autodocsumm -Version: 0.2.12 +Version: 0.2.13 Release: 0 Summary: Extended sphinx autodoc including automatic autosummaries License: Apache-2.0 ++++++ autodocsumm-0.2.12.tar.gz -> autodocsumm-0.2.13.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autodocsumm-0.2.12/.github/workflows/build.yml new/autodocsumm-0.2.13/.github/workflows/build.yml --- old/autodocsumm-0.2.12/.github/workflows/build.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/autodocsumm-0.2.13/.github/workflows/build.yml 2024-08-05 14:07:09.000000000 +0200 @@ -0,0 +1,40 @@ +# This workflow will install Python dependencies, run tests and lint with a single version of Python +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-w... + +name: Tests + +on: + workflow_call: + inputs: + python-version: + required: true + type: string + extra-requirements: + required: false + type: string + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ inputs.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ inputs.python-version }} + - name: Display Python version + run: python -c "import sys; print(sys.version)" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pytest pytest-cov codecov beautifulsoup4 ${{ inputs.extra-requirements }} -e . + - name: Test with pytest + run: | + pytest --cov=autodocsumm --cov-report=xml tests + - name: Upload codecov + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + run: | + codecov diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autodocsumm-0.2.12/.github/workflows/python-app.yml new/autodocsumm-0.2.13/.github/workflows/python-app.yml --- old/autodocsumm-0.2.12/.github/workflows/python-app.yml 2024-01-05 10:16:16.000000000 +0100 +++ new/autodocsumm-0.2.13/.github/workflows/python-app.yml 2024-08-05 14:07:09.000000000 +0200 @@ -8,62 +8,98 @@ pull_request: jobs: - build: - runs-on: ubuntu-latest + build-sphinx-80plus: + name: Build + strategy: + fail-fast: false + matrix: + python-version: [ "3.10", "3.11", "3.12" ] + sphinx-version: [ + "8.0.*", "8.*" # 8.0.x and latest + ] + uses: ./.github/workflows/build.yml + with: + python-version: ${{ matrix.python-version }} + extra-requirements: '\ + "sphinx==${{ matrix.sphinx-version }}"' + + + build-legacy-sphinx-45plus: + name: Build strategy: + fail-fast: false matrix: - python-version: ["3.8", "3.9"] + python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ] sphinx-version: [ - "7.0.*", "7.1.*", "7.2.*", - "6.0.*", - "5.0.*", - "4.5", "4.4", "4.3", "4.2", "4.1", "4.0.*", - "3.5.*", "3.4.*", "3.2.*", "3.1.*", "3.0.*", + "7.0.*", # possible range: 7.0.0 - 7.4.7 + "6.0.*", # possible range: 6.0.0 - 6.2.1 + "5.0.*", # possible range: 5.0.0 - 5.3.0 + "4.5.*" # possible range: 4.5.0, also latest that supports py3.8 + ] + include: + - python-version: "3.9" + sphinx-version: "7.2.*" # latest version that supports py3.9 + uses: ./.github/workflows/build.yml + with: + python-version: ${{ matrix.python-version }} + extra-requirements: '\ + "sphinx==${{ matrix.sphinx-version }}" + "sphinxcontrib-applehelp<1.0.8" + "sphinxcontrib-devhelp<1.0.6" + "sphinxcontrib-htmlhelp<2.0.5" + "sphinxcontrib-jsmath<1.0.1" + "sphinxcontrib-qthelp<1.0.7" + "sphinxcontrib-serializinghtml<1.1.10"' + + + build-legacy-sphinx-40plus: + name: Build + + strategy: + fail-fast: false + matrix: + python-version: [ "3.8", "3.9" ] + sphinx-version: [ + "4.0.*" # possible range: 4.0.0 - 4.4.0 + ] + uses: ./.github/workflows/build.yml + with: + python-version: ${{ matrix.python-version }} + extra-requirements: '\ + "sphinx==${{ matrix.sphinx-version }}" + "sphinxcontrib-applehelp<1.0.8" + "sphinxcontrib-devhelp<1.0.6" + "sphinxcontrib-htmlhelp<2.0.5" + "sphinxcontrib-jsmath<1.0.1" + "sphinxcontrib-qthelp<1.0.7" + "sphinxcontrib-serializinghtml<1.1.10"' + + + build-legacy-sphinx-30plus: + name: Build + + strategy: + fail-fast: false + matrix: + python-version: [ "3.7", "3.8", "3.9" ] + sphinx-version: [ + "3.0.*", # possible range: 3.0.0 - 3.5.4 ] include: - python-version: "3.7" - sphinx-version: "" - - python-version: "3.7" - sphinx-version: "3.5" - - python-version: "3.10" - sphinx-version: "" - - python-version: "3.10" - sphinx-version: "4.5" - - python-version: "3.11" - sphinx-version: "" - - python-version: "3.11" - sphinx-version: "4.5" - exclude: - - python-version: "3.8" - sphinx-version: "7.2.*" - - steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - name: Display Python version - run: python -c "import sys; print(sys.version)" - - name: Install dependencies - env: - SPHINX_VERSION: ${{ matrix.sphinx-version }} - run: | - python -m pip install --upgrade pip - SPHINX=Sphinx - JINJA2=jinja2 - if [[ $SPHINX_VERSION != "" ]]; then - SPHINX="${SPHINX}==${SPHINX_VERSION}"; - JINJA2="${JINJA2}<3.1"; - fi - pip install pytest pytest-cov codecov "${SPHINX}" "${JINJA2}" beautifulsoup4 -e . - - name: Test with pytest - run: | - pytest --cov=autodocsumm --cov-report=xml tests - - name: Upload codecov - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - run: | - codecov + sphinx-version: "3.5.*" # latest version that supports py3.7 + uses: ./.github/workflows/build.yml + with: + python-version: ${{ matrix.python-version }} + extra-requirements: '\ + "sphinx==${{ matrix.sphinx-version }}" + "jinja2<3.1" + "alabaster<0.7.14" + "sphinxcontrib-applehelp<1.0.8" + "sphinxcontrib-devhelp<1.0.6" + "sphinxcontrib-htmlhelp<2.0.5" + "sphinxcontrib-jsmath<1.0.1" + "sphinxcontrib-qthelp<1.0.7" + "sphinxcontrib-serializinghtml<1.1.10"' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autodocsumm-0.2.12/autodocsumm/_version.py new/autodocsumm-0.2.13/autodocsumm/_version.py --- old/autodocsumm-0.2.12/autodocsumm/_version.py 2024-01-05 10:16:16.000000000 +0100 +++ new/autodocsumm-0.2.13/autodocsumm/_version.py 2024-08-05 14:07:09.000000000 +0200 @@ -26,9 +26,9 @@ # setup.py/versioneer.py will grep for the variable names, so they must # each be defined on a line of their own. _version.py will just call # get_keywords(). - git_refnames = " (HEAD -> master, tag: v0.2.12)" - git_full = "6834615ae9b5730eec058f642007bac0aef2dfcf" - git_date = "2024-01-05 10:16:16 +0100" + git_refnames = " (HEAD -> master, tag: v0.2.13)" + git_full = "354e67b443fe212401b1fc0f9e2f0d669c5852c4" + git_date = "2024-08-05 14:07:09 +0200" keywords = {"refnames": git_refnames, "full": git_full, "date": git_date} return keywords diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autodocsumm-0.2.12/conftest.py new/autodocsumm-0.2.13/conftest.py --- old/autodocsumm-0.2.12/conftest.py 2024-01-05 10:16:16.000000000 +0100 +++ new/autodocsumm-0.2.13/conftest.py 2024-08-05 14:07:09.000000000 +0200 @@ -1,13 +1,17 @@ import os.path as osp -import sys import pytest +import sphinx +import sys +from packaging.version import Version -from sphinx.testing.path import path +if Version(sphinx.__version__) < Version("8.0.0"): + from sphinx.testing.path import path +else: + from pathlib import Path as path pytest_plugins = 'sphinx.testing.fixtures' - sphinx_supp = osp.abspath(osp.join(osp.dirname(__file__), "tests")) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autodocsumm-0.2.12/pyproject.toml new/autodocsumm-0.2.13/pyproject.toml --- old/autodocsumm-0.2.12/pyproject.toml 2024-01-05 10:16:16.000000000 +0100 +++ new/autodocsumm-0.2.13/pyproject.toml 2024-08-05 14:07:09.000000000 +0200 @@ -18,6 +18,8 @@ 'Intended Audience :: Developers', 'Topic :: Documentation', 'License :: OSI Approved :: Apache Software License', + 'Framework :: Sphinx', + 'Framework :: Sphinx :: Extension', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3.7', @@ -25,12 +27,13 @@ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Operating System :: OS Independent', ] requires-python = '>= 3.7' dependencies = [ - 'Sphinx >= 2.2, < 8.0', + 'Sphinx >= 2.2, < 9.0', ] [project.urls]
participants (1)
-
Source-Sync