Skip to content

Release 1.3.0#1124

Merged
BenjaminBossan merged 6 commits intomasterfrom
release-1.3.0
Nov 19, 2025
Merged

Release 1.3.0#1124
BenjaminBossan merged 6 commits intomasterfrom
release-1.3.0

Conversation

@BenjaminBossan
Copy link
Copy Markdown
Collaborator

@BenjaminBossan BenjaminBossan commented Nov 18, 2025

  • Bump version
  • Since torch 2.5 is dropped, we can assume that weights_only=True
  • No longer check for torch.compile availability, it's been available for long enough
  • Unrelated to release: New pytest raises an error because of an incorrect application of @pytest.mark.skipif, this was resolved
  • Unrelated to release: sacred import raises an error if pandas is not installed, this is now token into account
Since we no longer support torch <= v2.5.0
By now, everyone should have sufficiently recent torch.
For a pandas-related fixture, we had a pytest.mark.skipif decorator.
Apparently, that doesn't work and the new pytest now raises an error
because of that. Therefore, the decorator is now moved to the class
level.

While testing this, I noticed that if pandas is not installed, trying to
import sacred results in an AttributeError. Therefore, the check whether
sacred is installed is now checking for pandas first.
Comment thread skorch/tests/conftest.py
if pandas_installed: # sacred import fails without pandas
try:
# pylint: disable=unused-import
import sacred
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sacred was awesome back in the day. 😅

@BenjaminBossan BenjaminBossan merged commit 8605164 into master Nov 19, 2025
16 checks passed
@BenjaminBossan BenjaminBossan deleted the release-1.3.0 branch November 19, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants