Skip to content

Commit

Permalink
Merge pull request #17 from sohonetlabs/CVF-7168
Browse files Browse the repository at this point in the history
  • Loading branch information
tomviner authored Apr 20, 2023
2 parents 811523a + f6590b7 commit 3b08627
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 47 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/tox-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Tox Tests

on:
- push
- pull_request

jobs:
test:
runs-on: ubuntu-20.04

strategy:
fail-fast: false
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9']

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox~=3.28 'tox-gh-actions<3'
- name: Run RabbitMQ
run: make docker-rabbitmq-run
- name: Run Tox
run: tox
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ nameko-eventlog-dispatcher versions, where semantic versioning is used:
Backwards-compatible changes increment the minor version number only.


0.4.2
-----

Released 2023-04-20

* Drop support for Python < 3.6. Add tests for new Python and Nameko 2.x versions.


0.4.1
-----

Expand Down
3 changes: 1 addition & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,7 @@ Nameko support

The following Nameko_ versions are supported:

- ``2.x`` series: ``2.6``, ``2.7``, ``2.8``, ``2.9``, ``2.10``, ``2.11``,
``2.12``
- ``2.x`` series: ``2.12``, ``2.13``, ``2.14``


Changelog
Expand Down
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name='nameko-eventlog-dispatcher',
version='0.4.1',
version='0.4.2',
description=(
'Nameko dependency provider that dispatches log data using Events '
'(Pub-Sub).'
Expand All @@ -23,6 +23,7 @@
author_email='julio.trigo@sohonet.com',
url='https://github.com/sohonetlabs/nameko-eventlog-dispatcher',
packages=find_packages(exclude=['test', 'test.*']),
python_requires='>=3.6',
install_requires=['nameko>=2.6'],
extras_require={
'dev': [
Expand All @@ -31,6 +32,7 @@
'coverage',
'restructuredtext-lint',
'Pygments',
'pytest-eventlet'
],
},
zip_safe=True,
Expand All @@ -41,10 +43,10 @@
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
]
Expand Down
24 changes: 13 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
[tox]
envlist = {py34,py35,py36,py37}-nameko{2.6,2.7,2.8,2.9,2.10,2.11,2.12,latest}
envlist = {py36, py37, py38, py39}-nameko{2.12, 2.13, 2.14}
skipsdist = True

[testenv]
whitelist_externals = make
usedevelop = true
extras = dev
deps =
nameko{2.6,2.7}: pytest<3.3.0
nameko{2.6,2.7,2.8}: eventlet<0.22.0
nameko2.6: nameko>=2.6,<2.7
nameko2.7: nameko>=2.7,<2.8
nameko2.8: nameko>=2.8,<2.9
nameko2.9: nameko>=2.9,<2.10
nameko2.10: nameko>=2.10,<2.11
nameko2.11: nameko>=2.11,<2.12
nameko2.12: nameko>=2.12,<2.13
nameko2.12: nameko~=2.12.0
nameko2.13: nameko~=2.13.0
nameko2.14: nameko~=2.14.0

commands =
make coverage ARGS='-x -vv'
make test ARGS='-vv'

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39

0 comments on commit 3b08627

Please sign in to comment.