Bugfix: unable to install with Python 3.12 #47
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Updated poetry lock file to enable installation with Python 3.12. If you're running 3.11 you don't need to do anything.
Why
Was previously adding new packages with
poetry lock --no-update
which didn't register new versions of numpy in thepoetry.lock
file, so the 3.12 distributions weren't available to poetry.Test plan
First recreated the
lexyserver
andlexyworker
images so that they're running new packages inpoetry.lock
.Then ran some regular tests.
pytest sdk-python
in terminalexamples/tests.ipynb
and verify that there are no errorsexamples/tutorial.ipynb
and verify that the tutorial works as expectedexamples/images.ipynb
and verify that the tutorial works as expectedThen tried installing in new virtualenv for Python 3.12.
One thing I have not done is run tests in 3.12. This just fixes the ability to install with 3.12. We still need a full test suite that covers different python versions.