Skip to content

Commit 8726569

Browse files
committed
Use pathlib2
The dependency on `pathlib` was added in pytest-dev#631. A backport is needed for Python <3.4. The `pathlib` package [on PyPI](https://pypi.org/project/pathlib/) is maintenance-only and comes with a message about using `pathlib2` for an up-to-date version, still importable as `pathlib`. Also `pytest` itself uses `pathlib2` so currently I'm getting both packages installed, one on top of the other, woops! This change in `setup.py` seems to be all that's needed to switch.
1 parent 5619f16 commit 8726569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def read(fname):
3232
setup_requires=['setuptools_scm>=1.11.1'],
3333
install_requires=[
3434
'pytest>=3.6',
35-
'pathlib;python_version<"3.4"',
35+
'pathlib2;python_version<"3.4"',
3636
],
3737
extras_require={
3838
'docs': [

0 commit comments

Comments
 (0)