You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In version.py, you start a new thread to check whether it is the latest version.
importosimportloggingfromthreadingimportThread__version__='1.3.6'try:
os.environ['OUTDATED_IGNORE'] ='1'fromoutdatedimportcheck_outdated# noqaexceptImportError:
check_outdated=Nonedefcheck():
try:
is_outdated, latest=check_outdated('ogb', __version__)
ifis_outdated:
logging.warning(
f'The OGB package is out of date. Your version is 'f'{__version__}, while the latest version is {latest}.')
exceptException:
passifcheck_outdatedisnotNone:
thread=Thread(target=check)
thread.start()
If some network errors occur in the request of version check , this thread remains alive , when the python program is going to quit , this thread may lead to deadlock in multi-threads.
The text was updated successfully, but these errors were encountered:
In version.py, you start a new thread to check whether it is the latest version.
If some network errors occur in the request of version check , this thread remains alive , when the python program is going to quit , this thread may lead to deadlock in multi-threads.
The text was updated successfully, but these errors were encountered: