Skip to content

Commit

Permalink
release: v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo committed Oct 12, 2023
1 parent db2e1aa commit 8cf126b
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 22 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ on:
branches: master
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 3 * * 6'
- cron: "0 3 * * 6"
workflow_dispatch:
inputs:
reason:
description: 'Reason'
description: "Reason"
required: false
default: 'Manual trigger'
default: "Manual trigger"

jobs:
Tests:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
requirements-level: [pypi]
python-version: [3.8, 3.9]
requirements-level: [pypi]

env:
EXTRAS: tests
Expand Down
8 changes: 2 additions & 6 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,9 @@
Changes
=======

Version 1.3.4 (released 2023-10-12)
Version 2.0.0 (released 2023-10-12)

- add back in setup sentry and sentry-sdk extras

Version 1.3.3 (released 2023-10-12)

- Adds `LOGGING_SENTRY_INIT_KWARGS` to allow extra config on sentry initialization
- removes support for raven

Version 1.3.2 (released 2022-02-28)

Expand Down
3 changes: 0 additions & 3 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,5 @@ File System
Sentry
------

.. automodule:: invenio_logging.sentry6
:members:

.. automodule:: invenio_logging.sentry
:members:
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
"https://docs.python.org/": None,
"python": ("https://docs.python.org/", None),
"flask": ("https://flask.palletsprojects.com/en/latest/", None),
"celery": ("https://docs.celeryproject.org/en/stable/", None),
}
Expand Down
2 changes: 1 addition & 1 deletion invenio_logging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@

from __future__ import absolute_import, print_function

__version__ = "1.3.4"
__version__ = "2.0.0"

__all__ = ("__version__",)
4 changes: 1 addition & 3 deletions invenio_logging/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@
LOGGING_SENTRY_CLASS = None
"""Import path of sentry Flask extension class.
This allows you to customize the Sentry extension class. In particular if you
are logging to Sentry v6, you can set this to
:class:`invenio_logging.sentry6.Sentry6`."""
This allows you to customize the Sentry extension class."""

LOGGING_SENTRY_INIT_KWARGS = None
"""Pass extra options when initializing Sentry instance."""
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ classifiers =
[options]
include_package_data = True
packages = find:
python_requires = >=3.7
python_requires = >=3.8
zip_safe = False
install_requires =
invenio-celery>=1.2.4
Expand All @@ -40,7 +40,6 @@ tests =
iniconfig>=1.1.1
sphinx>=4.5
sentry-sdk[flask]>=1.0.0
# Kept for backwards compatibility
sentry_sdk =
sentry-sdk[flask]>=1.0.0

Expand Down
1 change: 0 additions & 1 deletion tests/test_sentry.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

from __future__ import absolute_import, print_function


from flask import Flask
from sentry_sdk.hub import Hub
from sentry_sdk.integrations.celery import CeleryIntegration
Expand Down

0 comments on commit 8cf126b

Please sign in to comment.