Re: [update] vdirsyncer 0.16.2

2017-08-28 Thread Daniel Jakots
On Mon, 28 Aug 2017 22:19:24 -0400, Daniel Jakots 
wrote:

> On Mon, 28 Aug 2017 22:43:10 +0200, Remi Locherer
>  wrote:
> 
> > Hi,
> > 
> > This updates vdirsyncer to version 0.16.2 released few days ago.
> > 
> > From the change log:
> > --
> > Version 0.16.2
> > 
> > released on 24 August 2017
> > 
> > Fix crash when using daterange or item_type filters
> > in :storage:`google_calendar`, see :gh:`657`. Packagers: Fixes for
> > new version 0.2.0 of click-log. The version requirements for the
> > dependency click-log changed.
> > 
> > Version 0.16.1
> > 
> > released on 8 August 2017
> > 
> > Removed remoteStorage support, see :gh:`647`.
> > Fixed test failures caused by latest requests version,
> > see :gh:`660`. --
> > 
> > I tested it with my collection of contacts against Baikal.  
> 
> When I ran make fake I've got some errors

Meh. I didn't have latest py-click-log installed, works fine with but

> and make test also fails

Still:
/usr/ports/productivity/vdirsyncer$ make test  
===>  Regression tests for vdirsyncer-0.16.2
running test
running egg_info
writing vdirsyncer.egg-info/PKG-INFO
writing dependency_links to vdirsyncer.egg-info/dependency_links.txt
writing entry points to vdirsyncer.egg-info/entry_points.txt
writing requirements to vdirsyncer.egg-info/requires.txt
writing top-level names to vdirsyncer.egg-info/top_level.txt
reading manifest file 'vdirsyncer.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'contrib'
no previously-included directories found matching 'scripts'
no previously-included directories found matching 'tests/storage/etesync'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*.py[cdo]' found anywhere in 
distribution
warning: no previously-included files matching '__pycache__' found anywhere in 
distribution
warning: no previously-included files matching '*.so' found anywhere in 
distribution
warning: no previously-included files matching '*.pyd' found anywhere in 
distribution
writing manifest file 'vdirsyncer.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "./setup.py", line 103, in 
'Topic :: Utilities',
  File "/usr/local/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
  File "/usr/local/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
  File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
  File "/usr/local/lib/python3.6/site-packages/setuptools/command/test.py", 
line 210, in run
self.run_tests()
  File "/usr/local/lib/python3.6/site-packages/setuptools/command/test.py", 
line 231, in run_tests
testRunner=self._resolve_as_ep(self.test_runner),
  File "/usr/local/lib/python3.6/unittest/main.py", line 94, in __init__
self.parseArgs(argv)
  File "/usr/local/lib/python3.6/unittest/main.py", line 124, in parseArgs
self._do_discovery([])
  File "/usr/local/lib/python3.6/unittest/main.py", line 229, in _do_discovery
self.test = loader.discover(self.start, self.pattern, self.top)
  File "/usr/local/lib/python3.6/unittest/loader.py", line 341, in discover
tests = list(self._find_tests(start_dir, pattern))
  File "/usr/local/lib/python3.6/unittest/loader.py", line 398, in _find_tests
full_path, pattern, namespace)
  File "/usr/local/lib/python3.6/unittest/loader.py", line 475, in 
_find_test_path
tests = self.loadTestsFromModule(package, pattern=pattern)
  File "/usr/local/lib/python3.6/site-packages/setuptools/command/test.py", 
line 42, in loadTestsFromModule
tests.append(self.loadTestsFromName(submodule))
  File "/usr/local/lib/python3.6/unittest/loader.py", line 190, in 
loadTestsFromName
return self.loadTestsFromModule(obj)
  File "/usr/local/lib/python3.6/site-packages/setuptools/command/test.py", 
line 42, in loadTestsFromModule
tests.append(self.loadTestsFromName(submodule))
  File "/usr/local/lib/python3.6/unittest/loader.py", line 153, in 
loadTestsFromName
module = __import__(module_name)
  File 
"/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/tests/storage/dav/__init__.py",
 line 20, in 
dav_server = os.environ['DAV_SERVER']
  File "/usr/local/lib/python3.6/os.py", line 669, in __getitem__
raise KeyError(key) from None
KeyError: 'DAV_SERVER'
*** Error 1 in . (/usr/ports/lang/python/python.port.mk:197 'do-test': @cd 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2 && /usr/bin/e...)
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2745 
'/usr/ports/pobj/vdirsyncer-0.16.2/.test_done')
*** Error 1 in /usr/ports/productivity/vdirsyncer 
(/usr/ports/infrastructure/mk/bsd.port.mk:2420 'test')

