static-frame / arraykit

Python C Extensions for StaticFrame
Other
8 stars 2 forks source link

3.11 dev requirement invoke 1.4 incompatible with python 3.11 #154

Closed gettodaze closed 5 months ago

gettodaze commented 5 months ago

requirements-dev-3_11.txt lists invoke==1.4.0, but invoke used inspect.getargspec until version 2.0.0 which was deprecated in python 3 and removed in 3.11: https://github.com/pyinvoke/invoke/issues/833

I get the error AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'? when running invoke with python 3.11 and invoke 1.4.

gettodaze commented 5 months ago

Also, running invoke performance requires pandas:

gettodaze_arraykit/performance/__main__.py", line 107, in DelimitedToArraysTypedPandasREF
    import pandas
ModuleNotFoundError: No module named 'pandas'

Should we add pandas as a dev requirement?

flexatone commented 5 months ago

Sorry about these. yes, I am using invoke==2.1.3 And yes, probably a good idea to add Pandas to the dev requirements... we cannot use StaticFrame as it might try to use the ArrayKit in development.