Closed charlesbmi closed 1 year ago
Note: I was wondering why this error wasn't caught by the CI test, and it looks like the macos-latest, 3.11
test is somehow installing the 3.10
version of pyrevolve
from the cache, so it doesn't run into this error: https://github.com/agencyenterprise/neurotechdevkit/actions/runs/5978164639/job/16220900420?pr=144
(If you search for pyrevolve
in the logs, you'll see that it is annotated as 3.10
)
Patch has no changes to coverable lines.
:loudspeaker: Thoughts on this report? Let us know!.
Looks like CI is running into that issue now, thanks for fixing it @charlesincharge !
Issue link: https://github.com/agencyenterprise/neurotechdevkit/issues/149
Introduction
pyrevolve
is a dependency ofdevito
(the solver for thestride
backend).The currently
poetry.lock
specified version ofpyrevolve==2.2.2
is broken for Python 3.11 due to a Cython versioning error. This is fixed inpyrevolve==2.2.3
, as noted in https://github.com/devitocodes/pyrevolve/releases/tag/v2.2.3Changes
Temporarily specify
pyrevolve==2.2.3
, runpoetry lock --no-update
, then un-specifypyrevolve==2.2.3
(in case we want the up-to-date version in the future).Behavior
Should be able to install
neurotechdevkit
using Python 3.11 on macOS and Ubuntu.To test:
poetry install
insideneurotechdevkit
This is also tested by our CI tests.