Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 13 additions & 23 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,18 @@ workflows:
version: 2
test:
jobs:
- test-3.13
- test-3.12
- test-3.11
- test-3.10
- test-3.9
- test-3.8
- test-3.7
- test-3.6
- test-3.5
- test-3.4
- test-2.7
- test-pypy3
- test-pypy2
jobs:
test-3.10: &test-template
test-3.13: &test-template
docker:
- image: python:3.10 # We run one test in non-alpine environment, just in case
- image: python:3.13 # We run one test in non-alpine environment, just in case
working_directory: ~/work
steps:
- checkout
Expand All @@ -37,30 +35,22 @@ jobs:
command: |
. venv/bin/activate
pytest -v
test-3.9:
<<: *test-template
docker:
- image: python:3.9-alpine
test-3.8:
test-3.12:
<<: *test-template
docker:
- image: python:3.8-alpine
test-3.7:
- image: python:3.12-alpine
test-3.11:
<<: *test-template
docker:
- image: python:3.7-alpine
test-3.6:
- image: python:3.11-alpine
test-3.10:
<<: *test-template
docker:
- image: python:3.6-alpine
test-3.5:
<<: *test-template
docker:
- image: python:3.5-alpine
test-3.4:
- image: python:3.10-alpine
test-3.9:
<<: *test-template
docker:
- image: python:3.4-alpine
- image: python:3.9-alpine
test-2.7:
<<: *test-template
docker:
Expand Down
14 changes: 6 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,11 @@

setup(
name='smpplib',
version='2.2.3',
version='2.2.4',
url='https://github.com/python-smpplib/python-smpplib',
description='SMPP library for python',
packages=find_packages(),
install_requires=['six'],
extras_require=dict(
tests=('typing; python_version < "3.5"', 'pytest', 'mock'),
),
zip_safe=True,
classifiers=(
'Development Status :: 5 - Production/Stable',
Expand All @@ -29,10 +26,11 @@
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'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.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python',
'Topic :: Communications :: Telephony',
'Topic :: Communications',
Expand Down
2 changes: 1 addition & 1 deletion smpplib/tests/test_client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import warnings
import pytest
from mock import Mock, call
from unittest.mock import Mock, call

from smpplib.client import Client
from smpplib.smpp import make_pdu
Expand Down
2 changes: 1 addition & 1 deletion smpplib/tests/test_gsm.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf8 -*-

import mock
from pytest import mark, raises
from unittest import mock

from smpplib import consts
from smpplib.gsm import gsm_encode, make_parts, make_parts_encoded
Expand Down