From: Sergio F. <ser...@fu...> - 2012-01-20 21:24:22
|
Dear Thomas, thanks so much for the proposed patch. I applied most of them on the svn, tested with the recent RDFLib release. About the tests that currently failed, I guess there is no mandatory result for those requests right now, so code is actaully not valid. Anyway we are keeping them on the test suite for future testing. Hope next week we would publish a new release with these changes and some others. Thanks for your collaboration! Cheers, On 10 January 2012 21:45, Thomas Kluyver <ta...@gm...> wrote: > The attached patch against trunk gets SPARQLWrapper working on Python 3, > without sacrificing Python 2 compatibility (unlike the python3 branch > currently in svn). 2to3 runs during installation to convert the package. It > also includes a few bits of code polishing. > > The development version of rdflib recently gained Python 3 compatibility - > you'll need to install this to test on Python 3: > http://code.google.com/p/rdflib/source/checkout > > A couple of tests are currently failing (both on Python 2 and 3). These are > the tests making CONSTRUCT queries with JSON - in this case, the accept > header for the request is set to "*/*" (_ALL), and the server returns a type > that apparently the tests aren't expecting (interestingly, the response type > is different for GET and POST requests). I'm not sure whether the code or > the tests should be changed. > > Thanks, > Thomas > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > sparql-wrapper-devel mailing list > spa...@li... > https://lists.sourceforge.net/lists/listinfo/sparql-wrapper-devel > -- Sergio Fernández CTIC - Technological Center Parque Científico y Tecnológico de Gijón C/ Ada Byron, 39 Edificio Centros Tecnológicos 33203 Gijón - Asturias - Spain Tel.: +34 984 29 12 12 Fax: +34 984 39 06 12 E-mail: ser...@fu... http://www.fundacionctic.org Privacy Policy: http://www.fundacionctic.org/privacidad |