[med-svn] [Git][med-team/cwltest][master] 4 commits: routine-update: New upstream version
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Thu Mar 7 13:54:33 GMT 2024
Michael R. Crusoe pushed to branch master at Debian Med / cwltest
Commits:
70ecb639 by Michael R. Crusoe at 2024-03-07T14:19:09+01:00
routine-update: New upstream version
- - - - -
d7ce88a5 by Michael R. Crusoe at 2024-03-07T14:19:10+01:00
New upstream version 2.5.20240304113812
- - - - -
0563776e by Michael R. Crusoe at 2024-03-07T14:19:10+01:00
Update upstream source from tag 'upstream/2.5.20240304113812'
Update to upstream version '2.5.20240304113812'
with Debian dir d947ec6b4a23a504b2757b4d3bffc7b81e201e29
- - - - -
fc8ebcf8 by Michael R. Crusoe at 2024-03-07T14:29:37+01:00
routine-update: Ready to upload to unstable
- - - - -
11 changed files:
- Makefile
- PKG-INFO
- cwltest.egg-info/PKG-INFO
- cwltest/_version.py
- cwltest/argparser.py
- cwltest/plugin.py
- debian/changelog
- 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 (
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+cwltest (2.5.20240304113812-1) unstable; urgency=medium
+
+ * New upstream version
+
+ -- Michael R. Crusoe <crusoe at debian.org> Thu, 07 Mar 2024 14:19:22 +0100
+
cwltest (2.4.20240129145612-1) unstable; urgency=medium
* New upstream version
=====================================
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/-/compare/b8cc729cd7db75d9de2e57074a1b882bd6cdfe70...fc8ebcf89c6d01b1f935e167cdca460a8464aef4
--
View it on GitLab: https://salsa.debian.org/med-team/cwltest/-/compare/b8cc729cd7db75d9de2e57074a1b882bd6cdfe70...fc8ebcf89c6d01b1f935e167cdca460a8464aef4
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/f24bdc05/attachment-0001.htm>
More information about the debian-med-commit
mailing list