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 -> 

[update] vdirsyncer 0.16.2

2017-08-28 Thread Remi Locherer
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.

Remi



Index: Makefile
===
RCS file: /cvs/ports/productivity/vdirsyncer/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile17 Jul 2017 00:09:56 -  1.3
+++ Makefile28 Aug 2017 20:30:57 -
@@ -2,7 +2,7 @@
 
 COMMENT =  synchronize calendars and contacts
 
-MODPY_EGG_VERSION =0.16.0
+MODPY_EGG_VERSION =0.16.2
 DISTNAME = vdirsyncer-${MODPY_EGG_VERSION}
 CATEGORIES =   productivity
 
Index: distinfo
===
RCS file: /cvs/ports/productivity/vdirsyncer/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo17 Jul 2017 00:09:56 -  1.2
+++ distinfo28 Aug 2017 20:30:57 -
@@ -1,2 +1,2 @@
-SHA256 (vdirsyncer-0.16.0.tar.gz) = 
z9v6eZNzygj1M7/Fe9DTr+/oosX4RXgts4uImhmsqVg=
-SIZE (vdirsyncer-0.16.0.tar.gz) = 113408
+SHA256 (vdirsyncer-0.16.2.tar.gz) = 
qoGfKfS80ffdVqmNzt23GVasiQ2KNEFN+aLe+lj/uKc=
+SIZE (vdirsyncer-0.16.2.tar.gz) = 112083
Index: pkg/PLIST
===
RCS file: /cvs/ports/productivity/vdirsyncer/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   17 Jul 2017 00:09:56 -  1.2
+++ pkg/PLIST   28 Aug 2017 20:30:57 -
@@ -50,7 +50,6 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/vdirsyncer/storage/${MODPY_PYCACHE}google.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/vdirsyncer/storage/${MODPY_PYCACHE}http.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/vdirsyncer/storage/${MODPY_PYCACHE}memory.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/vdirsyncer/storage/${MODPY_PYCACHE}remotestorage.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/vdirsyncer/storage/${MODPY_PYCACHE}singlefile.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/vdirsyncer/storage/base.py
 lib/python${MODPY_VERSION}/site-packages/vdirsyncer/storage/dav.py
@@ -59,7 +58,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/vdirsyncer/storage/google.py
 lib/python${MODPY_VERSION}/site-packages/vdirsyncer/storage/http.py
 lib/python${MODPY_VERSION}/site-packages/vdirsyncer/storage/memory.py
-lib/python${MODPY_VERSION}/site-packages/vdirsyncer/storage/remotestorage.py
 lib/python${MODPY_VERSION}/site-packages/vdirsyncer/storage/singlefile.py
 lib/python${MODPY_VERSION}/site-packages/vdirsyncer/sync.py
 lib/python${MODPY_VERSION}/site-packages/vdirsyncer/utils.py