Skip to content

Commit 15ac7aa

Browse files
committed
Fix compatibility with attrs 19.2.0
1 parent 683e3a0 commit 15ac7aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
license='MIT -or- Apache License 2.0',
3333
packages=find_packages('src'),
3434
package_dir={'': 'src'},
35-
install_requires=['attrs'],
35+
install_requires=['attrs>=19.2.0'],
3636
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
3737
keywords='result',
3838
classifiers=[

src/outcome/_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Outcome(ABC):
4040
hashable.
4141
4242
"""
43-
_unwrapped = attr.ib(default=False, cmp=False, init=False)
43+
_unwrapped = attr.ib(default=False, eq=False, init=False)
4444

4545
def _set_unwrapped(self):
4646
if self._unwrapped:

0 commit comments

Comments
 (0)