Coder Social home page Coder Social logo

Show lxml version requirement about owslib HOT 4 CLOSED

geopython avatar geopython commented on August 21, 2024
Show lxml version requirement

from owslib.

Comments (4)

tomkralidis avatar tomkralidis commented on August 21, 2024

If we put this in requirements.txt for pip, would this tie to lxml as a hard requirement? Or should we put a workaround in the code if lxml is found? cc @kwilcox

from owslib.

kwilcox avatar kwilcox commented on August 21, 2024

OWSLib doesn't require lxml, it will just make things faster. Some of the recent WFS code that was written depended on lxml functionality and should be replaced with the common etree interface. The tests pick these failures up, I just haven't had any time to clean them up.

Regarding supporting an older lxml, I'll look into it. I think it would be best to test the version of lxml in the code and register the namespaces differently. Adding lxml to requirements.txt will remove support for jython and pypy.

from owslib.

kwilcox avatar kwilcox commented on August 21, 2024

This was fixed in 7453eb4

Tests now pass with lxml==2.2.

from owslib.

kwilcox avatar kwilcox commented on August 21, 2024

7453eb4 has been reverted, so this is now a bug again

from owslib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.