public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bids-schema] rawhide: Update to 2.0.0 (close RHBZ#2543948)
@ 2026-09-30 19:50 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-30 19:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/bids-schema
Branch : rawhide
Commit : 4b875b535b3aa9ad63e9e8e834756fc233c802b5
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-30T18:56:32+01:00
Stats : +26/-23 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/bids-schema/c/4b875b535b3aa9ad63e9e8e834756fc233c802b5?branch=rawhide
Log:
Update to 2.0.0 (close RHBZ#2543948)
---
diff --git a/bids-schema.spec b/bids-schema.spec
index 10bd207..e606e2c 100644
--- a/bids-schema.spec
+++ b/bids-schema.spec
@@ -3,11 +3,10 @@
%bcond check_jsonschema 0
Name: bids-schema
-Version: 1.2.7
+Version: 2.0.0
Release: %autorelease
Summary: BIDS schema description
-%global srcversion %(echo '%{version}' | tr '^' '.')
# Installation paths imitate the structure of
# https://github.com/bids-standard/bids-schema/ in case we start packaging from
# that in the future. Schemas are installed under directories versioned by the
@@ -16,7 +15,7 @@ Summary: BIDS schema description
# https://github.com/bids-standard/bids-schema/raw/refs/heads/main/…
# versions/%%{bidsversion}/schema/SCHEMA_VERSION
# should match or nearly match the schema version packaged here.
-%global bidsversion 1.10.1
+%global bidsversion 1.11.2
# The specification, and the schema data derived from it, are CC-BY-4.0.
#
@@ -27,7 +26,7 @@ License: CC-BY-4.0
SourceLicense: CC0-1.0 AND CC-BY-4.0 AND MIT
URL: https://github.com/bids-standard/bids-specification
# The PyPI sdist corresponds to the tools/schemacode directory in git.
-Source0: %{url}/archive/schema-%{srcversion}/bids-specification-schema-%{srcversion}.tar.gz
+Source0: %{url}/archive/schema-%{version}/bids-specification-schema-%{version}.tar.gz
# Tests would like to use the following datasets from
# https://github.com/bids-standard/bids-examples:
@@ -51,9 +50,9 @@ Source0: %{url}/archive/schema-%{srcversion}/bids-specification-schema-%{
# tools/schemacode/src/bidsschematools/conftest.py, which contains code to download
# these if they are not present.
%global examples_url https://github.com/bids-standard/bids-examples
-%global examples_commit 3c38fb4e6bb4c425147427f077e813e007303b9e
+%global examples_commit 7150efcf2c040465e9fcb6745f0b5aa4e84919c1
%global error_examples_url https://github.com/bids-standard/bids-error-examples
-%global error_examples_commit ac0a2f58f34ce284847dde5bd3b90d7ea048c141
+%global error_examples_commit dd3bb7c8fe29cfcd1b72f809e8e254b3f824260d
#
# We use a script to create archives containing only the test datasets that
# fall under clearly-acceptable content license terms *and* are used in the
@@ -142,9 +141,9 @@ Features:
%prep
-%autosetup -n bids-specification-schema-%{srcversion} -p1
-%setup -q -T -D -a 2 -c -n bids-specification-schema-%{srcversion}
-%setup -q -T -D -a 3 -c -n bids-specification-schema-%{srcversion}
+%autosetup -n bids-specification-schema-%{version} -p1
+%setup -q -T -D -a 2 -c -n bids-specification-schema-%{version}
+%setup -q -T -D -a 3 -c -n bids-specification-schema-%{version}
# Remove JavaScript sources used for building the specification documents
# (which we don’t do anyway); these include a bundled pre-compiled/minified
@@ -230,7 +229,7 @@ install -D --preserve-timestamps --mode 0644 \
%check -a
# Sanity check
verfile='%{_datadir}/bids-schema/versions/%{bidsversion}/schema/SCHEMA_VERSION'
-[ '%{srcversion}' = "$(cat "%{buildroot}${verfile}")" ]
+[ '%{version}' = "$(cat "%{buildroot}${verfile}")" ]
# These tests require example files that were filtered out for license reasons.
k="${k-}${k+ and }not test_bids_datasets[hcp_example_bids]"
@@ -250,6 +249,10 @@ ln --symbolic "${PWD}/bids-error-examples-%{error_examples_commit}" \
k="${k-}${k+ and }not test_valid_schema_with_check_jsonschema"
%endif
+# There’s no reason to test maintainer tools, especially ones that would bring
+# in additional dependencies.
+ignore="${ignore-} --ignore-glob=tools/tests/test_*.py"
+
%pytest ${ignore-} -k "${k-}" --verbose
diff --git a/bst-export-metaschema.1 b/bst-export-metaschema.1
index 357e7ba..206923f 100644
--- a/bst-export-metaschema.1
+++ b/bst-export-metaschema.1
@@ -1,4 +1,4 @@
-.TH BST\-EXPORT\-METASCHEMA "1" "February 2026" "" "User Commands"
+.TH BST\-EXPORT\-METASCHEMA "1" "September 2026" "" "User Commands"
.SH NAME
.B bst\ export\-metaschema
\(en Export BIDS schema to JSON document
@@ -9,7 +9,7 @@
.TP
.B \-\-output\ \fITEXT
.TP
-.B \-h\fR, \fB\-\-help
+.B \-\-help
Show a help message and exit
.SH "SEE ALSO"
.BR bst\-export (1),
diff --git a/bst-export.1 b/bst-export.1
index d062590..3b93cba 100644
--- a/bst-export.1
+++ b/bst-export.1
@@ -1,4 +1,4 @@
-.TH BST\-EXPORT "1" "February 2026" "" "User Commands"
+.TH BST\-EXPORT "1" "September 2026" "" "User Commands"
.SH NAME
.B bst\ export
\(en Export BIDS schema to JSON document
@@ -12,7 +12,7 @@ Path to the BIDS schema
.TP
.B \-\-output\ \fITEXT
.TP
-.B \-h\fR, \fB\-\-help
+.B \-\-help
Show a help message and exit
.SH "SEE ALSO"
.BR bst\-export\-metaschema (1),
diff --git a/bst-pre-receive-hook.1 b/bst-pre-receive-hook.1
index 1699477..59f6771 100644
--- a/bst-pre-receive-hook.1
+++ b/bst-pre-receive-hook.1
@@ -1,4 +1,4 @@
-.TH BST\-PRE\-RECEIVE\-HOOK "1" "February 2026" "" "User Commands"
+.TH BST\-PRE\-RECEIVE\-HOOK "1" "September 2026" "" "User Commands"
.SH NAME
.B bst\ pre\-receive\-hook
\(en Validate filenames from a list of files against the BIDS schema
@@ -48,7 +48,7 @@ Output file
(default:
.IR stdout )
.TP
-.B \-h\fR, \fB\-\-help
+.B \-\-help
Show a help message and exit
.SH "SEE ALSO"
.BR bst\-export (1),
diff --git a/bst.1 b/bst.1
index 0735517..0b86910 100644
--- a/bst.1
+++ b/bst.1
@@ -1,4 +1,4 @@
-.TH BST "1" "February 2026" "" "User Commands"
+.TH BST "1" "September 2026" "" "User Commands"
.SH NAME
.B bst
\(en BIDS Schema Tools
@@ -9,11 +9,11 @@
.RI [ ARGS ]...
.SH OPTIONS
.TP
-.B \-v\fR,\ \fB\-\-verbose
+.B \-v\fR, \fB\-\-verbose
.TP
-.B \-q\fR,\ \fB\-\-quiet
+.B \-q\fR, \fB\-\-quiet
.TP
-.B \-h\fR,\ \fB\-\-help
+.B \-\-help
Show a help message and exit.
.SS "COMMANDS"
.TP
diff --git a/sources b/sources
index 38a299e..bb9a64e 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (bids-specification-schema-1.2.7.tar.gz) = 344027fa67aaef0d7b32e22e51f431a4a3b61d13ec13ea39cd5c043cc1f9430820d1ff272eb5c26d8c6a047d4ade495d14fe781a408da2be737d543970cee601
-SHA512 (bids-examples-3c38fb4e6bb4c425147427f077e813e007303b9e-filtered.tar.zst) = 741da0b0a91bc69e984ff75b7ddbe110802eb11331f92a26e8a7754e14030104e607f183015b9ccb85e9168dffa60079eba24d48f39bae82da03c424e62799d0
-SHA512 (bids-error-examples-ac0a2f58f34ce284847dde5bd3b90d7ea048c141-filtered.tar.zst) = 41c1a170f87eaf2758b27d82a21654961a82f73d8057f3965332d6f06dbfb922231a45d1bf82f97a488309a94034544b83703612e965a881cb4a3cf0a5a4f36c
+SHA512 (bids-specification-schema-2.0.0.tar.gz) = a695235e3054cb49d02d7aae76fc43bad5da2d6fcea629807db981b18e48aafd70962c2d4e4145cb03ff9597b5e590017a6c6970f5b907836d0fa5904473ae9f
+SHA512 (bids-examples-7150efcf2c040465e9fcb6745f0b5aa4e84919c1-filtered.tar.zst) = c546adb9dea2149b4a8c1b7a47d57f7845b224a7764d89bdf0dc2b30dc8fb9bb683c92f9aeed18bc7177aafc5f7d44014caf73acf5061c43489e02d9fa09d0b6
+SHA512 (bids-error-examples-dd3bb7c8fe29cfcd1b72f809e8e254b3f824260d-filtered.tar.zst) = 4bcc26fc1bdc4af3883112ac39523173e8505095540775330bdf4d745645b3ac0197851fcd17b13ddda3aab81adb19684b3e73632fcb65dc4becf2387ac68c3b
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-30 19:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-30 19:50 [rpms/bids-schema] rawhide: Update to 2.0.0 (close RHBZ#2543948) Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox