Marcel Telka
2024-03-22 5fe02f910e2a2c22155d566ab13bab1eb5ff8183
python/pytest-checkdocs: update to 2.11.0

8 files modified
73 ■■■■ changed files
components/python/pytest-checkdocs/Makefile 20 ●●●● patch | view | raw | blame | history
components/python/pytest-checkdocs/history 2 ●●● patch | view | raw | blame | history
components/python/pytest-checkdocs/manifests/sample-manifest.p5m 4 ●●● patch | view | raw | blame | history
components/python/pytest-checkdocs/patches/01-no-ruff.patch 10 ●●●● patch | view | raw | blame | history
components/python/pytest-checkdocs/pkg5 7 ●●●●● patch | view | raw | blame | history
components/python/pytest-checkdocs/pytest-checkdocs-PYVER.p5m 2 ●●●●● patch | view | raw | blame | history
components/python/pytest-checkdocs/python-integrate-project.conf 12 ●●●●● patch | view | raw | blame | history
components/python/pytest-checkdocs/test/results-all.master 16 ●●●●● patch | view | raw | blame | history
components/python/pytest-checkdocs/Makefile
@@ -19,40 +19,24 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        pytest-checkdocs
HUMAN_VERSION =            2.10.1
HUMAN_VERSION =            2.11.0
COMPONENT_SUMMARY =        pytest-checkdocs - check the README when running tests
COMPONENT_PROJECT_URL =        https://github.com/jaraco/pytest-checkdocs
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/85/d1/cc399ee395c1b18a3e99cc827aba364399c6d8aaa65a6b9d90508bb35053/pytest-checkdocs-2.10.1.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:393868583f2d0314f8c5828fd94f7d28699543f6a0a925356d7e274e2952297e
    sha256:3270668c5d0758f6084c8dc1890d4e95321f0b1c46bda7aa18d8b6cc314e4b5c
COMPONENT_LICENSE =        MIT
COMPONENT_LICENSE_FILE =    LICENSE
#
# Following dependency loops were detected (where 'A --> B' means 'A needs B to
# run tests', and 'A ==> B' means 'A needs B for build and/or run'):
#
# pytest-checkdocs --> pytest-checkdocs
#
# To break loops we need to allow this project to integrate without testing in
# a case the required projects are not available yet (bootstrap).
#
PYTHON_TEST_BOOTSTRAP = yes
include $(WS_MAKE_RULES)/common.mk
# Auto-generated dependencies
PYTHON_REQUIRED_PACKAGES += library/python/build
PYTHON_REQUIRED_PACKAGES += library/python/docutils
PYTHON_REQUIRED_PACKAGES += library/python/importlib-metadata
PYTHON_REQUIRED_PACKAGES += library/python/setuptools
PYTHON_REQUIRED_PACKAGES += library/python/setuptools-scm
PYTHON_REQUIRED_PACKAGES += library/python/wheel
PYTHON_REQUIRED_PACKAGES += runtime/python
TEST_REQUIRED_PACKAGES.python += library/python/pytest
TEST_REQUIRED_PACKAGES.python += library/python/pytest-black
TEST_REQUIRED_PACKAGES.python += library/python/pytest-checkdocs
TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov
TEST_REQUIRED_PACKAGES.python += library/python/pytest-enabler
TEST_REQUIRED_PACKAGES.python += library/python/pytest-mypy
components/python/pytest-checkdocs/history
@@ -1 +1 @@
library/python/pytest-checkdocs-37@2.9.0,5.11-2022.0.0.1 noincorporate
library/python/pytest-checkdocs-37@2.9.0,5.11-2022.0.0.2
components/python/pytest-checkdocs/manifests/sample-manifest.p5m
@@ -10,7 +10,7 @@
#
#
# Copyright 2023 <contributor>
# Copyright 2024 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
@@ -29,7 +29,6 @@
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_checkdocs-$(HUMAN_VERSION).dist-info/entry_points.txt
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_checkdocs-$(HUMAN_VERSION).dist-info/top_level.txt
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_checkdocs/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_checkdocs/py310compat.py
# python modules are unusable without python runtime binary
depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \
@@ -38,4 +37,3 @@
# Automatically generated dependencies based on distribution metadata
depend type=require fmri=pkg:/library/python/build-$(PYV)
depend type=require fmri=pkg:/library/python/docutils-$(PYV)
depend type=require fmri=pkg:/library/python/importlib-metadata-$(PYV)
components/python/pytest-checkdocs/patches/01-no-ruff.patch
@@ -1,13 +1,13 @@
We have no pytest-ruff support yet.
see https://github.com/tikv/jemallocator/issues/58
--- pytest-checkdocs-2.10.0/setup.cfg.orig
+++ pytest-checkdocs-2.10.0/setup.cfg
@@ -39,7 +39,6 @@
     pytest-mypy >= 0.9.1; \
