Marcel Telka
2024-04-08 5d8bcb58722b250c296fc0324f9d06470fb3d7d0
python/jaraco.context: update to 5.3.0

6 files modified
45 ■■■■ changed files
components/python/jaraco.context/Makefile 6 ●●●●● patch | view | raw | blame | history
components/python/jaraco.context/jaraco.context-PYVER.p5m 1 ●●●● patch | view | raw | blame | history
components/python/jaraco.context/manifests/sample-manifest.p5m 1 ●●●● patch | view | raw | blame | history
components/python/jaraco.context/patches/01-no-ruff.patch 10 ●●●● patch | view | raw | blame | history
components/python/jaraco.context/pkg5 1 ●●●● patch | view | raw | blame | history
components/python/jaraco.context/test/results-all.master 26 ●●●● patch | view | raw | blame | history
components/python/jaraco.context/Makefile
@@ -19,11 +19,11 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        jaraco.context
HUMAN_VERSION =            5.1.0
HUMAN_VERSION =            5.3.0
COMPONENT_SUMMARY =        jaraco.context - Useful decorators and context managers
COMPONENT_PROJECT_URL =        https://github.com/jaraco/jaraco.context
COMPONENT_ARCHIVE_HASH =    \
    sha256:24ec1f739aec2c5766c68027ccc70d91d7b0cb931699442f5c7ed93515b955e7
    sha256:c2f67165ce1f9be20f32f650f25d8edfc1646a8aeee48ae06fb35f90763576d2
COMPONENT_LICENSE =        MIT
COMPONENT_LICENSE_FILE =    LICENSE
@@ -41,10 +41,12 @@
include $(WS_MAKE_RULES)/common.mk
# Auto-generated dependencies
PYTHON_REQUIRED_PACKAGES += library/python/backports-tarfile
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/portend
TEST_REQUIRED_PACKAGES.python += library/python/pytest
TEST_REQUIRED_PACKAGES.python += library/python/pytest-checkdocs
TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov
components/python/jaraco.context/jaraco.context-PYVER.p5m
@@ -34,3 +34,4 @@
    pkg.debug.depend.path=usr/bin
# Automatically generated dependencies based on distribution metadata
depend type=require fmri=pkg:/library/python/backports-tarfile-$(PYV)
components/python/jaraco.context/manifests/sample-manifest.p5m
@@ -34,3 +34,4 @@
    pkg.debug.depend.path=usr/bin
# Automatically generated dependencies based on distribution metadata
depend type=require fmri=pkg:/library/python/backports-tarfile-$(PYV)
components/python/jaraco.context/patches/01-no-ruff.patch
@@ -1,13 +1,13 @@
We have no pytest-ruff support yet.
see https://github.com/tikv/jemallocator/issues/58
--- jaraco.context-5.1.0/setup.cfg.orig
+++ jaraco.context-5.1.0/setup.cfg
@@ -24,7 +24,6 @@
--- jaraco.context-5.3.0/setup.cfg.orig
+++ jaraco.context-5.3.0/setup.cfg
@@ -25,7 +25,6 @@
     pytest-cov
     pytest-mypy
     pytest-enabler >= 2.2
-    pytest-ruff >= 0.2.1
     portend
 docs = 
     sphinx >= 3.5
     jaraco.packaging >= 9.3
components/python/jaraco.context/pkg5
@@ -1,5 +1,6 @@
{
    "dependencies": [
        "library/python/backports-tarfile-39",
        "library/python/setuptools-39",
        "library/python/setuptools-scm-39",
        "library/python/wheel-39",
components/python/jaraco.context/test/results-all.master
@@ -5,12 +5,13 @@
cachedir: .tox/py$(PYV)/.pytest_cache
rootdir: $(@D)
configfile: pytest.ini
collecting ... collected 15 items
collecting ... collected 17 items
.::project PASSED
.::project PASSED
conftest.py::mypy PASSED
conftest.py::mypy-status PASSED
docs/conf.py::mypy PASSED
docs/conf.py::mypy-status PASSED
jaraco/context.py::jaraco.context.ExceptionTrap PASSED
jaraco/context.py::jaraco.context.ExceptionTrap.passes PASSED
jaraco/context.py::jaraco.context.ExceptionTrap.raises PASSED
@@ -20,12 +21,27 @@
jaraco/context.py::jaraco.context.on_interrupt PASSED
jaraco/context.py::jaraco.context.pushd PASSED
jaraco/context.py::jaraco.context.suppress PASSED
jaraco/context.py::jaraco.context.tarball PASSED
jaraco/context.py::jaraco.context.temp_dir PASSED
jaraco/context.py::mypy PASSED
===================================== mypy =====================================
=============================== warnings summary ===============================
jaraco/context.py::jaraco.context.infer_compression
  <doctest jaraco.context.infer_compression[0]>:1: DeprecationWarning: infer_compression is deprecated with no replacement
Success: no issues found in 2 source files
======== 15 passed ========
jaraco/context.py::jaraco.context.infer_compression
  <doctest jaraco.context.infer_compression[1]>:1: DeprecationWarning: infer_compression is deprecated with no replacement
jaraco/context.py::jaraco.context.infer_compression
  <doctest jaraco.context.infer_compression[2]>:1: DeprecationWarning: infer_compression is deprecated with no replacement
jaraco/context.py::jaraco.context.infer_compression
  <doctest jaraco.context.infer_compression[3]>:1: DeprecationWarning: infer_compression is deprecated with no replacement
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
===================================== mypy =====================================
Success: no issues found in 3 source files
======== 17 passed, 4 warnings ========
  py$(PYV): OK
  congratulations :)