Does it work for you if you put a DAV_SERVER in your env?



Re: [update] vdirsyncer 0.16.2

2017-08-28 Thread Daniel Jakots
On Mon, 28 Aug 2017 22:43:10 +0200, Remi Locherer
 wrote:

> Hi,
> 
> This updates vdirsyncer to version 0.16.2 released few days ago.
> 
> From the change log:
> --
> Version 0.16.2
> 
> released on 24 August 2017
> 
> Fix crash when using daterange or item_type filters
> in :storage:`google_calendar`, see :gh:`657`. Packagers: Fixes for
> new version 0.2.0 of click-log. The version requirements for the
> dependency click-log changed.
> 
> Version 0.16.1
> 
> released on 8 August 2017
> 
> Removed remoteStorage support, see :gh:`647`.
> Fixed test failures caused by latest requests version,
> see :gh:`660`. --
> 
> I tested it with my collection of contacts against Baikal.

When I ran make fake I've got some errors and make test also fails
here.
Log:

/usr/ports/productivity/vdirsyncer$ make fake  
===>  Checking files for vdirsyncer-0.16.2
`/usr/ports/distfiles/vdirsyncer-0.16.2.tar.gz' is up to date.
>> (SHA256) vdirsyncer-0.16.2.tar.gz: OK
===> vdirsyncer-0.16.2 depends on: py3-sphinx-* -> py3-sphinx-1.4.8p0
===> vdirsyncer-0.16.2 depends on: py3-setuptools_scm-* -> 
py3-setuptools_scm-1.15.6
===> vdirsyncer-0.16.2 depends on: py3-atomicwrites-* -> py3-atomicwrites-1.1.5
===> vdirsyncer-0.16.2 depends on: py3-click-log-* -> py3-click-log-0.1.8
===> vdirsyncer-0.16.2 depends on: py3-click-threading-* -> 
py3-click-threading-0.4.3
===> vdirsyncer-0.16.2 depends on: py3-requests-toolbelt-* -> 
py3-requests-toolbelt-0.7.1
===> vdirsyncer-0.16.2 depends on: python->=3.6,<3.7 -> python-3.6.2
===> vdirsyncer-0.16.2 depends on: py3-setuptools->=28.6.1v0 -> 
py3-setuptools-28.6.1p0v0
===>  Extracting for vdirsyncer-0.16.2
===>  Patching for vdirsyncer-0.16.2
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: cc -> /usr/bin/cc
===>  Compiler link: c++ -> /usr/bin/c++
===>  Configuring for vdirsyncer-0.16.2
===>  Building for vdirsyncer-0.16.2
running egg_info
writing vdirsyncer.egg-info/PKG-INFO
writing dependency_links to vdirsyncer.egg-info/dependency_links.txt
writing entry points to vdirsyncer.egg-info/entry_points.txt
writing requirements to vdirsyncer.egg-info/requires.txt
writing top-level names to vdirsyncer.egg-info/top_level.txt
reading manifest file 'vdirsyncer.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'contrib'
no previously-included directories found matching 'scripts'
no previously-included directories found matching 'tests/storage/etesync'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*.py[cdo]' found anywhere in 
distribution
warning: no previously-included files matching '__pycache__' found anywhere in 
distribution
warning: no previously-included files matching '*.so' found anywhere in 
distribution
warning: no previously-included files matching '*.pyd' found anywhere in 
distribution
writing manifest file 'vdirsyncer.egg-info/SOURCES.txt'
running build
running build_py
creating /usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib
creating /usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyncer
copying vdirsyncer/sync.py -> 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyncer
copying vdirsyncer/http.py -> 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyncer
copying vdirsyncer/__main__.py -> 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyncer
copying vdirsyncer/metasync.py -> 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyncer
copying vdirsyncer/exceptions.py -> 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyncer
copying vdirsyncer/version.py -> 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyncer
copying vdirsyncer/__init__.py -> 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyncer
copying vdirsyncer/repair.py -> 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyncer
copying vdirsyncer/vobject.py -> 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyncer
copying vdirsyncer/utils.py -> 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyncer
creating 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyncer/storage
copying vdirsyncer/storage/google.py -> 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyncer/storage
copying vdirsyncer/storage/http.py -> 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyncer/storage
copying vdirsyncer/storage/__init__.py -> 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyncer/storage
copying vdirsyncer/storage/etesync.py -> 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyncer/storage
copying vdirsyncer/storage/singlefile.py -> 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyncer/storage
copying vdirsyncer/storage/filesystem.py -> 
/usr/ports/pobj/vdirsyncer-0.16.2/vdirsyncer-0.16.2/lib/vdirsyn