[ckan-dev] Travis CI build

Stéphane Lapointe lapointes at ogsl.ca
Tue Mar 14 12:35:39 UTC 2017


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 <http://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 <http://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

-- 

Stéphane Lapointe

*Analyste programmeur  |  Programmer Analyst*

https://ogsl.ca/images/visuel/Equipe/signatures/logos.png

*Observatoire global du Saint-Laurent  |  St. Lawrence Global Observatory*

310, allée des Ursulines

Rimouski Qc Canada  G5L 3A1

Téléphone  |  Telephone : 418.723.8372   poste | ext. 1195

Internet : http://ogsl.ca <http://ogsl.ca/>   | http://slgo.ca 
<http://slgo.ca/>

Suivez-nous sur | Follow Us : Facebook 
<https://www.facebook.com/pages/OGSL/140878112686019>  | Twitter 
<https://twitter.com/#%21/OGSL_SLGO>  | LinkedIn 
<http://www.linkedin.com/company/observatoire-global-du-saint-laurent---ogsl> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20170314/415ed285/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logos.png
Type: image/png
Size: 27074 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20170314/415ed285/attachment-0002.png>


More information about the ckan-dev mailing list