forked from quantopian/zipline
-
Notifications
You must be signed in to change notification settings - Fork 235
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
support for 3.12 #241
Comments
I think Zipline-Released v3.0.4 resolves this issue. Please confirm! |
i'm testing this on 3.12.3 on ubuntu 22.04 and osx Sonoma ================================================================================================== ERRORS ==================================================================================================
_____________________________________________________________________________ ERROR collecting tests/data/bundles/test_core.py _____________________________________________________________________________
ImportError while importing test module '/home/gonzo/Documents/zipline-reloaded/tests/data/bundles/test_core.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../.pyenv/versions/3.12.3/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/data/bundles/test_core.py:5: in <module>
from parameterized import parameterized
E ModuleNotFoundError: No module named 'parameterized'
____________________________________________________________________________ ERROR collecting tests/data/bundles/test_csvdir.py ____________________________________________________________________________
ImportError while importing test module '/home/gonzo/Documents/zipline-reloaded/tests/data/bundles/test_csvdir.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../.pyenv/versions/3.12.3/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/data/bundles/test_csvdir.py:14: in <module>
from zipline.testing.github_actions import skip_on
../../.pyenv/versions/3.12.3/envs/zipline/lib/python3.12/site-packages/zipline/testing/__init__.py:1: in <module>
from .core import ( # noqa
../../.pyenv/versions/3.12.3/envs/zipline/lib/python3.12/site-packages/zipline/testing/core.py:19: in <module>
from testfixtures import TempDirectory
E ModuleNotFoundError: No module named 'testfixtures'
____________________________________________________________________________ ERROR collecting tests/data/bundles/test_quandl.py ____________________________________________________________________________
ImportError while importing test module '/home/gonzo/Documents/zipline-reloaded/tests/data/bundles/test_quandl.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../.pyenv/versions/3.12.3/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/data/bundles/test_quandl.py:14: in <module>
from zipline.testing import (
../../.pyenv/versions/3.12.3/envs/zipline/lib/python3.12/site-packages/zipline/testing/__init__.py:1: in <module>
from .core import ( # noqa
../../.pyenv/versions/3.12.3/envs/zipline/lib/python3.12/site-packages/zipline/testing/core.py:19: in <module>
from testfixtures import TempDirectory
E ModuleNotFoundError: No module named 'testfixtures'
_____________________________________________________________________________ ERROR collecting tests/data/test_adjustments.py ______________________________________________________________________________ on both environments I'm getting the error above when i run the error repeats for the following test modules
|
Should be addressed by #259, please reopen if there are further issues. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment
$ python --version
--> 3.12$ python -c 'import math, sys;print(int(math.log(sys.maxsize + 1, 2) + 1))'
pip
,conda
, orother (please explain)
) pip$ pip freeze
or$ conda list
Now that you know a little about me, let me tell you about the issue I am
having:
Description of Issue
run
pip install zipline-reloaded
on python 3.12instalation fails
Here is how you can reproduce this issue on your machine:
Reproduction Steps
What steps have you taken to resolve this already?
install bcolz from git helps to solve the problems with bcolz and 3.12. but zipline still fails
Anything else?
log
logs is very long, but the same error repeats over and over. __Pyx_TraceCall, __Pyx_IsTracing and __Pyx_TraceReturn give errors.
Sincerely,
$ whoami
The text was updated successfully, but these errors were encountered: