Skip to content

Commit

Permalink
Merge pull request #161 from LedgerHQ/fix/python3.11
Browse files Browse the repository at this point in the history
[fix] Removing 'frozen' from ExceptionRAPDU dataclass to allow Python…
  • Loading branch information
lpascal-ledger authored Jan 31, 2024
2 parents d6f183f + b76f11d commit af5b17b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.14.2] - 2024-01-31

### Fixed
- Removing the `frozen` attribute for `ExceptionRAPDU` dataclass, as Python3.11 `contextlib` needs
the exception class it throws to be RW.

## [1.14.1] - 2024-01-19

### Fixed
- Update Ragger dependency versions (Speculos, LedgerComm, ledgerCTL), so that latest features can
leverage recent features
- Update Ragger dependency versions (Speculos, LedgerComm, ledgerCTL), so that it can leverage recent
features.

## [1.14.0] - 2024-01-19

Expand Down
2 changes: 1 addition & 1 deletion src/ragger/error.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from dataclasses import dataclass


@dataclass(frozen=True)
@dataclass
class ExceptionRAPDU(Exception):
"""
Depending on the :class:`RaisePolicy <ragger.backend.interface.RaisePolicy>`,
Expand Down

0 comments on commit af5b17b

Please sign in to comment.