Skip to content

Commit

Permalink
Update to adapt to the new version of private-attrs dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandoenzo committed Feb 6, 2022
1 parent cdb9888 commit 1849d6d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion parallel_utils/process/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def __getstate__(self):

def __setstate__(self, state):
private = state.pop('private')
p.setstate(private, self)
p.setstate(self, private)
self.__dict__ = state

def __del__(self):
Expand Down
2 changes: 1 addition & 1 deletion parallel_utils/thread/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def __getstate__(self):

def __setstate__(self, state):
private = state.pop('private')
p.setstate(private, self)
p.setstate(self, private)
self.__dict__ = state

def __del__(self):
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
name = 'parallel-utils'

# https://www.python.org/dev/peps/pep-0440/#version-scheme
version = '1.1.0'
version = '1.1.1'

description = 'This library implements a class Monitor, as defined by Per Brinch Hansen and C.A.R. Hoare, ' \
'for synchronization and concurrent management of threads and processes in Python. It also provides other ' \
Expand Down Expand Up @@ -52,6 +52,8 @@
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Software Development :: Libraries :: Python Modules',
]
setuptools.setup(
Expand Down

0 comments on commit 1849d6d

Please sign in to comment.