spotfiresoftware / spotfire-python

Package for Building Python Extensions to Spotfire®
Other
18 stars 6 forks source link

Create a troubleshooting bundle with Python environment information #57

Closed bbassett-tibco closed 10 months ago

bbassett-tibco commented 1 year ago

To help debug scenarios from support cases, provide a function that will collect the required information from the environment and package it into a plain text format (that could be channeled through a data function output or written to a file, depending on the service deployment in use). It should cover at least:

bbassett-tibco commented 11 months ago

I've just checked in an initial prototype of the "TB" concept to a feature branch for comments.

Due to the fact that the importlib.metadata module was added in Python 3.8, we'll have to consider dropping support for 3.7 (which we'd probably have had to do anyway for the NumPy 2.0 work, #54) or adding the importlib_metadata backport to our requirements, scoped to 3.7 interpreters (although, we'd also have to clean up SPK generation to be knowledgeable about conditional requirements if we go that route).

bbassett-tibco commented 10 months ago

Merged feature branch to main.