From bc198b90432e797d36e5237ed423ea2b38b64dc9 Mon Sep 17 00:00:00 2001 From: Benjamin Bossan Date: Mon, 27 May 2024 16:00:03 +0200 Subject: [PATCH] Release 1.0.0 (#1055) * Update version * Update CHANGES.md * Remove test skip for old PyTorch versions Only needed for PyTorch 1.11 and lower, which are no longer supported in the CI. Release message: The 1.0.0 release of skorch is here. We think that skorch is at a very stable point, which is why a 1.0.0 release is appropriate. There are no plans to add any breaking changes or major revisions in the future. Instead, our focus now is to keep skorch up-to-date with the latest versions of PyTorch and scikit-learn, and to fix any bugs that may arise. --- CHANGES.md | 5 +++++ VERSION | 2 +- skorch/tests/test_history.py | 16 ---------------- 3 files changed, 6 insertions(+), 17 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index b045e4e12..9302faa40 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed ### Fixed +## [1.0.0] - 2024-05-27 + +The 1.0.0 release of skorch is here. We think that skorch is at a very stable point, which is why a 1.0.0 release is appropriate. There are no plans to add any breaking changes or major revisions in the future. Instead, our focus now is to keep skorch up-to-date with the latest versions of PyTorch and scikit-learn, and to fix any bugs that may arise. + ## [0.15.0] - 2023-09-04 ### Added @@ -344,3 +348,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [0.13.0]: https://github.com/skorch-dev/skorch/compare/v0.12.1...v0.13.0 [0.14.0]: https://github.com/skorch-dev/skorch/compare/v0.13.0...v0.14.0 [0.15.0]: https://github.com/skorch-dev/skorch/compare/v0.14.0...v0.15.0 +[1.0.0]: https://github.com/skorch-dev/skorch/compare/v0.15.0...v1.0.0 diff --git a/VERSION b/VERSION index f904ff5e1..3eefcb9dd 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.15.1dev +1.0.0 diff --git a/skorch/tests/test_history.py b/skorch/tests/test_history.py index 83cff2462..f9f1d6d05 100644 --- a/skorch/tests/test_history.py +++ b/skorch/tests/test_history.py @@ -27,14 +27,6 @@ def history_cls(self, request): return History if request.param == 'distributed': - # TODO: remove this once PyTorch 1.11 is no longer supported - version_torch = Version(torch.__version__) - if version_torch < Version('1.12.0'): - # Tests with DistributedHistory are flaky with PyTorch 1.11 and when - # using pytest on CI. Running directly, i.e. without pytest, does - # not appear to cause issues. - pytest.skip(msg="Skipping multiprocessing for PyTorch < 1.12") - store = TCPStore("127.0.0.1", port=1234, world_size=1, is_master=True) return partial( DistributedHistory, store=store, rank=0, world_size=1 @@ -439,14 +431,6 @@ def test_distributed_history(self, nprocs): from skorch.toy import make_classifier from skorch._version import Version - # TODO: remove this once PyTorch 1.11 is no longer supported - version_torch = Version(torch.__version__) - if version_torch < Version('1.12.0'): - # Tests with DistributedHistory are flaky with PyTorch 1.11 and when - # using pytest on CI. Running directly, i.e. without pytest, does - # not appear to cause issues. - pytest.skip(msg="Skipping multiprocessing for PyTorch < 1.12") - X, y = make_classification( 500, 20, n_informative=10, random_state=0, flip_y=0.1 )