From 8f88ab9f45d0a2eb842573be7fb6e9de8dfa44b0 Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Sun, 21 Jul 2024 13:14:52 -0300
Subject: [PATCH 1/8] To v0.3.6
---
docs/sphinx/source/api/Contributors.md | 2 +-
src/modelspec/__init__.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/sphinx/source/api/Contributors.md b/docs/sphinx/source/api/Contributors.md
index 6609545..2db86ed 100644
--- a/docs/sphinx/source/api/Contributors.md
+++ b/docs/sphinx/source/api/Contributors.md
@@ -3,7 +3,7 @@
# Modelspec contributors
This page list names and Github profiles of contributors to Modelspec, listed in no particular order.
-This page is generated periodically, most recently on 2024-06-18.
+This page is generated periodically, most recently on 2024-07-21.
- Padraig Gleeson ([@pgleeson](https://github.com/pgleeson))
- Manifest Chakalov ([@mqnifestkelvin](https://github.com/mqnifestkelvin))
diff --git a/src/modelspec/__init__.py b/src/modelspec/__init__.py
index d397ba8..e791326 100644
--- a/src/modelspec/__init__.py
+++ b/src/modelspec/__init__.py
@@ -1,4 +1,4 @@
-__version__ = "0.3.5"
+__version__ = "0.3.6"
from .base_types import Base, define, has, field, fields, optional, instance_of, in_
From 2793acf1e4f409269672a6e29f892e92de798bbb Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Tue, 24 Sep 2024 15:48:13 +0100
Subject: [PATCH 2/8] Regenerated to test
---
docs/sphinx/source/api/Contributors.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/sphinx/source/api/Contributors.md b/docs/sphinx/source/api/Contributors.md
index 2db86ed..8bbdb66 100644
--- a/docs/sphinx/source/api/Contributors.md
+++ b/docs/sphinx/source/api/Contributors.md
@@ -3,7 +3,7 @@
# Modelspec contributors
This page list names and Github profiles of contributors to Modelspec, listed in no particular order.
-This page is generated periodically, most recently on 2024-07-21.
+This page is generated periodically, most recently on 2024-09-24.
- Padraig Gleeson ([@pgleeson](https://github.com/pgleeson))
- Manifest Chakalov ([@mqnifestkelvin](https://github.com/mqnifestkelvin))
From 0992eaa7a0cac91618c257697ca62d587d60c11d Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Wed, 6 Nov 2024 17:01:59 +0000
Subject: [PATCH 3/8] Updated contributors
---
docs/sphinx/source/api/Contributors.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/sphinx/source/api/Contributors.md b/docs/sphinx/source/api/Contributors.md
index 8bbdb66..8fcb9cc 100644
--- a/docs/sphinx/source/api/Contributors.md
+++ b/docs/sphinx/source/api/Contributors.md
@@ -3,7 +3,7 @@
# Modelspec contributors
This page list names and Github profiles of contributors to Modelspec, listed in no particular order.
-This page is generated periodically, most recently on 2024-09-24.
+This page is generated periodically, most recently on 2024-11-06.
- Padraig Gleeson ([@pgleeson](https://github.com/pgleeson))
- Manifest Chakalov ([@mqnifestkelvin](https://github.com/mqnifestkelvin))
From 8ae1546ab7465c1fb3ec01fc3106a2400601f358 Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Wed, 11 Dec 2024 18:41:47 +0000
Subject: [PATCH 4/8] Add script for testing test_all.sh
---
.github/workflows/ci_test_all.yml | 43 +++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
create mode 100644 .github/workflows/ci_test_all.yml
diff --git a/.github/workflows/ci_test_all.yml b/.github/workflows/ci_test_all.yml
new file mode 100644
index 0000000..6a00fe3
--- /dev/null
+++ b/.github/workflows/ci_test_all.yml
@@ -0,0 +1,43 @@
+name: Test all script
+
+on:
+ push:
+ branches: [ main, development, experimental, test* ]
+ pull_request:
+ branches: [ main, development, experimental, test* ]
+
+jobs:
+
+ build:
+ name: Testing on ${{ matrix.runs-on }}
+ runs-on: ${{ matrix.runs-on }}
+ strategy:
+ fail-fast: false
+ matrix:
+ runs-on: [ubuntu-latest, macos-latest, windows-latest]
+
+ steps:
+ - uses: actions/checkout@v4
+ - name: Set up Python
+ uses: actions/setup-python@v5
+
+ - name: Install HDF5 for pytables on macos-14
+ if: ${{ matrix.runs-on == 'macos-latest' }}
+ run: |
+ brew install hdf5
+
+ - name: Install & test package
+ run: |
+ python -m pip install --upgrade pip
+ # pip install 'numpy<2.0.0' # due to lingering issues with other modules & numpy...
+ ./test_all.sh
+
+
+
+
+
+
+ - name: Final version info
+ run: |
+ pip list
+ env
From 847d888c3f9349d033b1449b47b3fbbb746b146a Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Wed, 18 Dec 2024 17:22:57 +0000
Subject: [PATCH 5/8] Minor update
---
.github/workflows/ci_test_all.yml | 4 ++--
docs/sphinx/source/api/Contributors.md | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/ci_test_all.yml b/.github/workflows/ci_test_all.yml
index 6a00fe3..a8afa9e 100644
--- a/.github/workflows/ci_test_all.yml
+++ b/.github/workflows/ci_test_all.yml
@@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- - name: Set up Python
+ - name: Set up Python
uses: actions/setup-python@v5
- name: Install HDF5 for pytables on macos-14
@@ -31,7 +31,7 @@ jobs:
python -m pip install --upgrade pip
# pip install 'numpy<2.0.0' # due to lingering issues with other modules & numpy...
./test_all.sh
-
+
diff --git a/docs/sphinx/source/api/Contributors.md b/docs/sphinx/source/api/Contributors.md
index 8fcb9cc..1f2dcfd 100644
--- a/docs/sphinx/source/api/Contributors.md
+++ b/docs/sphinx/source/api/Contributors.md
@@ -3,7 +3,7 @@
# Modelspec contributors
This page list names and Github profiles of contributors to Modelspec, listed in no particular order.
-This page is generated periodically, most recently on 2024-11-06.
+This page is generated periodically, most recently on 2024-12-18.
- Padraig Gleeson ([@pgleeson](https://github.com/pgleeson))
- Manifest Chakalov ([@mqnifestkelvin](https://github.com/mqnifestkelvin))
From 96e10527ae95e6ad23b2e78688bdabe870d6e020 Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Wed, 18 Dec 2024 17:47:36 +0000
Subject: [PATCH 6/8] Also install omv
---
.github/workflows/ci_test_all.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci_test_all.yml b/.github/workflows/ci_test_all.yml
index a8afa9e..6b09af5 100644
--- a/.github/workflows/ci_test_all.yml
+++ b/.github/workflows/ci_test_all.yml
@@ -30,10 +30,10 @@ jobs:
run: |
python -m pip install --upgrade pip
# pip install 'numpy<2.0.0' # due to lingering issues with other modules & numpy...
- ./test_all.sh
-
+ pip install OSBModelValidation
+ ./test_all.sh
From babab5331ef5db3030f8e078dade57696837796d Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Wed, 18 Dec 2024 17:53:15 +0000
Subject: [PATCH 7/8] Make sure error code not thrown
---
test_all.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test_all.sh b/test_all.sh
index 1c2951f..46e29f2 100755
--- a/test_all.sh
+++ b/test_all.sh
@@ -54,4 +54,4 @@ cd ..
## Format all file
-pre-commit run --all-files
+/bin/bash -c 'pre-commit run --all-files; echo Finished running pre-commit!' # Note: prevents error code when reformatting
From 0d21fcbf84d0062f2b46cce84cc1bb6f1221f6ea Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Wed, 5 Feb 2025 09:05:24 +0000
Subject: [PATCH 8/8] Tweak contribs
---
docs/sphinx/source/api/Contributors.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/sphinx/source/api/Contributors.md b/docs/sphinx/source/api/Contributors.md
index 1f2dcfd..a64b613 100644
--- a/docs/sphinx/source/api/Contributors.md
+++ b/docs/sphinx/source/api/Contributors.md
@@ -3,7 +3,7 @@
# Modelspec contributors
This page list names and Github profiles of contributors to Modelspec, listed in no particular order.
-This page is generated periodically, most recently on 2024-12-18.
+This page is generated periodically, most recently on 2025-02-05.
- Padraig Gleeson ([@pgleeson](https://github.com/pgleeson))
- Manifest Chakalov ([@mqnifestkelvin](https://github.com/mqnifestkelvin))