Skip to content

Commit be2424c

Browse files
authored
Merge pull request #409 from mj-will/prepare-v0.13.1
Prepare v0.13.1
2 parents ed688d1 + fbaa629 commit be2424c

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.13.1]
11+
12+
### Changed
13+
14+
- Make tests that require `faiss` are optional in the test suite
15+
(https://github.com/mj-will/nessai/pull/408)
16+
1017

1118
## [0.13.0]
1219

@@ -654,7 +661,8 @@ First public release.
654661

655662
- Original `GWFlowProposal` method renamed to `LegacyGWFlowProposal`. Will be removed in the next release.
656663

657-
[Unreleased]: https://github.com/mj-will/nessai/compare/v0.13.0...HEAD
664+
[Unreleased]: https://github.com/mj-will/nessai/compare/v0.13.1...HEAD
665+
[0.13.1]: https://github.com/mj-will/nessai/compare/v0.13.0...v0.13.1
658666
[0.13.0]: https://github.com/mj-will/nessai/compare/v0.12.0...v0.13.0
659667
[0.12.0]: https://github.com/mj-will/nessai/compare/v0.11.0...v0.12.0
660668
[0.11.0]: https://github.com/mj-will/nessai/compare/v0.10.1...v0.11.0

tests/test_experimental/test_flowmodel/test_clustering.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ def cfm():
99
return create_autospec(CFM)
1010

1111

12+
@pytest.mark.requires("faiss")
1213
def test_init(cfm, tmp_path, caplog):
1314
caplog.set_level("DEBUG")
1415
flow_config = {}
@@ -30,6 +31,7 @@ def test_init(cfm, tmp_path, caplog):
3031
assert "faiss version" in str(caplog.text)
3132

3233

34+
@pytest.mark.requires("faiss")
3335
@pytest.mark.integration_test
3436
def test_clustering_integration(tmp_path, caplog):
3537
caplog.set_level("DEBUG")

tests/test_experimental/test_sampling/test_starndard_sampling.py renamed to tests/test_experimental/test_sampling/test_standard_sampling.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from nessai.experimental.proposal.clustering import ClusteringFlowProposal
55

66

7+
@pytest.mark.requires("faiss")
78
@pytest.mark.slow_integration_test
89
def test_sampling_with_clusteringflowproposal(integration_model, tmp_path):
910
fp = FlowSampler(

0 commit comments

Comments
 (0)