mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
commit
d854bd62eb
6 changed files with 86 additions and 14 deletions
|
|
@ -14,3 +14,12 @@ repos:
|
|||
hooks:
|
||||
- id: flake8
|
||||
additional_dependencies: [flake8-import-order, flake8-bugbear]
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: update-travis
|
||||
name: Update travis job definition
|
||||
description: Ensures that travis job definition are up to date.
|
||||
entry: scripts/make_travisconf.py
|
||||
files: '.*travis.*'
|
||||
stages: [commit]
|
||||
language: script
|
||||
|
|
|
|||
54
.travis.yml
54
.travis.yml
|
|
@ -5,7 +5,7 @@
|
|||
]
|
||||
},
|
||||
"cache": "pip",
|
||||
"dist": "trusty",
|
||||
"dist": "bionic",
|
||||
"git": {
|
||||
"submodules": false
|
||||
},
|
||||
|
|
@ -26,10 +26,12 @@
|
|||
"python": "3.5"
|
||||
},
|
||||
{
|
||||
"dist": "trusty",
|
||||
"env": "BUILD=test-storage DAV_SERVER=radicale REQUIREMENTS=release ",
|
||||
"python": "3.5"
|
||||
},
|
||||
{
|
||||
"dist": "trusty",
|
||||
"env": "BUILD=test-storage DAV_SERVER=xandikos REQUIREMENTS=release ",
|
||||
"python": "3.5"
|
||||
},
|
||||
|
|
@ -38,10 +40,12 @@
|
|||
"python": "3.5"
|
||||
},
|
||||
{
|
||||
"dist": "trusty",
|
||||
"env": "BUILD=test-storage DAV_SERVER=radicale REQUIREMENTS=minimal ",
|
||||
"python": "3.5"
|
||||
},
|
||||
{
|
||||
"dist": "trusty",
|
||||
"env": "BUILD=test-storage DAV_SERVER=xandikos REQUIREMENTS=minimal ",
|
||||
"python": "3.5"
|
||||
},
|
||||
|
|
@ -74,6 +78,54 @@
|
|||
"env": "BUILD=test-storage DAV_SERVER=xandikos REQUIREMENTS=minimal ",
|
||||
"python": "3.6"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test REQUIREMENTS=release",
|
||||
"python": "3.7"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test-storage DAV_SERVER=radicale REQUIREMENTS=release ",
|
||||
"python": "3.7"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test-storage DAV_SERVER=xandikos REQUIREMENTS=release ",
|
||||
"python": "3.7"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test REQUIREMENTS=minimal",
|
||||
"python": "3.7"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test-storage DAV_SERVER=radicale REQUIREMENTS=minimal ",
|
||||
"python": "3.7"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test-storage DAV_SERVER=xandikos REQUIREMENTS=minimal ",
|
||||
"python": "3.7"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test REQUIREMENTS=release",
|
||||
"python": "3.8"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test-storage DAV_SERVER=radicale REQUIREMENTS=release ",
|
||||
"python": "3.8"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test-storage DAV_SERVER=xandikos REQUIREMENTS=release ",
|
||||
"python": "3.8"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test REQUIREMENTS=minimal",
|
||||
"python": "3.8"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test-storage DAV_SERVER=radicale REQUIREMENTS=minimal ",
|
||||
"python": "3.8"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test-storage DAV_SERVER=xandikos REQUIREMENTS=minimal ",
|
||||
"python": "3.8"
|
||||
},
|
||||
{
|
||||
"env": "BUILD=test ETESYNC_TESTS=true REQUIREMENTS=latest",
|
||||
"python": "3.6"
|
||||
|
|
|
|||
|
|
@ -9,10 +9,21 @@ Package maintainers and users who have to manually update their installation
|
|||
may want to subscribe to `GitHub's tag feed
|
||||
<https://github.com/pimutils/vdirsyncer/tags.atom>`_.
|
||||
|
||||
Version 0.16.8
|
||||
==============
|
||||
|
||||
*released 09 June 2020*
|
||||
|
||||
- Support Python 3.7 and 3.8.
|
||||
|
||||
This release is functionally identical to 0.16.7.
|
||||
It's been tested with recent Python versions, and has been marked as supporting
|
||||
them. It will also be the final release supporting Python 3.5 and 3.6.
|
||||
|
||||
Version 0.16.7
|
||||
==============
|
||||
|
||||
*released on July 19*
|
||||
*released on 19 July 2018*
|
||||
|
||||
- Fixes for Python 3.7
|
||||
|
||||
|
|
|
|||
4
Makefile
4
Makefile
|
|
@ -96,10 +96,6 @@ style:
|
|||
! git grep -i syncroniz */*
|
||||
! git grep -i 'text/icalendar' */*
|
||||
sphinx-build -W -b html ./docs/ ./docs/_build/html/
|
||||
python3 scripts/make_travisconf.py | diff -b .travis.yml -
|
||||
|
||||
travis-conf:
|
||||
python3 scripts/make_travisconf.py > .travis.yml
|
||||
|
||||
install-docs:
|
||||
pip install -Ur docs-requirements.txt
|
||||
|
|
|
|||
18
scripts/make_travisconf.py
Normal file → Executable file
18
scripts/make_travisconf.py
Normal file → Executable file
|
|
@ -1,14 +1,15 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import itertools
|
||||
import json
|
||||
import sys
|
||||
|
||||
python_versions = ("3.5", "3.6")
|
||||
python_versions = ("3.5", "3.6", "3.7", "3.8")
|
||||
latest_python = "3.6"
|
||||
|
||||
cfg = {}
|
||||
|
||||
cfg['sudo'] = True
|
||||
cfg['dist'] = 'trusty'
|
||||
cfg['dist'] = 'bionic'
|
||||
cfg['language'] = 'python'
|
||||
cfg['cache'] = 'pip'
|
||||
|
||||
|
|
@ -57,11 +58,11 @@ for python, requirements in itertools.product(
|
|||
job = {
|
||||
'python': python,
|
||||
'env': ("BUILD=test-storage "
|
||||
"DAV_SERVER={dav_server} "
|
||||
"REQUIREMENTS={requirements} "
|
||||
.format(dav_server=dav_server,
|
||||
requirements=requirements))
|
||||
f"DAV_SERVER={dav_server} "
|
||||
f"REQUIREMENTS={requirements} ")
|
||||
}
|
||||
if python == '3.5':
|
||||
job['dist'] = 'trusty'
|
||||
|
||||
build_prs = dav_server not in ("fastmail", "davical", "icloud")
|
||||
if not build_prs:
|
||||
|
|
@ -82,4 +83,5 @@ matrix.append({
|
|||
# 'env': 'BUILD=test'
|
||||
# })
|
||||
|
||||
json.dump(cfg, sys.stdout, sort_keys=True, indent=2)
|
||||
with open('.travis.yml', 'w') as output:
|
||||
json.dump(cfg, output, sort_keys=True, indent=2)
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -89,6 +89,8 @@ setup(
|
|||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Topic :: Internet',
|
||||
'Topic :: Utilities',
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue