Skip to content

Commit

Permalink
Release 1.0.0 (#1055)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
BenjaminBossan authored May 27, 2024
1 parent 8d2c0a5 commit bc198b9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.15.1dev
1.0.0
16 changes: 0 additions & 16 deletions skorch/tests/test_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
)
Expand Down

0 comments on commit bc198b9

Please sign in to comment.