Browse Source

compatible for py37, py38 (#52)

opensearch
Miri 5 years ago
committed by GitHub
parent
commit
3d44d6202c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 4 deletions
  1. +5
    -1
      .travis.yml
  2. +3
    -0
      README.md
  3. +2
    -1
      tests/test_logzioSender.py
  4. +2
    -2
      tox.ini

+ 5
- 1
.travis.yml View File

@ -5,7 +5,7 @@ matrix:
include:
- python: 2.7
env: TOXENV=flake8
- python: 3.6
- python: 3.8
env: TOXENV=py3flake8
- python: 2.7
env: TOXENV=py27
@ -19,6 +19,10 @@ matrix:
env: TOXENV=pypy
- python: pypy3.5
env: TOXENV=pypy3
- python: 3.7
env: TOXENV=py37
- python: 3.8
env: TOXENV=py38
install:
- pip install tox


+ 3
- 0
README.md View File

@ -19,6 +19,8 @@ Travis CI will build this handler and test against:
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
We can't ensure compatibility to any other version, as we can't test it automatically.
@ -164,6 +166,7 @@ LOGGING = {
## Release Notes
- 2.0.14
- Added flusher decorator for serverless platforms(@mcmasty)
- Add support for `python3.7` and `python3.8`
- 2.0.13
- Add support for `pypy` and `pypy3`(@rudaporto-olx)
- Add timeout for requests.post() (@oseemann)


+ 2
- 1
tests/test_logzioSender.py View File

@ -29,7 +29,8 @@ class TestLogzioSender(TestCase):
"version": 1,
"formatters": {
"logzio": {
"format": '{"key": "value"}'
"format": '{"key": "value"}',
"validate": False
}
},
"handlers": {


+ 2
- 2
tox.ini View File

@ -1,6 +1,6 @@
[tox]
minversion = 1.7.2
envlist = flake8, py3flake8, py27, py34, py35, py36, pypy, pypy3
envlist = flake8, py3flake8, py27, py34, py35, py36, py37, py38, pypy, pypy3
skip_missing_interpreters = true
[testenv]
@ -18,6 +18,6 @@ deps = flake8
commands = flake8 logzio
[testenv:py3flake8]
basepython = python3.6
basepython = python3.8
deps = flake8
commands = flake8 logzio

Loading…
Cancel
Save