Skip to content

Commit 536502d

Browse files
authored
Merge pull request #2170 from oscal-compass/develop
chore: Release
2 parents d965ee5 + 288a17f commit 536502d

File tree

7 files changed

+46
-30
lines changed

7 files changed

+46
-30
lines changed

.github/workflows/python-push.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@ jobs:
103103
if: steps.core-version.outputs.core == 'true'
104104
run: |
105105
make docs-validate
106+
- name: Recreate hatch test environment
107+
shell: bash
108+
run: |
109+
hatch env remove hatch-test.py${{ matrix.python-version }} 2>/dev/null || true
110+
hatch env create hatch-test.py${{ matrix.python-version }}
106111
- name: Pytest Fast
107112
if: steps.core-version.outputs.core != 'true'
108113
run: |
@@ -151,6 +156,11 @@ jobs:
151156
- name: gen OSCAL models
152157
run: |
153158
make gen-oscal
159+
- name: Recreate hatch test environment
160+
shell: bash
161+
run: |
162+
hatch env remove hatch-test.py${{ matrix.python-version }} 2>/dev/null || true
163+
hatch env create hatch-test.py${{ matrix.python-version }}
154164
- name: Run tests
155165
run: |
156166
make test

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,17 @@ A collection of demos utilizing trestle can be found in the related project [com
9393
### v4: stable (actively developed)
9494

9595
- supports NIST OSCAL 1.2.1 as well as previous versions
96+
- supports newly released Mapping Model
9697

9798
### v3: stable (maintenance mode)
9899

99100
- supports NIST OSCAL 1.1.3 as well as previous versions
101+
- limited support until June 30, 2026
100102

101103
### v2: stable (deprecated)
102104

103105
- supports NIST OSCAL 1.0.4 as well as previous versions
106+
- no longer supported
104107

105108
## Community meetings and communications
106109

docs/index.md

Lines changed: 10 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ Trestle provides tooling to help orchestrate the compliance process across a num
3737

3838
## Important Note:
3939

40-
The current version of trestle 3.x supports NIST OSCAL 1.1.2.
40+
The current version of trestle 4.x supports NIST OSCAL 1.2.1.
4141
Below shows trestle versions correspondence with OSCAL versions:
4242

4343
```
44+
trestle 4.x => OSCAL 1.2.1
4445
trestle 3.x => OSCAL 1.1.2
4546
trestle 2.x => OSCAL 1.0.4
4647
trestle 1.x => OSCAL 1.0.2
@@ -51,46 +52,28 @@ Visit [pypi](https://pypi.org/project/compliance-trestle/#history) for trestle r
5152

5253
## Notes for install of current and older versions of trestle
5354

54-
#### Install of trestle 3.x
55+
#### Install of trestle 4.x
5556

5657
Use python 3.11.
5758

5859
```
5960
python3.11 -m venv venv.trestle
6061
source venv.trestle/bin/activate
61-
pip install compliance-trestle==3.6.0
62-
trestle version
63-
Trestle version v3.6.0 based on OSCAL version 1.1.2
64-
```
65-
66-
#### Install of trestle 2.x
67-
68-
Use python 3.10 or higher.
69-
70-
```
71-
python3.10 -m venv venv.trestle
72-
source venv.trestle/bin/activate
73-
pip install compliance-trestle==2.6.0
62+
pip install compliance-trestle
7463
trestle version
75-
Trestle version v2.6.0 based on OSCAL version 1.0.4
64+
Trestle version v4.0.0 based on OSCAL version 1.2.1
7665
```
7766

78-
#### Install of trestle 1.x
79-
80-
Use python 3.9.
67+
#### Install of trestle 3.x
8168

82-
Due to dependency updates since the release of trestle 1.2.0, perform the following in your venv:
69+
Use python 3.11.
8370

8471
```
85-
python3.9 -m venv venv.trestle
72+
python3.11 -m venv venv.trestle
8673
source venv.trestle/bin/activate
87-
pip install compliance-trestle==1.2.0
88-
pip uninstall pydantic
89-
pip uninstall pydantic_core
90-
pip install pydantic==1.10.2
91-
pip install requests
74+
pip install compliance-trestle==3.6.0
9275
trestle version
93-
Trestle version v1.2.0 based on OSCAL version 1.0.2
76+
Trestle version v3.6.0 based on OSCAL version 1.1.2
9477
```
9578

9679
## Why Trestle
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: trestle.oscal.mapping
3+
description: Documentation for trestle.oscal.mapping module
4+
---
5+
6+
::: trestle.oscal.mapping
7+
handler: python
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: trestle.tasks.csv_to_oscal_mc
3+
description: Documentation for trestle.tasks.csv_to_oscal_mc module
4+
---
5+
6+
::: trestle.tasks.csv_to_oscal_mc
7+
handler: python
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: trestle.tasks.csv_to_oscal_mc_utilities
3+
description: Documentation for trestle.tasks.csv_to_oscal_mc_utilities module
4+
---
5+
6+
::: trestle.tasks.csv_to_oscal_mc_utilities
7+
handler: python

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ classifiers = [
2929
"Programming Language :: Python :: 3",
3030
"Programming Language :: Python :: 3.10",
3131
"Programming Language :: Python :: 3.11",
32-
"Programming Language :: Python :: 3.12",
33-
"Programming Language :: Python :: 3.13",
32+
"Programming Language :: Python :: 3.12"
3433
]
3534
dependencies = [
3635
"attrs",
@@ -128,7 +127,7 @@ dependencies = [
128127
]
129128

130129
[[tool.hatch.envs.hatch-test.matrix]]
131-
python = ["3.10", "3.11", "3.12", "3.13"]
130+
python = ["3.10", "3.11", "3.12"]
132131

133132
[tool.hatch.envs.docs]
134133
features = ["docs"]

0 commit comments

Comments
 (0)