devika
devika copied to clipboard
Update researcher.py
there is a Unsupported operand type s for |: type and type error, ive done a few changes
The problem was just that python < 3.10 is incompatible with new typing syntax. Not sure if all type hints should be rewritten in a compatible manner or if the project should just require python >= 3.10 which is quite reasonable in 2024.
On a MacOS MacBook M1 Even with a Python version 3.12. the error still persisted
On Thu, Apr 4, 2024, 17:10 jmtatsch @.***> wrote:
The problem was just that python < 3.10 is incompatible with new typing syntax. Not sure if all type hints should be rewritten in a compatible manner or if the project should just require python >= 3.10 which is quite reasonable in 2024.
— Reply to this email directly, view it on GitHub https://github.com/stitionai/devika/pull/346#issuecomment-2036935682, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARARZ5I5MSQXB2KRTL5D4WTY3U3Y7AVCNFSM6AAAAABFW7HD5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZWHEZTKNRYGI . You are receiving this because you authored the thread.Message ID: @.***>
That is impossible. Maybe your venv uses an older python version? How did you install python 3.12? brew?
copy of https://github.com/stitionai/devika/pull/345
we recommand to use >= 3.10 and < 3.12. I tested it with that not an issue. currently, so many projects doesn't support 3.12