Marcel Telka
2024-03-21 1675e50350cc46ed0522d6d46eca43347ae7ec94
python/jaraco.test: update to 5.4.0; obsolete package for Python 3.7

3 files added
5 files modified
95 ■■■■■ changed files
components/python/jaraco.test/Makefile 14 ●●●● patch | view | raw | blame | history
components/python/jaraco.test/history 1 ●●●● patch | view | raw | blame | history
components/python/jaraco.test/jaraco.test-PYVER.p5m 2 ●●●●● patch | view | raw | blame | history
components/python/jaraco.test/manifests/sample-manifest.p5m 4 ●●● patch | view | raw | blame | history
components/python/jaraco.test/patches/01-no-ruff.patch 13 ●●●●● patch | view | raw | blame | history
components/python/jaraco.test/pkg5 19 ●●●●● patch | view | raw | blame | history
components/python/jaraco.test/python-integrate-project.conf 20 ●●●●● patch | view | raw | blame | history
components/python/jaraco.test/test/results-all.master 22 ●●●●● patch | view | raw | blame | history
components/python/jaraco.test/Makefile
@@ -19,29 +19,29 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        jaraco.test
HUMAN_VERSION =            5.3.0
HUMAN_VERSION =            5.4.0
COMPONENT_SUMMARY =        jaraco.test - Testing support by jaraco
COMPONENT_PROJECT_URL =        https://github.com/jaraco/jaraco.test
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/88/98/ddb7b10edd50da854060987bdfaa716c77839ee82e2332a507c13ef253a1/jaraco.test-5.3.0.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:7f67fcc539538171823e5aa9f9d034e2e9512ce4f354d11bdfd84db72b461d40
    sha256:dbd343878758adc54447d6115c461789adb31fc4073b212950243093ba317ec2
COMPONENT_LICENSE =        MIT
COMPONENT_LICENSE_FILE =    LICENSE
include $(WS_MAKE_RULES)/common.mk
# https://github.com/pytest-dev/pytest/issues/12112
PYTEST_ADDOPTS += --ignore jaraco/test/cpython.py
# Auto-generated dependencies
PYTHON_REQUIRED_PACKAGES += library/python/jaraco-collections
PYTHON_REQUIRED_PACKAGES += library/python/jaraco-context
PYTHON_REQUIRED_PACKAGES += library/python/jaraco-functools
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/flake8
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-flake8
TEST_REQUIRED_PACKAGES.python += library/python/pytest-mypy
components/python/jaraco.test/history
New file
@@ -0,0 +1 @@
library/python/jaraco-test-37@5.3.0,5.11-2023.0.0.1
components/python/jaraco.test/jaraco.test-PYVER.p5m
@@ -29,6 +29,7 @@
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco.test-$(HUMAN_VERSION).dist-info/entry_points.txt
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco.test-$(HUMAN_VERSION).dist-info/top_level.txt
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/test/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/test/cpython.py
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/test/http.py
# python modules are unusable without python runtime binary
@@ -36,5 +37,6 @@
    pkg.debug.depend.path=usr/bin
# Automatically generated dependencies based on distribution metadata
depend type=require fmri=pkg:/library/python/jaraco-collections-$(PYV)
depend type=require fmri=pkg:/library/python/jaraco-context-$(PYV)
depend type=require fmri=pkg:/library/python/jaraco-functools-$(PYV)
components/python/jaraco.test/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,6 +29,7 @@
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco.test-$(HUMAN_VERSION).dist-info/entry_points.txt
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco.test-$(HUMAN_VERSION).dist-info/top_level.txt
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/test/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/test/cpython.py
file path=usr/lib/python$(PYVER)/vendor-packages/jaraco/test/http.py
# python modules are unusable without python runtime binary
@@ -36,5 +37,6 @@
    pkg.debug.depend.path=usr/bin
# Automatically generated dependencies based on distribution metadata
depend type=require fmri=pkg:/library/python/jaraco-collections-$(PYV)
depend type=require fmri=pkg:/library/python/jaraco-context-$(PYV)
depend type=require fmri=pkg:/library/python/jaraco-functools-$(PYV)
components/python/jaraco.test/patches/01-no-ruff.patch
New file
@@ -0,0 +1,13 @@
We have no ruff support yet.
see https://github.com/tikv/jemallocator/issues/58
--- jaraco.test-5.4.0/setup.cfg.orig
+++ jaraco.test-5.4.0/setup.cfg
@@ -29,7 +29,6 @@
     pytest-mypy; \
     python_implementation != "PyPy"
     pytest-enabler >= 2.2
-    pytest-ruff >= 0.2.1
     pytest < 8.1
 docs =
components/python/jaraco.test/pkg5
@@ -1,23 +1,16 @@
{
    "dependencies": [
        "SUNWcs",
        "library/python/jaraco-context-37",
        "library/python/jaraco-collections-39",
        "library/python/jaraco-context-39",
        "library/python/jaraco-functools-37",
        "library/python/jaraco-functools-39",
        "library/python/setuptools-37",
        "library/python/setuptools-39",
        "library/python/setuptools-scm-37",
        "library/python/setuptools-scm-39",
        "runtime/python-37",
        "runtime/python-39",
        "shell/ksh93",
        "system/library"
        "library/python/wheel-39",
        "runtime/python-39"
    ],
    "fmris": [
        "library/python/jaraco-test-37",
        "library/python/jaraco-test-39",
        "library/python/jaraco-test"
        "library/python/jaraco-test",
        "library/python/jaraco-test-39"
    ],
    "name": "jaraco.test"
}
}
components/python/jaraco.test/python-integrate-project.conf
New file
@@ -0,0 +1,20 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2024 Marcel Telka
#
%patch% 01-no-ruff.patch
%include-3%
# https://github.com/pytest-dev/pytest/issues/12112
PYTEST_ADDOPTS += --ignore jaraco/test/cpython.py
components/python/jaraco.test/test/results-all.master
@@ -1,27 +1,19 @@
py$(PYV): remove tox env folder .tox/py$(PYV)
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 18 items
rootdir: $(@D)
configfile: pytest.ini
collecting ... collected 10 items
::project PASSED
docs/conf.py::BLACK PASSED
docs/conf.py::flake-8::FLAKE8 PASSED
.::project PASSED
.::project PASSED
docs/conf.py::mypy PASSED
docs/conf.py::mypy-status PASSED
jaraco/test/__init__.py::BLACK PASSED
jaraco/test/__init__.py::flake-8::FLAKE8 PASSED
jaraco/test/__init__.py::mypy PASSED
jaraco/test/__init__.py::test.property_error PASSED
jaraco/test/http.py::BLACK PASSED
jaraco/test/http.py::flake-8::FLAKE8 PASSED
jaraco/test/http.py::mypy PASSED
tests/test_http.py::BLACK PASSED
tests/test_http.py::flake-8::FLAKE8 PASSED
tests/test_http.py::mypy PASSED
tests/test_http.py::test_needs_internet PASSED
tests/test_http.py::test_network_marker PASSED
@@ -29,6 +21,6 @@
===================================== mypy =====================================
Success: no issues found in 4 source files
======== 17 passed ========
======== 10 passed ========
  py$(PYV): OK
  congratulations :)