This repository was archived by the owner on May 18, 2023. It is now read-only.
Update requirements to fix Py3.8 build #6
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.
The previous version constraints only successfully built PLUR in a Python 3.9 environment. The below refines some of these versions to work with Python 3.8, and in particular, to be compatible with a Tensorflow 2.8.0-GPU Docker image, which ships with that version of Python by default. I expect that these changes will fix setup bugs in other environments too, and plan to push the corresponding docker image and/or Dockerfile soon to simplify the setup process.
This mostly required freezing a higher version of a few packages to avoid conflicts and adding a few new explicit version requirements. Some of the new version constraints are probably too rigid and can be converted into
>=; feel free to edit if so. The Jaxlib import is to ensure that a Cuda-compatible version is used, which does not happen by default. That might be too specific for this repository, so feel free to ignore that change.