h2non / jsonpath-ng

Finally, a JSONPath implementation for Python that aims to be standard compliant. That's all. Enjoy!
Apache License 2.0
603 stars 87 forks source link

1.5.0 python3 issue #35

Closed ClericPy closed 4 years ago

ClericPy commented 4 years ago

https://pypi.org/project/jsonpath-ng/#files not found py3 wheel file?

Today I run pip3 install -U jsonpath_ng

jsonpath_ng-1.5.0-py3-none-any.whl downloaded, but after unziping the wheel file, __init__.py is 1.4.3, and the master branch is also 1.4.3 https://github.com/h2non/jsonpath-ng/blob/405cd60c1023e7d1c911f4193fe55c2eb23c3122/jsonpath_ng/__init__.py#L6

__version__ = '1.4.3'

Test code:

from jsonpath_ng.ext import parse as jp_parse

On windows python3.7 it works well

but on linux (ubuntu18) python3.7, 3.8 it raised an error

E ModuleNotFoundError: No module named 'jsonpath_ng.ext'; 'jsonpath_ng' is not a package

linux pip log snippets

Collecting jsonpath_ng
  Downloading jsonpath-ng-1.5.0.tar.gz (30 kB)
Running setup.py install for jsonpath-ng: started
    Running setup.py install for jsonpath-ng: finished with status 'done'

image

View the pip log, it says build error, but Successfully installed decorator-4.4.2 jsonpath-ng-1.5.0 ply-3.11 six-1.14.0