[ckan-dev] Travis CI build
lucia.espona at wsl.ch
lucia.espona at wsl.ch
Tue Mar 21 09:50:52 UTC 2017
Hi Stéphane
I am not 100% sure how I fixed it but I think it was by modifying the requirements.txt: https://github.com/espona/ckanext-composite/blob/master/dev-requirements.txt#L1
pytz==2016.4 lxml>=2.3
I also omitted some tests: https://github.com/espona/ckanext-composite/commit/2a03e2af3010226f869aa3142cc8d977028a84e0
I hope it helps,
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" <ckan-dev-bounces at lists.okfn.org> wrote: -----
To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
From: Stéphane Lapointe
Sent by: "ckan-dev"
Date: 14.03.2017 13:35
Subject: Re: [ckan-dev] Travis CI build
Hi,
same problem here. Did you find a solution?
Thank you
Le 2016-10-24 à 12:30, lucia.espona at wsl.ch a écrit :
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
_______________________________________________
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
--
Stphane Lapointe
Analyste programmeur ÿ| ÿProgrammer Analyst
ÿ
Observatoire global du Saint-Laurentÿ |ÿ St. Lawrence Global Observatory
310, alle des Ursulines
Rimouski Qc Canadaÿ G5L 3A1
Tlphoneÿ |ÿ Telephoneÿ:ÿ418.723.8372ÿÿ poste | ext. 1195
Internetÿ:ÿhttp://ogsl.ca ÿ |ÿhttp://slgo.ca
Suivez-nous sur | Follow Us :ÿFacebook ÿ|ÿTwitter ÿ|ÿLinkedIn
_______________________________________________
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/20170321/7dcc467d/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image.part5.6141E8FE.7662BC26 at ogsl.ca.png
Type: image/png
Size: 27074 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20170321/7dcc467d/attachment-0003.png>
More information about the ckan-dev
mailing list