Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails with python 3.8 #40

Closed
yhager opened this issue Nov 27, 2019 · 2 comments
Closed

fails with python 3.8 #40

yhager opened this issue Nov 27, 2019 · 2 comments

Comments

@yhager
Copy link

yhager commented Nov 27, 2019

On a clean venv, running the first example from the documentation fails:

$ python -m venv jq
$ jq/bin/pip install jq
Collecting jq
  Using cached https://files.pythonhosted.org/packages/82/0c/bf3f544f850cef19f4468bea93e4d0aa908e0d8c601609ba1ed561b42c79/jq-0.1.6.tar.gz
Installing collected packages: jq
  Running setup.py install for jq ... done
Successfully installed jq-0.1.6
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
$ jq/bin/python
Python 3.8.0 (default, Oct 23 2019, 18:51:26) 
[GCC 9.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from jq import jq
>>> jq(".").transform("42") == "42"
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "jq.pyx", line 131, in jq._Program.transform (jq.c:1925)
TypeError: 'cython_function_or_method' object does not support vectorcall
>>> 
PrettyWood added a commit to ToucanToco/peakina that referenced this issue Mar 18, 2020
jq is not maintained and doesn't work with python 3.8
(mwilliamson/jq.py#40)
Let's use another lib to handle jq filters
PrettyWood added a commit to ToucanToco/peakina that referenced this issue Mar 18, 2020
jq is not maintained and doesn't work with python 3.8
(mwilliamson/jq.py#40)
Let's use another lib to handle jq filters
PrettyWood added a commit to ToucanToco/peakina that referenced this issue Mar 18, 2020
jq is not maintained and doesn't work with python 3.8
(mwilliamson/jq.py#40)
Let's use another lib to handle jq filters
PrettyWood added a commit to ToucanToco/peakina that referenced this issue Mar 18, 2020
jq is not maintained and doesn't work with python 3.8
(see mwilliamson/jq.py#40)
Let's use another lib to handle jq filters
PrettyWood added a commit to ToucanToco/peakina that referenced this issue Mar 18, 2020
jq is not maintained and doesn't work with python 3.8
(see mwilliamson/jq.py#40)
Let's use another lib to handle jq filters
PrettyWood added a commit to ToucanToco/peakina that referenced this issue Mar 18, 2020
jq is not maintained and doesn't work with python 3.8
(see mwilliamson/jq.py#40)
Let's use another lib to handle jq filters
PrettyWood added a commit to ToucanToco/peakina that referenced this issue Mar 18, 2020
jq is not maintained and doesn't work with python 3.8
(see mwilliamson/jq.py#40)
Let's use another lib to handle jq filters
@mwilliamson
Copy link
Owner

Python 3.8 should be supported in the latest version, 0.1.7. Could you give it a try?

@yhager
Copy link
Author

yhager commented Apr 17, 2020

Yes, 0.1.7 works with the above example. Thanks!

@yhager yhager closed this as completed Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants