FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Drop unsupported Python 3 versions and add the actual ones · python-smpplib/python-smpplib@2721fa5 · GitHub

Commit 2721fa5

Browse files
committed
Drop unsupported Python 3 versions and add the actual ones
1 parent 57ad3ae commit 2721fa5

4 files changed

Lines changed: 21 additions & 33 deletions

File tree

‎.circleci/config.yml‎

Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,18 @@ workflows:
33
version: 2
44
test:
55
jobs:
6+
- test-3.13
7+
- test-3.12
8+
- test-3.11
69
- test-3.10
710
- test-3.9
8-
- test-3.8
9-
- test-3.7
10-
- test-3.6
11-
- test-3.5
12-
- test-3.4
1311
- test-2.7
1412
- test-pypy3
1513
- test-pypy2
1614
jobs:
17-
test-3.10: &test-template
15+
test-3.13: &test-template
1816
docker:
19-
- image: python:3.10 # We run one test in non-alpine environment, just in case
17+
- image: python:3.13 # We run one test in non-alpine environment, just in case
2018
working_directory: ~/work
2119
steps:
2220
- checkout
@@ -37,30 +35,22 @@ jobs:
3735
command: |
3836
. venv/bin/activate
3937
pytest -v
40-
test-3.9:
41-
<<: *test-template
42-
docker:
43-
- image: python:3.9-alpine
44-
test-3.8:
38+
test-3.12:
4539
<<: *test-template
4640
docker:
47-
- image: python:3.8-alpine
48-
test-3.7:
41+
- image: python:3.12-alpine
42+
test-3.11:
4943
<<: *test-template
5044
docker:
51-
- image: python:3.7-alpine
52-
test-3.6:
45+
- image: python:3.11-alpine
46+
test-3.10:
5347
<<: *test-template
5448
docker:
55-
- image: python:3.6-alpine
56-
test-3.5:
57-
<<: *test-template
58-
docker:
59-
- image: python:3.5-alpine
60-
test-3.4:
49+
- image: python:3.10-alpine
50+
test-3.9:
6151
<<: *test-template
6252
docker:
63-
- image: python:3.4-alpine
53+
- image: python:3.9-alpine
6454
test-2.7:
6555
<<: *test-template
6656
docker:

‎setup.py‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,11 @@
1212

1313
setup(
1414
name='smpplib',
15-
version='2.2.3',
15+
version='2.2.4',
1616
url='https://github.com/python-smpplib/python-smpplib',
1717
description='SMPP library for python',
1818
packages=find_packages(),
1919
install_requires=['six'],
20-
extras_require=dict(
21-
tests=('typing; python_version < "3.5"', 'pytest', 'mock'),
22-
),
2320
zip_safe=True,
2421
classifiers=(
2522
'Development Status :: 5 - Production/Stable',
@@ -29,10 +26,11 @@
2926
'Programming Language :: Python :: 2',
3027
'Programming Language :: Python :: 2.7',
3128
'Programming Language :: Python :: 3',
32-
'Programming Language :: Python :: 3.4',
33-
'Programming Language :: Python :: 3.5',
34-
'Programming Language :: Python :: 3.6',
35-
'Programming Language :: Python :: 3.7',
29+
'Programming Language :: Python :: 3.9',
30+
'Programming Language :: Python :: 3.10',
31+
'Programming Language :: Python :: 3.11',
32+
'Programming Language :: Python :: 3.12',
33+
'Programming Language :: Python :: 3.13',
3634
'Programming Language :: Python',
3735
'Topic :: Communications :: Telephony',
3836
'Topic :: Communications',

‎smpplib/tests/test_client.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import warnings
22
import pytest
3-
from mock import Mock, call
3+
from unittest.mock import Mock, call
44

55
from smpplib.client import Client
66
from smpplib.smpp import make_pdu

‎smpplib/tests/test_gsm.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf8 -*-
22

3-
import mock
43
from pytest import mark, raises
4+
from unittest import mock
55

66
from smpplib import consts
77
from smpplib.gsm import gsm_encode, make_parts, make_parts_encoded

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL