seomoz / shovel

Rake, for Python
MIT License
660 stars 49 forks source link

Support path.py>=10.0 via s/path.path/path.Path/g #38

Closed tomeon closed 6 years ago

tomeon commented 6 years ago

I am working on an Arch Linux PKGBUILD for shovel and ran into an issue running the test suite: Arch Linux is on path.py 10.4, which no longer provides the path class., so tests bailed out with an ImportError. This PR adds the usual try/except ImportError two-step for path.py so that the test suite is compatible with the most recent path.py releases as well as legacy releases.

Thanks in advance for your consideration!