Skip to content
Snippets Groups Projects
Commit 2cf0f525 authored by geant-release-service's avatar geant-release-service
Browse files

Finished release 0.68.

parents 6fd65ed0 cc5239c7
No related branches found
No related tags found
No related merge requests found
import json import json
import logging.config import logging.config
import os import os
from importlib.metadata import distribution
import sentry_sdk import sentry_sdk
from sentry_sdk.integrations.flask import FlaskIntegration from sentry_sdk.integrations.flask import FlaskIntegration
try:
from importlib.metadata import distribution as get_distribution
except ImportError:
from pkg_resources import get_distribution
def setup_logging(): def setup_logging():
""" """
...@@ -21,7 +25,7 @@ def setup_logging(): ...@@ -21,7 +25,7 @@ def setup_logging():
sentry_sdk.init( sentry_sdk.init(
dsn=sentry_dsn, dsn=sentry_dsn,
integrations=[FlaskIntegration()], integrations=[FlaskIntegration()],
release=distribution('brian-dashboard-manager').version) release=get_distribution('brian-dashboard-manager').version)
with open(filename) as f: with open(filename) as f:
# TODO: this mac workaround should be removed ... # TODO: this mac workaround should be removed ...
......
from importlib.metadata import distribution try:
from importlib.metadata import distribution as get_distribution
except ImportError:
from pkg_resources import get_distribution
from flask import Blueprint, jsonify from flask import Blueprint, jsonify
from brian_dashboard_manager.routes import common from brian_dashboard_manager.routes import common
...@@ -17,6 +21,6 @@ def version(): ...@@ -17,6 +21,6 @@ def version():
version_params = { version_params = {
'api': API_VERSION, 'api': API_VERSION,
'module': 'module':
distribution('brian-dashboard-manager').version get_distribution('brian-dashboard-manager').version
} }
return jsonify(version_params) return jsonify(version_params)
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## [0.68] - 2024-10-31
- Add in use of pkg_resources for old versions of python
## [0.67] - 2024-10-14 ## [0.67] - 2024-10-14
- Fix provisioning of static EUMETSAT dashboard - Fix provisioning of static EUMETSAT dashboard
- Give the EUMETSAT dashboard a fixed UID - Give the EUMETSAT dashboard a fixed UID
......
...@@ -2,7 +2,7 @@ from setuptools import setup, find_packages ...@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup( setup(
name='brian-dashboard-manager', name='brian-dashboard-manager',
version="0.67", version="0.68",
author='GEANT', author='GEANT',
author_email='swd@geant.org', author_email='swd@geant.org',
description='', description='',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment