Browse Source

Dependencies update (#78)

* updated dependencies

* fixed git-secrets workflow
opensearch
tamirmich 2 years ago
committed by GitHub
parent
commit
c8f06efd41
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 16 deletions
  1. +9
    -10
      .github/workflows/git-secrets.yml
  2. +7
    -2
      README.md
  3. +3
    -2
      requirements.txt
  4. +2
    -2
      setup.py

+ 9
- 10
.github/workflows/git-secrets.yml View File

@ -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

+ 7
- 2
README.md View File

@ -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
<details>
<summary markdown="span"> Expand to check old versions </summary>
- 3.1.0
- Bug fixes
- Retry number and timeout is now configurable
<details>
<summary markdown="span"> Expand to check old versions </summary>
- 3.0.0
- Deprecated `python2.7` & `python3.4`
- Changed log levels on `_flush_queue()` method (@hilsenrat)


+ 3
- 2
requirements.txt View File

@ -1,3 +1,4 @@
requests>=2.27.0
protobuf==3.20.1
opentelemetry-instrumentation-logging==0.32b0
protobuf>=3.20.2
opentelemetry-instrumentation-logging==0.32b0
setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability

+ 2
- 2
setup.py View File

@ -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=[


Loading…
Cancel
Save