Skip to content

Commit 65a62d3

Browse files
committed
Drop support for python3.5
CI fails on datetime tests for timezone offsets with seconds only on python3.5. There's no obvious cause for version differences in the CPython datetime FFI API docs.
1 parent 30f1a00 commit 65a62d3

6 files changed

Lines changed: 1 addition & 8 deletions

File tree

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ dist: xenial
33
language: python
44

55
python:
6-
- "3.5"
76
- "3.6"
87
- "3.7"
98

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ classifier = [
2424
"Operating System :: MacOS",
2525
"Operating System :: POSIX :: Linux",
2626
"Programming Language :: Python :: 3",
27-
"Programming Language :: Python :: 3.5",
2827
"Programming Language :: Python :: 3.6",
2928
"Programming Language :: Python :: 3.7",
3029
"Programming Language :: Python",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ other library and 4.5x to 11.5x the standard library. Its deserialization
66
performance is 1.05x to 1.2x the nearest other library and 1.2x to 4x
77
the standard library.
88

9-
It supports CPython 3.5, 3.6, and 3.7. Its API is a subset of the
9+
It supports CPython 3.6 and 3.7. Its API is a subset of the
1010
API of the standard library's json module.
1111

1212
## Usage

test/test_jsonchecker.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ def test_fail33(self):
237237
"""
238238
self._run_fail_json('fail33.json')
239239

240-
@unittest.skipIf(sys.version_info < (3, 6), "Indeterminate key order")
241240
def test_pass01(self):
242241
"""
243242
pass01.json
@@ -256,7 +255,6 @@ def test_pass02(self):
256255
b'[[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]]'
257256
)
258257

259-
@unittest.skipIf(sys.version_info < (3, 6), "Indeterminate key order")
260258
def test_pass03(self):
261259
"""
262260
pass03.json

test/test_roundtrip.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ def test_roundtrip009(self):
7575
"""
7676
self._run_roundtrip_json('roundtrip09.json')
7777

78-
@unittest.skipIf(sys.version_info < (3, 6), "Indeterminate key order")
7978
def test_roundtrip010(self):
8079
"""
8180
roundtrip010.json

test/test_ujson.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,14 +346,12 @@ def test_decodeNullCharacter(self):
346346
input = "\"31337 \\u0000 31337\""
347347
self.assertEqual(orjson.loads(input), json.loads(input))
348348

349-
@unittest.skipIf(sys.version_info < (3, 6), "Bytes input not supported in older Python versions")
350349
def test_decodeEscape(self):
351350
base = '\u00e5'.encode('utf-8')
352351
quote = "\"".encode()
353352
input = quote + base + quote
354353
self.assertEqual(json.loads(input), orjson.loads(input))
355354

356-
@unittest.skipIf(sys.version_info < (3, 6), "Bytes input not supported in older Python versions")
357355
def test_decodeBigEscape(self):
358356
for _ in range(10):
359357
base = '\u00e5'.encode('utf-8')

0 commit comments

Comments
 (0)