grafana-toolbox / grafana-client

Python client library for accessing the Grafana HTTP API.
MIT License
107 stars 30 forks source link

Add support for Python 3.12, remove use of deprecated `distutils` #123

Closed amotl closed 1 year ago

amotl commented 1 year ago

Description

Add support for Python 3.12, as suggested by @foreverhy.

References

codecov[bot] commented 1 year ago

Codecov Report

Merging #123 (e8674cf) into main (83b5f18) will decrease coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #123      +/-   ##
==========================================
- Coverage   94.11%   94.10%   -0.01%     
==========================================
  Files          25       25              
  Lines        1613     1612       -1     
==========================================
- Hits         1518     1517       -1     
  Misses         95       95              
Files Coverage Δ
grafana_client/__init__.py 100.00% <ø> (ø)
grafana_client/elements/dashboard.py 100.00% <100.00%> (ø)
grafana_client/elements/datasource.py 97.83% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more