Closed PoCk3T closed 4 years ago
I'm running Python 3.6.9 without any errors. Is it possible too upgrade Python to the latest version and run it again?
If not. Can you post your code what's generate this error?
I unfortunately can't upgrade to Python3.6.9 for compatibility purposes
I tried to create a minimal Docker environment where this issue would reproduce, based on the same Python 3.5.2 and all other libraries I use, I could reproduce the issue with a simple "import jhtalib as jhta", no other code needed
Steps to reproduce:
Wow, less than 20 hours after I opened the issue, well done :) I will give it a try!
Thank you for that, and thank you for the whole library in general, tremendously helpful Keep on the good work !
Describe the bug See https://github.com/joosthoeks/jhTAlib/commit/8b434ec70a1cde608e6473e67a794f327ce5fe36#commitcomment-38003743
It seems like this commit is bringing a new file decorators.py which doesn't run on Python3.5 : _File "/root/venv/lib/python3.5/site-packages/jhtalib/decorators.py", line 20 print(f"Finished {func.name!r} in {runtime:.4f} secs") ^ SyntaxError: invalid syntax
To Reproduce Steps to reproduce the behavior:
Expected behavior No SyntaxError on import jhtalib as jhta
Additional context Before upgrading jhTAlib, and without any change to my own code, all was working fine