On Mon, 28 Aug 2017 22:19:24 -0400, Daniel Jakots <danj+o...@chown.me>
wrote:

> On Mon, 28 Aug 2017 22:43:10 +0200, Remi Locherer
> <remi.loche...@relo.ch> 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 <module>
    '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 <module>
    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?

Reply via email to