qiskit-serverless icon indicating copy to clipboard operation
qiskit-serverless copied to clipboard

Limit dependencies to use in Qiskit Functions

Open pacomf opened this issue 2 years ago • 2 comments

What is the expected behavior?

We need a way to configure in Serverless the dependencies to use (like a white list or black list, think about it), to restrict in someway external libraries to install and use it. Even it can be great if we can restrict access to external APIs, IPs or services (following the same approach with white list or black list).

It is a open question... think about it and design a proposal that can fit with that idea.

pacomf avatar Mar 27 '23 18:03 pacomf

we can simply have list of backlisted packages and check them agains dependencies argument in Program

IceKhan13 avatar Apr 11 '23 12:04 IceKhan13

A framework for this was implemented in #1443 Further work needs to be done to implement the full range of requirement specifiers in https://peps.python.org/pep-0508/ Then someone also has to come up with what we want to allowlist

psschwei avatar Aug 15 '24 00:08 psschwei