[ckan-dev] Travis CI build

lucia.espona at wsl.ch lucia.espona at wsl.ch
Mon Oct 24 16:30:06 UTC 2016


Hi again

Now I hava a version conflict with pytz, any ideas?

pkg_resources.VersionConflict:  (pytz 2012j  (/home/travis/virtualenv/python2.7.12/lib/python2.7/site-packages),  Requirement.parse('pytz>=0a'))

I guess there is some version number parsing issue, I think 2012j is greated than 0a (log below)

Best
Lucia

/home/travis/build/espona/ckanext-composite
Installing ckanext-composite and its requirements...
Traceback (most recent call last):
File "setup.py", line 95, in <module>
('**/templates/**.html', 'ckan', None),
File "/opt/python/2.7.12/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/home/travis/virtualenv/python2.7.12/lib/python2.7/site-packages/setuptools/dist.py", line 269, in __init__
_Distribution.__init__(self,attrs)
File "/opt/python/2.7.12/lib/python2.7/distutils/dist.py", line 287, in __init__
self.finalize_options()
File "/home/travis/virtualenv/python2.7.12/lib/python2.7/site-packages/setuptools/dist.py", line 324, in finalize_options
ep.require(installer=self.fetch_build_egg)
File "/home/travis/virtualenv/python2.7.12/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2326, in require
items = working_set.resolve(reqs, env, installer)
File "/home/travis/virtualenv/python2.7.12/lib/python2.7/site-packages/pkg_resources/__init__.py", line 810, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (pytz 2012j (/home/travis/virtualenv/python2.7.12/lib/python2.7/site-packages), Requirement.parse('pytz>=0a'))


_________________________________________________________
Dr. Lucia Espona Pernas

Swiss Federal Institute for Forest, Snow and Landscape Research WSL
Hauptgebäaude Labortrakt (HL C21)
Zürcherstrasse 111
8903 Birmensdorf
Switzerland

+41 44 739 28 71 phone direct
+41 44 739 21 11 reception

www.wsl.ch

-----"ckan-dev" <ckan-dev-bounces at lists.okfn.org> wrote: -----
To: "CKAN Development Discussions" <ckan-dev at lists.okfn.org>
From: lucia.espona at wsl.ch
Sent by: "ckan-dev" 
Date: 24.10.2016 17:12
Subject: [ckan-dev] Travis CI build

 Dear all

I have developed a couple of extensions and they are failing in the Travis CI run.
I copied some build stuff from other extension (ckan/ckanex-spatial) to try to make it work.

The extension I am testing now (espona/ckanext-composite) fails because it depends on ckanext-scheming and ckanext-repeating.
I do not know how to put in the travis-build.bash file (or wherever it should be especified) this requirement.

Does anyone have an idea how to do that?

Many thanks in advance for your help.

Best,
Lucia
 
_________________________________________________________
Dr. Lucia Espona Pernas

Swiss Federal Institute for Forest, Snow and Landscape Research WSL
Hauptgebäaude Labortrakt (HL C21)
Zürcherstrasse 111
8903 Birmensdorf
Switzerland

+41 44 739 28 71 phone direct
+41 44 739 21 11 reception

www.wsl.ch 
_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org
https://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20161024/031951cb/attachment-0003.html>


More information about the ckan-dev mailing list