https://pantsbuild.org/ logo
#general
Title
# general
c

calm-ambulance-65371

10/17/2022, 6:14 PM
Hello, I have a non-public dependency that is not published on PyPi that has an overlapping name with a package on PyPi. Further, it is a C extension and compiled against a particular version of Python. I need to specify the specific index this package comes from, but only for this package, and it must ignore the pypi name conflict. Is there a way to do this?
We do not have access to the source of this package, so installing from a repo is not an option
Ok, I think I figured out how to get around that, but it seems the fact that needs stricter constraints than the projects global constraints is starting to be a problem
Is it possible to restrict a particular resolve to a more strict
interpreter_constraints
than what's default?
h

happy-kitchen-89482

10/17/2022, 9:30 PM
cc @hundreds-father-404 who is the expert here
c

calm-ambulance-65371

10/17/2022, 9:32 PM
oh sorry, this isn't necessary, I was able to get it working with
; python_version == "3.8"
in the requirements.txt