Skip to content
Snippets Groups Projects
Commit 6950777f authored by Moul's avatar Moul
Browse files

(dep) Bump attr

https://www.attrs.org/en/stable/changelog.html#id17
now ’attrs’ can be imported, but is not yet available for attr.{s,ib}
parent d063c4ec
No related branches found
No related tags found
1 merge request!175Poetry v1.2, pytest-clarity, runners, coverage, bump deps
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
import re import re
import attr import attr
import attrs
from ...constants import ( from ...constants import (
BLOCK_ID_REGEX, BLOCK_ID_REGEX,
...@@ -108,13 +109,13 @@ class HeadV0(Head): ...@@ -108,13 +109,13 @@ class HeadV0(Head):
def inline(self) -> str: def inline(self) -> str:
values = ( values = (
str(v) str(v)
for v in attr.astuple( for v in attrs.astuple(
self, self,
recurse=False, recurse=False,
filter=attr.filters.exclude( filter=attrs.filters.exclude(
attr.fields(HeadV0).version, attrs.fields(HeadV0).version,
attr.fields(HeadV0).signature, attrs.fields(HeadV0).signature,
attr.fields(HeadV0).api, attrs.fields(HeadV0).api,
), ),
) )
) )
......
...@@ -31,7 +31,7 @@ graphql-core = "^3.1.2" ...@@ -31,7 +31,7 @@ graphql-core = "^3.1.2"
websocket-client = "^1.1.0" websocket-client = "^1.1.0"
jsonschema = "^4.5.0" jsonschema = "^4.5.0"
pypeg2 = "^2.15.2" pypeg2 = "^2.15.2"
attrs = "^21.2.0" attrs = "^22.1.0"
base58 = "^2.1.0" base58 = "^2.1.0"
libnacl = "^1.7.2" libnacl = "^1.7.2"
pyaes = "^1.6.1" pyaes = "^1.6.1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment