Skip to content

Commit

Permalink
Merge pull request #45 from fabric-testbed/fim_update
Browse files Browse the repository at this point in the history
up fim dependencies
  • Loading branch information
kthare10 authored Jul 17, 2023
2 parents f266731 + 187acdf commit 8fa2f5f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fabric_cf/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.5.0"
__version__ = "1.5.2"
8 changes: 6 additions & 2 deletions fabric_cf/orchestrator/swagger_client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

import datetime
import json
import logging
import mimetypes
from multiprocessing.pool import ThreadPool
import os
Expand Down Expand Up @@ -75,8 +76,11 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.user_agent = 'Swagger-Codegen/1.0.0/python'

def __del__(self):
self.pool.close()
self.pool.join()
try:
self.pool.close()
self.pool.join()
except Exception as e:
logging.getLogger().error(f"Ignoring connexion pool error: {e}")

@property
def user_agent(self):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies = [
"six >= 1.10",
"python_dateutil >= 2.5.3",
"requests>=2.28.1",
"fabric-fim==1.5.0",
"fabric-fim==1.5.3",
]

[project.optional-dependencies]
Expand Down

0 comments on commit 8fa2f5f

Please sign in to comment.