Python 3.14 became available recently in Workflow custom codes, but I noticed it can’t run my scripts using their Python SDK. Anyone else experiencing the same? I know we could use the requests module as replacement but I know it’s going to be a pain updating my workflows that are already in Production.
Sample error:
[ERROR] ModuleNotFoundError: No module named 'pkg_resources'
Traceback (most recent call last):
File "/var/task/hubspotHandler.py", line 15, in hubspot_handler
return file.main(event)
File "/var/task/file.py", line 571, in main
metrics, matched_line_items = update_deal_sku_metrics(
File "/var/task/file.py", line 496, in update_deal_sku_metrics
all_line_items = fetch_deal_line_items(client, deal_id)
File "/var/task/file.py", line 301, in fetch_deal_line_items
api_response = client.crm.deals.basic_api.get_by_id(
File "/opt/python/hubspot/client.py", line 62, in crm
from .discovery.crm.discovery import Discovery as CrmDiscovery
File "/opt/python/hubspot/discovery/crm/discovery.py", line 1, in
from ..discovery_base import DiscoveryBase
File "/opt/python/hubspot/discovery/discovery_base.py", line 1, in
import pkg_resources