Skip to content

Commit

Permalink
Merge pull request #409 from mj-will/prepare-v0.13.1
Browse files Browse the repository at this point in the history
Prepare v0.13.1
  • Loading branch information
mj-will authored Aug 8, 2024
2 parents ed688d1 + fbaa629 commit be2424c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.13.1]

### Changed

- Make tests that require `faiss` are optional in the test suite
(https://github.com/mj-will/nessai/pull/408)


## [0.13.0]

Expand Down Expand Up @@ -654,7 +661,8 @@ First public release.

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

[Unreleased]: https://github.com/mj-will/nessai/compare/v0.13.0...HEAD
[Unreleased]: https://github.com/mj-will/nessai/compare/v0.13.1...HEAD
[0.13.1]: https://github.com/mj-will/nessai/compare/v0.13.0...v0.13.1
[0.13.0]: https://github.com/mj-will/nessai/compare/v0.12.0...v0.13.0
[0.12.0]: https://github.com/mj-will/nessai/compare/v0.11.0...v0.12.0
[0.11.0]: https://github.com/mj-will/nessai/compare/v0.10.1...v0.11.0
Expand Down
2 changes: 2 additions & 0 deletions tests/test_experimental/test_flowmodel/test_clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ def cfm():
return create_autospec(CFM)


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


@pytest.mark.requires("faiss")
@pytest.mark.integration_test
def test_clustering_integration(tmp_path, caplog):
caplog.set_level("DEBUG")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from nessai.experimental.proposal.clustering import ClusteringFlowProposal


@pytest.mark.requires("faiss")
@pytest.mark.slow_integration_test
def test_sampling_with_clusteringflowproposal(integration_model, tmp_path):
fp = FlowSampler(
Expand Down

0 comments on commit be2424c

Please sign in to comment.