jsonquerylang / jsonquerylang/jsonquery-python

Python 3.14 Compatibility

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
55
Forks
3
PR merge metrics
No merged PRs in 30d

Description

$ pip list | grep jsonq
jsonquerylang           2.0.1
$ python
Python 3.14.0 (main, Oct 10 2025, 12:47:49) [Clang 20.1.4 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import jsonquerylang
Traceback (most recent call last):
  File "<python-input-0>", line 1, in <module>
    import jsonquerylang
  File "/.../site-packages/jsonquerylang/__init__.py", line 1, in <module>
    from jsonquerylang.jsonquery import jsonquery
  File "/.../site-packages/jsonquerylang/jsonquery.py", line 1, in <module>
    from jsonquerylang.compile import compile
  File "/.../site-packages/jsonquerylang/compile.py", line 4, in <module>
    from jsonquerylang.types import JsonQueryType, JsonType, JsonQueryOptions
  File "/.../site-packages/jsonquerylang/types.py", line 4, in <module>
    List["JsonValueType"] | Mapping[str, "JsonValueType"] | "JsonValueType"
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for |: 'typing.Union' and 'str'
>>>

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read jsonquerylang/types.py, especially the annotation reported at line 4, then reproduce the import failure with Python 3.14. Confirm the compatibility change by verifying that importing jsonquerylang succeeds on Python 3.14 without the reported TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.