Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
import os
import json
full_matrix = {
'python': ['3.11', '3.12'],
'python': ['3.11', '3.12', '3.13'],
# available OS's: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on
'os': ['ubuntu-22.04', 'macos-15'],
}
Expand Down
2 changes: 2 additions & 0 deletions hathor/nanocontracts/faux_immutable.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ def _validate_faux_immutable_meta(name: str, bases: tuple[type, ...], attrs: dic
'__doc__',
'__init__',
'__call__',
'__firstlineno__',
'__static_attributes__',
}) | custom_allowed_dunder

# pop the attribute so the created class doesn't have it and it isn't inherited
Expand Down
8 changes: 8 additions & 0 deletions hathor_tests/nanocontracts/test_exposed_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,14 @@
'hathor.SignedData._is_protocol',
])


# XXX: these only appear in Python 3.13
if version_info[1] == 13:
KNOWN_CASES.extend([
'hathor.NCActionType._hashable_values_',
'hathor.NCActionType._unhashable_values_map_',
])

KNOWN_CASES.sort()


Expand Down
Loading