From c8f06efd4123aa3243b4bb3862ed06449e47dfa4 Mon Sep 17 00:00:00 2001 From: tamirmich Date: Thu, 16 Feb 2023 10:42:42 +0200 Subject: [PATCH] Dependencies update (#78) * updated dependencies * fixed git-secrets workflow --- .github/workflows/git-secrets.yml | 19 +++++++++---------- README.md | 9 +++++++-- requirements.txt | 5 +++-- setup.py | 4 ++-- 4 files changed, 21 insertions(+), 16 deletions(-) diff --git a/.github/workflows/git-secrets.yml b/.github/workflows/git-secrets.yml index a3dce06..c94768c 100644 --- a/.github/workflows/git-secrets.yml +++ b/.github/workflows/git-secrets.yml @@ -1,33 +1,32 @@ name: git-secrets - # Controls when the workflow will run # Triggers the workflow on push or pull request events but only for the main branch on: [push] - # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "main" git-secrets: # The type of runner that the job will run on - runs-on: ubuntu-18.04 - + runs-on: ubuntu-22.04 # Steps represent a sequence of tasks that will be executed as part of the job steps: - name: Check Out Source Code - uses: actions/checkout@v2 - + uses: actions/checkout@v3 - name: Set up Python 3.8 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.8 - name: Installing dependencies run: - sudo apt-get install git less openssh-server + sudo apt-get install less openssh-server - name: Installing scanning tool run: | + eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" + ln -s "$(which echo)" /usr/local/bin/say brew install git-secrets git secrets --install - git secrets --register-aws + git secrets --register-aws - name: Running scanning tool run: - git secrets --scan + eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" + git secrets --scan \ No newline at end of file diff --git a/README.md b/README.md index ac71843..189784e 100644 --- a/README.md +++ b/README.md @@ -255,6 +255,10 @@ LOGGING = { Please note that if you are using `python 3.8`, it is preferred to use the `logging.config.dictConfig` method, as mentioned in [python's documentation](https://docs.python.org/3/library/logging.config.html#configuration-file-format). ## Release Notes +- 4.0.1 + - Updated `protobuf>=3.20.2`. + - Added dependency `setuptools>=65.5.1` + - 4.0.0 - Add ability to automatically attach trace context to the logs. @@ -262,12 +266,13 @@ Please note that if you are using `python 3.8`, it is preferred to use the `logg - Bug fixes (issue #68, exception message formatting) - Added CI: Tests and Auto release +
+ Expand to check old versions + - 3.1.0 - Bug fixes - Retry number and timeout is now configurable -
- Expand to check old versions - 3.0.0 - Deprecated `python2.7` & `python3.4` - Changed log levels on `_flush_queue()` method (@hilsenrat) diff --git a/requirements.txt b/requirements.txt index 558c4a9..3169b13 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ requests>=2.27.0 -protobuf==3.20.1 -opentelemetry-instrumentation-logging==0.32b0 \ No newline at end of file +protobuf>=3.20.2 +opentelemetry-instrumentation-logging==0.32b0 +setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability \ No newline at end of file diff --git a/setup.py b/setup.py index a1bddcd..d88aada 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup( name="logzio-python-handler", - version='4.0.0', + version='4.0.1', description="Logging handler to send logs to your Logz.io account with bulk SSL", keywords="logging handler logz.io bulk https", author="roiravhon", @@ -14,7 +14,7 @@ setup( packages=find_packages(), install_requires=[ "requests>=2.27.0", - "protobuf==3.20.1", + "protobuf>=3.20.2", "opentelemetry-instrumentation-logging==0.32b0" ], test_requires=[