[med-svn] [Git][med-team/cwltest][master] 4 commits: routine-update: New upstream version
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Thu Sep 12 15:55:17 BST 2024
Michael R. Crusoe pushed to branch master at Debian Med / cwltest
Commits:
7cc731e4 by Michael R. Crusoe at 2024-09-12T15:42:51+02:00
routine-update: New upstream version
- - - - -
ba2d523f by Michael R. Crusoe at 2024-09-12T15:42:52+02:00
New upstream version 2.5.20240906231108
- - - - -
7dac2615 by Michael R. Crusoe at 2024-09-12T15:42:53+02:00
Update upstream source from tag 'upstream/2.5.20240906231108'
Update to upstream version '2.5.20240906231108'
with Debian dir 7353995c59f0a5c237518fa3de8c797ff14a634a
- - - - -
90192dc9 by Michael R. Crusoe at 2024-09-12T15:43:35+02:00
routine-update: Ready to upload to unstable
- - - - -
13 changed files:
- .github/workflows/ci-tests.yml
- PKG-INFO
- README.rst
- cwltest.egg-info/PKG-INFO
- cwltest/_version.py
- cwltest/main.py
- cwltest/plugin.py
- cwltest/utils.py
- debian/changelog
- dev-requirements.txt
- mypy-requirements.txt
- pyproject.toml
- tox.ini
Changes:
=====================================
.github/workflows/ci-tests.yml
=====================================
@@ -18,10 +18,11 @@ jobs:
runs-on: ubuntu-20.04 # 22.04 doesn't support Python 3.6
strategy:
+ fail-fast: false
matrix:
# The README.rst file mentions the versions tested, please update it as well
py-ver-major: [3]
- py-ver-minor: [8, 9, 10, 11, 12]
+ py-ver-minor: [8, 9, 10, 11, 12, 13]
step: [lint, unit, mypy, bandit]
env:
@@ -37,6 +38,7 @@ jobs:
uses: actions/setup-python at v5
with:
python-version: ${{ env.py-semver }}
+ allow-prereleases: true
cache: pip
cache-dependency-path: |
requirements.txt
=====================================
PKG-INFO
=====================================
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: cwltest
-Version: 2.5.20240714110256
+Version: 2.5.20240906231108
Summary: Common Workflow Language testing framework
Author-email: Common workflow language working group <common-workflow-language at googlegroups.com>
License: Apache 2.0
@@ -17,8 +17,9 @@ Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
+Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
-Requires-Python: <3.13,>=3.8
+Requires-Python: <3.14,>=3.8
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: schema-salad<9,>=5.0.20200220195218
@@ -63,7 +64,7 @@ This is a testing tool for checking the output of Tools and Workflows described
with the Common Workflow Language. Among other uses, it is used to run the CWL
conformance tests.
-This is written and tested for Python 3.8, 3.9, 3.10, 3.11, and 3.12.
+This is written and tested for Python 3.8, 3.9, 3.10, 3.11, 3.12, and 3.13.
.. contents:: Table of Contents
:local:
=====================================
README.rst
=====================================
@@ -32,7 +32,7 @@ This is a testing tool for checking the output of Tools and Workflows described
with the Common Workflow Language. Among other uses, it is used to run the CWL
conformance tests.
-This is written and tested for Python 3.8, 3.9, 3.10, 3.11, and 3.12.
+This is written and tested for Python 3.8, 3.9, 3.10, 3.11, 3.12, and 3.13.
.. contents:: Table of Contents
:local:
=====================================
cwltest.egg-info/PKG-INFO
=====================================
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: cwltest
-Version: 2.5.20240714110256
+Version: 2.5.20240906231108
Summary: Common Workflow Language testing framework
Author-email: Common workflow language working group <common-workflow-language at googlegroups.com>
License: Apache 2.0
@@ -17,8 +17,9 @@ Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
+Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
-Requires-Python: <3.13,>=3.8
+Requires-Python: <3.14,>=3.8
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: schema-salad<9,>=5.0.20200220195218
@@ -63,7 +64,7 @@ This is a testing tool for checking the output of Tools and Workflows described
with the Common Workflow Language. Among other uses, it is used to run the CWL
conformance tests.
-This is written and tested for Python 3.8, 3.9, 3.10, 3.11, and 3.12.
+This is written and tested for Python 3.8, 3.9, 3.10, 3.11, 3.12, and 3.13.
.. contents:: Table of Contents
:local:
=====================================
cwltest/_version.py
=====================================
@@ -12,5 +12,5 @@ __version__: str
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE
-__version__ = version = '2.5.20240714110256'
-__version_tuple__ = version_tuple = (2, 5, 20240714110256)
+__version__ = version = '2.5.20240906231108'
+__version_tuple__ = version_tuple = (2, 5, 20240906231108)
=====================================
cwltest/main.py
=====================================
@@ -4,7 +4,7 @@
import argparse
import os
import sys
-from collections import defaultdict
+from collections import Counter, defaultdict
from concurrent.futures import ThreadPoolExecutor
from typing import Dict, List, Optional, Set, cast
@@ -116,7 +116,7 @@ def main() -> int:
suite_name, _ = os.path.splitext(os.path.basename(args.test))
report: Optional[junit_xml.TestSuite] = junit_xml.TestSuite(suite_name, [])
- ntotal: Dict[str, int] = defaultdict(int)
+ ntotal: Dict[str, int] = Counter()
npassed: Dict[str, List[CWLTestReport]] = defaultdict(list)
if args.only_tools:
=====================================
cwltest/plugin.py
=====================================
@@ -28,7 +28,7 @@ from cwltest.compare import CompareFail, compare
from cwltest import REQUIRED, UNSUPPORTED_FEATURE, logger, utils
if TYPE_CHECKING:
- from _pytest._code.code import ExceptionInfo, _TracebackStyle
+ from _pytest._code.code import ExceptionInfo, TracebackStyle
from _pytest.config import Config
from _pytest.config import Config as PytestConfig
from _pytest.config import PytestPluginManager
@@ -207,7 +207,7 @@ class CWLItem(pytest.Item):
def repr_failure(
self,
excinfo: "ExceptionInfo[BaseException]",
- style: Optional["_TracebackStyle"] = None,
+ style: Optional["TracebackStyle"] = None,
) -> str:
"""
Document failure reason.
=====================================
cwltest/utils.py
=====================================
@@ -7,7 +7,7 @@ import subprocess # nosec
import sys
import tempfile
import time
-from collections import defaultdict
+from collections import Counter, defaultdict
from typing import (
Any,
Dict,
@@ -314,7 +314,7 @@ def parse_results(
passed = 0
failures = 0
unsupported = 0
- ntotal: Dict[str, int] = defaultdict(int)
+ ntotal: Dict[str, int] = Counter()
nfailures: Dict[str, List[CWLTestReport]] = defaultdict(list)
nunsupported: Dict[str, List[CWLTestReport]] = defaultdict(list)
npassed: Dict[str, List[CWLTestReport]] = defaultdict(list)
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+cwltest (2.5.20240906231108-1) unstable; urgency=medium
+
+ * New upstream version
+
+ -- Michael R. Crusoe <crusoe at debian.org> Thu, 12 Sep 2024 15:43:35 +0200
+
cwltest (2.5.20240714110256-1) unstable; urgency=medium
* New upstream version
=====================================
dev-requirements.txt
=====================================
@@ -1,5 +1,5 @@
diff_cover
-black ~= 24.4
+black ~= 24.8
pylint
pep257
pydocstyle
=====================================
mypy-requirements.txt
=====================================
@@ -1,4 +1,5 @@
-mypy==1.10.1
+mypy==1.11.2
+pytest >= 8.3, < 9
types-setuptools
types-requests
types-PyYAML
=====================================
pyproject.toml
=====================================
@@ -22,9 +22,10 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
+ "Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
-requires-python = ">=3.8,<3.13"
+requires-python = ">=3.8,<3.14"
dynamic = ["version", "dependencies"]
[project.readme]
=====================================
tox.ini
=====================================
@@ -1,9 +1,9 @@
[tox]
envlist =
- py3{8,9,10,11,12}-lint,
- py3{8,9,10,11,12}-unit,
- py3{8,9,10,11,12}-bandit,
- py3{8,9,10,11,12}-mypy,
+ py3{8,9,10,11,12,13}-lint,
+ py3{8,9,10,11,12,13}-unit,
+ py3{8,9,10,11,12,13}-bandit,
+ py3{8,9,10,11,12,13}-mypy,
py312-lintreadme,
py312-pydocstyle
@@ -22,16 +22,17 @@ python =
3.10: py310
3.11: py311
3.12: py312
+ 3.13: py313
[testenv]
skipsdist =
- py3{8,9,10,11,12}-!{unit,mypy,lintreadme} = True
+ py3{8,9,10,11,12,13}-!{unit,mypy,lintreadme} = True
description =
- py3{8,9,10,11,12}-unit: Run the unit tests
- py3{8,9,10,11,12}-lint: Lint the Python code
- py3{8,9,10,11,12}-bandit: Search for common security issues
- py3{8,9,10,11,12}-mypy: Check for type safety
+ py3{8,9,10,11,12,13}-unit: Run the unit tests
+ py3{8,9,10,11,12,13}-lint: Lint the Python code
+ py3{8,9,10,11,12,13}-bandit: Search for common security issues
+ py3{8,9,10,11,12,13}-mypy: Check for type safety
py312-pydocstyle: docstring style checker
py312-lintreadme: Lint the README.rst->.md conversion
@@ -40,36 +41,36 @@ passenv =
GITHUB_*
deps =
- py3{8,9,10,11,12}-{unit,mypy}: -rrequirements.txt
- py3{8,9,10,11,12}-{unit,mypy}: -rtest-requirements.txt
- py3{8,9,10,11,12}-lint: flake8-bugbear
- py3{8,9,10,11,12}-lint: black~=23.1
- py3{8,9,10,11,12}-bandit: bandit
- py3{8,9,10,11,12}-mypy: -rmypy-requirements.txt
+ py3{8,9,10,11,12,13}-{unit,mypy}: -rrequirements.txt
+ py3{8,9,10,11,12,13}-{unit,mypy}: -rtest-requirements.txt
+ py3{8,9,10,11,12,13}-lint: flake8-bugbear
+ py3{8,9,10,11,12,13}-lint: black~=23.1
+ py3{8,9,10,11,12,13}-bandit: bandit
+ py3{8,9,10,11,12,13}-mypy: -rmypy-requirements.txt
set_env =
- py3{8,3,10,11,12}-unit: LC_ALL = C.UTF-8
+ py3{8,3,10,11,12,13}-unit: LC_ALL = C.UTF-8
COV_CORE_SOURCE=cwltest
COV_CORE_CONFIG={toxinidir}/.coveragerc
COV_CORE_DATAFILE={toxinidir}/.coverage.eager
commands =
- py3{8,9,10,11,12}-unit: python -m pip install -U pip setuptools wheel
- py3{8,9,10,11,12}-unit: python -m pytest --cov --cov-config={toxinidir}/.coveragerc --cov-append {posargs}
- py3{8,9,10,11,12}-unit: coverage xml
- py3{8,9,10,11,12}-bandit: bandit --recursive cwltest
- py3{8,9,10,11,12}-lint: make flake8
- py3{8,9,10,11,12}-lint: make format-check
- py3{8,9,10,11,12}-mypy: make mypy
+ py3{8,9,10,11,12,13}-unit: python -m pip install -U pip setuptools wheel
+ py3{8,9,10,11,12,13}-unit: python -m pytest --cov --cov-config={toxinidir}/.coveragerc --cov-append {posargs}
+ py3{8,9,10,11,12,13}-unit: coverage xml
+ py3{8,9,10,11,12,13}-bandit: bandit --recursive cwltest
+ py3{8,9,10,11,12,13}-lint: make flake8
+ py3{8,9,10,11,12,13}-lint: make format-check
+ py3{8,9,10,11,12,13}-mypy: make mypy
allowlist_externals =
- py3{8,9,10,11,12}-lint: flake8
- py3{8,9,10,11,12}-lint: black
- py3{8,9,10,11,12}-{mypy,shellcheck,lint,unit}: make
+ py3{8,9,10,11,12,13}-lint: flake8
+ py3{8,9,10,11,12,13}-lint: black
+ py3{8,9,10,11,12,13}-{mypy,shellcheck,lint,unit}: make
skip_install =
- py3{8,9,10,11,12}-lint: true
- py3{8,9,10,11,12}-bandit: true
+ py3{8,9,10,11,12,13}-lint: true
+ py3{8,9,10,11,12,13}-bandit: true
[testenv:py312-pydocstyle]
View it on GitLab: https://salsa.debian.org/med-team/cwltest/-/compare/fc6a8f332e80a9fa3501fe5836a981cefa5c5b91...90192dc98c8410efc919a59e02bcc9b3d77f7e1c
--
View it on GitLab: https://salsa.debian.org/med-team/cwltest/-/compare/fc6a8f332e80a9fa3501fe5836a981cefa5c5b91...90192dc98c8410efc919a59e02bcc9b3d77f7e1c
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/20240912/f307c00c/attachment-0001.htm>
More information about the debian-med-commit
mailing list