--- pytest-checkdocs-2.11.0/setup.cfg.orig
+++ pytest-checkdocs-2.11.0/setup.cfg
@@ -28,7 +28,6 @@
     pytest-mypy; \
     python_implementation != "PyPy"
     pytest-enabler >= 2.2
-    pytest-ruff
-    pytest-ruff >= 0.2.1
     
     types-docutils  # pytest-checkdocs#13
 docs = 
components/python/pytest-checkdocs/pkg5
@@ -2,15 +2,14 @@
    "dependencies": [
        "library/python/build-39",
        "library/python/docutils-39",
        "library/python/importlib-metadata-39",
        "library/python/setuptools-39",
        "library/python/setuptools-scm-39",
        "library/python/wheel-39",
        "runtime/python-39"
    ],
    "fmris": [
        "library/python/pytest-checkdocs-39",
        "library/python/pytest-checkdocs"
        "library/python/pytest-checkdocs",
        "library/python/pytest-checkdocs-39"
    ],
    "name": "pytest-checkdocs"
}
}
components/python/pytest-checkdocs/pytest-checkdocs-PYVER.p5m
@@ -29,7 +29,6 @@
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_checkdocs-$(HUMAN_VERSION).dist-info/entry_points.txt
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_checkdocs-$(HUMAN_VERSION).dist-info/top_level.txt
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_checkdocs/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_checkdocs/py310compat.py
# python modules are unusable without python runtime binary
depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \
@@ -38,4 +37,3 @@
# Automatically generated dependencies based on distribution metadata
depend type=require fmri=pkg:/library/python/build-$(PYV)
depend type=require fmri=pkg:/library/python/docutils-$(PYV)
depend type=require fmri=pkg:/library/python/importlib-metadata-$(PYV)
components/python/pytest-checkdocs/python-integrate-project.conf
@@ -14,15 +14,3 @@
#
%patch% 01-no-ruff.patch
%include-2%
#
# Following dependency loops were detected (where 'A --> B' means 'A needs B to
# run tests', and 'A ==> B' means 'A needs B for build and/or run'):
#
# pytest-checkdocs --> pytest-checkdocs
#
# To break loops we need to allow this project to integrate without testing in
# a case the required projects are not available yet (bootstrap).
#
PYTHON_TEST_BOOTSTRAP = yes
components/python/pytest-checkdocs/test/results-all.master
@@ -1,27 +1,21 @@
ROOT: tox-gh-actions won't override envlist because tox is not running in GitHub Actions
py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV)
py$(PYV): commands[0]> python -m pytest
============================= test session starts ==============================
platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python
cachedir: .tox/py$(PYV)/.pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$(@D)/.hypothesis/examples')
rootdir: $(@D)
configfile: pytest.ini
asyncio: mode=strict
collecting ... collected 9 items
collecting ... collected 5 items
::project PASSED
docs/conf.py::black PASSED
.::project PASSED
.::project PASSED
docs/conf.py::mypy PASSED
docs/conf.py::mypy-status PASSED
pytest_checkdocs/__init__.py::black PASSED
pytest_checkdocs/__init__.py::mypy PASSED
pytest_checkdocs/py310compat.py::black PASSED
pytest_checkdocs/py310compat.py::mypy PASSED
===================================== mypy =====================================
Success: no issues found in 3 source files
======== 8 passed ========
Success: no issues found in 2 source files
======== 5 passed ========
  py$(PYV): OK
  congratulations :)