python3Packages.schema-salad: 8.10.20260825112551 -> 8.10.20261106141337 (#585185)

This commit is contained in:
Fabian Affolter
2026-11-09 00:27:08 +00:00
committed by GitHub
2 changed files with 22 additions and 35 deletions

View File

@@ -7,21 +7,21 @@
python3Packages.buildPythonApplication (finalAttrs: {
pname = "cwltool";
version = "3.2.20260720092025";
version = "3.3.20261106131234";
pyproject = true;
src = fetchFromGitHub {
owner = "common-workflow-language";
repo = "cwltool";
tag = finalAttrs.version;
hash = "sha256-88u6DzBxfK4DvNUOZqIocm7Pf11QJJ9XnyUUTERYIBQ=";
hash = "sha256-oN64oZjivhlRdJtt+MSnwL+2eo159WbXQZvXycdryjA=";
};
postPatch = ''
substituteInPlace setup.py \
--replace-fail "PYTEST_RUNNER + " ""
substituteInPlace pyproject.toml \
--replace-fail "mypy==2.1.0" "mypy"
--replace-fail "mypy==2.4.1" "mypy"
'';
pythonRelaxDeps = [
@@ -71,6 +71,10 @@ python3Packages.buildPythonApplication (finalAttrs: {
"test_env_filtering"
"test_http_path_mapping"
"test_modification_date"
# Assertion errors
"test_bare_listing"
"test_main_parsed_args_provenance"
"test_bare_listing_null_return"
];
disabledTestPaths = [

View File

@@ -1,51 +1,40 @@
{
lib,
ast-serialize,
black,
buildPythonPackage,
black,
cachecontrol,
fetchFromGitHub,
hatch-vcs,
hatchling,
mistune,
mypy-extensions,
mypy,
pytest-xdist,
pytestCheckHook,
rdflib,
requests,
rich-argparse,
ruamel-yaml,
setuptools-scm,
types-dataclasses,
types-requests,
types-setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "schema-salad";
version = "8.10.20260825112551";
version = "8.10.20261106141337";
pyproject = true;
src = fetchFromGitHub {
owner = "common-workflow-language";
repo = "schema_salad";
tag = finalAttrs.version;
hash = "sha256-KQfrJd/TbW3LQzJ5Bm65srpyjhouZ9iohwYCMM8TCVg=";
hash = "sha256-dd1ZmD0BsJhRkNfdYr2B5ifkHwJH8Heq5umvjzqLFjg=";
};
pythonRelaxDeps = [ "mistune" ];
postPatch = ''
substituteInPlace setup.py \
--replace-fail 'pytest_runner + ["setuptools_scm>=8.0.4,<11"]' '["setuptools_scm"]'
substituteInPlace pyproject.toml \
--replace-fail '"setuptools_scm[toml]>=8.0.4,<11"' '"setuptools_scm[toml]"' \
--replace-fail "mypy[mypyc]==2.3.1" "mypy"
sed -i "/black>=/d" pyproject.toml
'';
build-system = [ setuptools-scm ];
build-system = [
hatch-vcs
hatchling
];
dependencies = [
ast-serialize
cachecontrol
mistune
mypy
@@ -54,21 +43,19 @@ buildPythonPackage (finalAttrs: {
requests
rich-argparse
ruamel-yaml
types-dataclasses
types-requests
types-setuptools
]
++ cachecontrol.optional-dependencies.filecache;
optional-dependencies = {
pycodegen = [ black ];
};
nativeCheckInputs = [
pytest-xdist
pytestCheckHook
]
++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies);
preCheck = ''
rm tox.ini
'';
disabledTests = [
"test_load_by_yaml_metaschema"
"test_detect_changes_in_html"
@@ -82,10 +69,6 @@ buildPythonPackage (finalAttrs: {
pythonImportsCheck = [ "schema_salad" ];
optional-dependencies = {
pycodegen = [ black ];
};
meta = {
description = "Semantic Annotations for Linked Avro Data";
homepage = "https://github.com/common-workflow-language/schema_salad";