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

TypeError: '>' not supported between instances of 'NoneType' and 'sys.version_info' #33

Open
kistlin opened this issue Aug 8, 2023 · 0 comments · May be fixed by #34
Open

TypeError: '>' not supported between instances of 'NoneType' and 'sys.version_info' #33

kistlin opened this issue Aug 8, 2023 · 0 comments · May be fixed by #34

Comments

@kistlin
Copy link

kistlin commented Aug 8, 2023

I tried to use it with Python 3.11 and get an error now. Maybe it's package version issues.
It doesn't work on Linux with fixed package versions I used previously nor with the latest package versions. On macOS I had similar issues, but an older Python version and fixed package versions still worked.

Exception has occurred: TypeError       (note: full exception trace is shown but execution is paused at: _run_module_as_main)
'>' not supported between instances of 'NoneType' and 'sys.version_info'
  File "env/lib/python3.11/site-packages/plydata/eval.py", line 17, in _all_future_flags
    if feature.getMandatoryRelease() > sys.version_info:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "env/lib/python3.11/site-packages/plydata/eval.py", line 22, in <module>
    _ALL_FUTURE_FLAGS = _all_future_flags()
                        ^^^^^^^^^^^^^^^^^^^
  File "env/lib/python3.11/site-packages/plydata/operators.py", line 6, in <module>
    from .eval import EvalEnvironment
  File "env/lib/python3.11/site-packages/plydata/one_table_verbs.py", line 6, in <module>
    from .operators import DataOperator
  File "env/lib/python3.11/site-packages/plydata/__init__.py", line 1, in <module>
    from .one_table_verbs import *  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "experience.py", line 11, in <module>
    import plydata as pld
  File "/usr/lib/python3.11/runpy.py", line 88, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.11/runpy.py", line 198, in _run_module_as_main (Current frame)
    return _run_code(code, main_globals, None,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '>' not supported between instances of 'NoneType' and 'sys.version_info'
@danich1 danich1 linked a pull request Sep 19, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant