[med-svn] [Git][med-team/cwltest][upstream] New upstream version 2.5.20240304113812

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Thu Mar 7 13:54:38 GMT 2024



Michael R. Crusoe pushed to branch upstream at Debian Med / cwltest


Commits:
d7ce88a5 by Michael R. Crusoe at 2024-03-07T14:19:10+01:00
New upstream version 2.5.20240304113812
- - - - -


10 changed files:

- Makefile
- PKG-INFO
- cwltest.egg-info/PKG-INFO
- cwltest/_version.py
- cwltest/argparser.py
- cwltest/plugin.py
- dev-requirements.txt
- docs/pytest.rst
- tests/test_prepare.py
- tests/util.py


Changes:

=====================================
Makefile
=====================================
@@ -29,7 +29,7 @@ PYSOURCES=$(wildcard ${MODULE}/**.py tests/*.py)
 DEVPKGS=-rdev-requirements.txt -rtest-requirements.txt -rmypy-requirements.txt
 DEBDEVPKGS=pep8 python-autopep8 pylint python-coverage pydocstyle sloccount \
 	   python-flake8 python-mock shellcheck
-VERSION=2.4.$(shell TZ=UTC git log --first-parent --max-count=1 \
+VERSION=2.5.$(shell TZ=UTC git log --first-parent --max-count=1 \
 	--format=format:%cd --date=format-local:%Y%m%d%H%M%S)
 
 ## all                    : default task (install in dev mode)


=====================================
PKG-INFO
=====================================
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: cwltest
-Version: 2.4.20240129145612
+Version: 2.5.20240304113812
 Summary: Common Workflow Language testing framework
 Author-email: Common workflow language working group <common-workflow-language at googlegroups.com>
 License: Apache 2.0


=====================================
cwltest.egg-info/PKG-INFO
=====================================
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: cwltest
-Version: 2.4.20240129145612
+Version: 2.5.20240304113812
 Summary: Common Workflow Language testing framework
 Author-email: Common workflow language working group <common-workflow-language at googlegroups.com>
 License: Apache 2.0


=====================================
cwltest/_version.py
=====================================
@@ -12,5 +12,5 @@ __version__: str
 __version_tuple__: VERSION_TUPLE
 version_tuple: VERSION_TUPLE
 
-__version__ = version = '2.4.20240129145612'
-__version_tuple__ = version_tuple = (2, 4, 20240129145612)
+__version__ = version = '2.5.20240304113812'
+__version_tuple__ = version_tuple = (2, 5, 20240304113812)


=====================================
cwltest/argparser.py
=====================================
@@ -1,4 +1,5 @@
 """Command line argument parsing for cwltest."""
+
 import argparse
 import sys
 from importlib.metadata import PackageNotFoundError, version


=====================================
cwltest/plugin.py
=====================================
@@ -1,4 +1,5 @@
 """Discovers CWL test files and converts them to pytest.Items."""
+
 import argparse
 import json
 import os
@@ -27,7 +28,6 @@ from cwltest import REQUIRED, UNSUPPORTED_FEATURE, logger, utils
 
 if TYPE_CHECKING:
     from _pytest._code.code import ExceptionInfo, _TracebackStyle
-    from _pytest.compat import LEGACY_PATH
     from _pytest.config import Config
     from _pytest.config import Config as PytestConfig
     from _pytest.config import PytestPluginManager
@@ -198,7 +198,7 @@ class CWLItem(pytest.Item):
 
     def reportinfo(self) -> Tuple[Union["os.PathLike[str]", str], Optional[int], str]:
         """Status report."""
-        return self.fspath, 0, "cwl test: %s" % self.name
+        return self.path, 0, "cwl test: %s" % self.name
 
 
 class CWLYamlFile(pytest.File):
@@ -342,7 +342,7 @@ def _doc_options() -> argparse.ArgumentParser:
 
 
 def pytest_collect_file(
-    file_path: Path, path: "LEGACY_PATH", parent: pytest.Collector
+    file_path: Path, parent: pytest.Collector
 ) -> Optional[pytest.Collector]:
     """Is this file for us."""
     if (


=====================================
dev-requirements.txt
=====================================
@@ -1,5 +1,5 @@
 diff_cover
-black ~= 24.1
+black ~= 24.2
 pylint
 pep257
 pydocstyle


=====================================
docs/pytest.rst
=====================================
@@ -2,8 +2,8 @@
 Pytest plugin
 *************
 
-``cwltest`` can also be used as a Pytest plugin. The CWL test filename must
-end with ``.cwltest.yml`` or ``.cwltest.yaml``.
+``cwltest`` can also be used as a Pytest 7.x or 8.x plugin. The CWL test
+filename must end with ``.cwltest.yml`` or ``.cwltest.yaml``.
 
 In this case, the simple command::
 


=====================================
tests/test_prepare.py
=====================================
@@ -1,4 +1,5 @@
 """Test prepare_test_command()"""
+
 import os
 
 from cwltest import utils


=====================================
tests/util.py
=====================================
@@ -1,4 +1,5 @@
 """Test functions."""
+
 import atexit
 import os
 import subprocess  # nosec



View it on GitLab: https://salsa.debian.org/med-team/cwltest/-/commit/d7ce88a5f0592835a45e4772057013898990e367

-- 
View it on GitLab: https://salsa.debian.org/med-team/cwltest/-/commit/d7ce88a5f0592835a45e4772057013898990e367
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240307/0026f440/attachment-0001.htm>


More information about the debian-med-commit mailing list