Skip to content

Commit 373b9b1

Browse files
authored
drop support for obsolete Python versions (#108)
closes #103
1 parent efc6f4e commit 373b9b1

16 files changed

Lines changed: 5 additions & 81 deletions

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
language: python
22
matrix:
33
include:
4-
- python: 3.5
5-
env: TOXENV=py27,py35
64
- python: 3.6
75
env: TOXENV=py36
86
- python: 3.7
97
env: TOXENV=py37
10-
- python: 3.8-dev
8+
- python: 3.8
119
env: TOXENV=py38
10+
- python: 3.9
11+
env: TOXENV=py39
1212

1313
branches:
1414
only:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Compatibility
1717
python
1818
------
1919

20-
python-libarchive-c is currently tested with python 2.7, 3.4, 3.5, and 3.6.
20+
python-libarchive-c is currently tested with python 3.6, 3.7, 3.8, and 3.9.
2121

2222
If you find an incompatibility with older versions you can send us a small patch,
2323
but we won't accept big changes.

libarchive/entry.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import division, print_function, unicode_literals
2-
31
from contextlib import contextmanager
42
from ctypes import c_char_p, create_string_buffer
53

libarchive/exception.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import division, print_function, unicode_literals
2-
31

42
class ArchiveError(Exception):
53

libarchive/extract.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import division, print_function, unicode_literals
2-
31
from contextlib import contextmanager
42
from ctypes import byref, c_longlong, c_size_t, c_void_p
53

libarchive/ffi.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import division, print_function, unicode_literals
2-
31
from ctypes import (
42
c_char_p, c_int, c_uint, c_long, c_longlong, c_size_t, c_int64,
53
c_void_p, c_wchar_p, CFUNCTYPE, POINTER,

libarchive/read.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import division, print_function, unicode_literals
2-
31
from contextlib import contextmanager
42
from ctypes import cast, c_void_p, POINTER, create_string_buffer
53
from os import fstat, stat

libarchive/write.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import division, print_function, unicode_literals
2-
31
from contextlib import contextmanager
42
from ctypes import byref, cast, c_char, c_size_t, c_void_p, POINTER
53

tests/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import division, print_function, unicode_literals
2-
31
from contextlib import closing, contextmanager
42
from copy import copy
53
from os import chdir, getcwd, stat, walk
@@ -13,11 +11,8 @@
1311

1412
from libarchive import file_reader
1513

16-
from . import surrogateescape
17-
1814

1915
data_dir = join(dirname(__file__), 'data')
20-
surrogateescape.register()
2116

2217

2318
def check_archive(archive, tree):

tests/surrogateescape.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)