Indigo icon indicating copy to clipboard operation
Indigo copied to clipboard

"No matching distribution found" When Installing epam.indigo in Docker Image

Open zachary-chiodini opened this issue 3 years ago • 6 comments

Hi,

When running a "pip install -r requirements.txt" command in a Dockerfile during a build, I consistently get the error "No matching distribution found for epam.indigo." I have tried the latest version of epam.indigo, earlier versions and no version specified. All give this error during the package installation step of the build.

I am building the image using a GitHub actions workflow onto the GitHub Package Registry. Here is a link to the repository.

What dependencies am I missing? The documentation simply says to run "pip install epam.indigo" to install the lastest version, but that is not working inside of this Docker build.

zachary-chiodini avatar Sep 28 '21 21:09 zachary-chiodini

Hi,

As I see your requirements.txt contains epam.indigo==1.4.0. This version is absent in PyPI, so could you please change this line to epam.indigo==1.5.0 and try again? Should work.

Regards, Ruslan

khyurri avatar Sep 29 '21 07:09 khyurri

Hi,

As I see your requirements.txt contains epam.indigo==1.4.0. This version is absent in PyPI, so could you please change this line to epam.indigo==1.5.0 and try again? Should work.

Regards, Ruslan

I receive the same error "Could not find a version that satisfies the requirement epam.indigo==1.5.0 "

Here is the link to the failed workflow.

zachary-chiodini avatar Sep 29 '21 11:09 zachary-chiodini

I've just checked your workflow, indigo downloaded successfully: https://github.com/zachary-chiodini/RESTful-APIs/runs/3743423260?check_suite_focus=true#step:8:1393

Error with something else in Dockerfile: https://github.com/zachary-chiodini/RESTful-APIs/runs/3743423260?check_suite_focus=true#step:8:2337

Regards, Ruslan

khyurri avatar Sep 29 '21 15:09 khyurri

I've just checked your workflow, indigo downloaded successfully: https://github.com/zachary-chiodini/RESTful-APIs/runs/3743423260?check_suite_focus=true#step:8:1393

Error with something else in Dockerfile: https://github.com/zachary-chiodini/RESTful-APIs/runs/3743423260?check_suite_focus=true#step:8:2337

Regards, Ruslan

The specific error I am referring to is found here, where it says "Could not find a version that satisfies the requirement epam.indigo==1.5.0 :" https://github.com/zachary-chiodini/RESTful-APIs/runs/3743423260?check_suite_focus=true#step:8:2319

If I remove epam.indigo from the requirements.txt file, the workflow completes successfully.

zachary-chiodini avatar Sep 29 '21 15:09 zachary-chiodini

The problem is most likely with epam.indigo, because it gives me the error "Could not find a version that satisfies the requirement epam.indigo==1.5.0," and completes successfully when I remove epam.indigo from the requirements.

zachary-chiodini avatar Oct 04 '21 14:10 zachary-chiodini

Hi @zachary-chiodini, It seems like you are building image for aarch64 architecture (see the end of line 1:

#16 228.4   Downloading cryptography-3.4.7-cp36-abi3-manylinux2014_aarch64.whl (3.1 MB)
#16 229.5 ERROR: Could not find a version that satisfies the requirement epam.indigo==1.5.0 (from -r requirements.txt (line 11)) (from versions: none)

Indigo is written in C++ and Python package contains architecture-related binary libraries inside. And as for version 1.5.0 only x86_64 is built-in.

We have plans to support aarch64 in nearest future, since our tests showed that code is working fine on this platform. However, it requires some CI/CD work. I'll notify you when it's done and we have aarch64 packages in PyPi.

mkviatkovskii avatar Oct 16 '21 06:10 mkviatkovskii

aarch64 was added to the recent indigo versions. Closing the ticket

AlexanderSavelyev avatar Jul 19 '23 11:07 AlexanderSavelyev