Ignore version constraints in setup.py
's
#2065
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.
Overview
This PR makes it so that
setup.py
's ignore the pinned versions inrequirement.txt
's. This addresses the frequent complaint of RV not being easy to use with other libraries because of the strong constraints on dependency versions. The pinned versions will now only be used for building the docker image.If a constraint is crucial, it can be specified in the
requirement_constraints
dict in the respectivesetup.py
(see the one inrastervision_pipeline
for an example).Additionally, the
onnxruntime-gpu
requirement has been removed, since it is hardware-dependent.Checklist
needs-backport
label if the change should be back-ported to the previous releaseNotes
N/A
Testing Instructions
Fixes the
onnxruntime-gpu
part of #1867.