mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Drop Python 3.4
Never gonna get master back to green working with a dead Python.
This commit is contained in:
parent
558da29e5e
commit
e987d6eb4a
6 changed files with 4 additions and 29 deletions
24
.travis.yml
24
.travis.yml
|
|
@ -25,30 +25,6 @@
|
|||
"env": "BUILD=style",
|
||||
"python": "3.6"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=devel ",
|
||||
"python": "3.4"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test DAV_SERVER=xandikos REQUIREMENTS=devel ",
|
||||
"python": "3.4"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=release ",
|
||||
"python": "3.4"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test DAV_SERVER=xandikos REQUIREMENTS=release ",
|
||||
"python": "3.4"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=minimal ",
|
||||
"python": "3.4"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test DAV_SERVER=xandikos REQUIREMENTS=minimal ",
|
||||
"python": "3.4"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=devel ",
|
||||
"python": "3.5"
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ If your distribution doesn't provide a package for vdirsyncer, you still can
|
|||
use Python's package manager "pip". First, you'll have to check that the
|
||||
following things are installed:
|
||||
|
||||
- Python 3.4+ and pip.
|
||||
- Python 3.5+ and pip.
|
||||
- ``libxml`` and ``libxslt``
|
||||
- ``zlib``
|
||||
- Linux or OS X. **Windows is not supported, see :gh:`535`.**
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import itertools
|
|||
import json
|
||||
import sys
|
||||
|
||||
python_versions = ("3.4", "3.5", "3.6")
|
||||
python_versions = ("3.5", "3.6")
|
||||
latest_python = "3.6"
|
||||
|
||||
cfg = {}
|
||||
|
|
|
|||
1
setup.py
1
setup.py
|
|
@ -95,7 +95,6 @@ setup(
|
|||
'License :: OSI Approved :: BSD License',
|
||||
'Operating System :: POSIX',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Topic :: Internet',
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ except ImportError: # pragma: no cover
|
|||
def _check_python_version(): # pragma: no cover
|
||||
import sys
|
||||
if sys.version_info < (3, 4, 0):
|
||||
print('vdirsyncer requires at least Python 3.4.')
|
||||
print('vdirsyncer requires at least Python 3.5.')
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ def manage_sync_status(base_path, pair_name, collection_name):
|
|||
with open(path, 'rb') as f:
|
||||
if f.read(1) == b'{':
|
||||
f.seek(0)
|
||||
# json.load doesn't work on binary files for Python 3.4/3.5
|
||||
# json.load doesn't work on binary files for Python 3.5
|
||||
legacy_status = dict(json.loads(f.read().decode('utf-8')))
|
||||
except (OSError, IOError, ValueError):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in a new issue