Custom Packages -- Image Build Failed

I have an app with python-docx and docxcompose installed on the server. Before today, they built with no issue, but today my server refuses to build them correctly:

Installing custom packages...
Using Python 3.10.16 environment at: .env
Resolved 7 packages in 4.53s
   Building docxcompose==1.4.0
Downloading babel (9.7MiB)
Downloading lxml (4.9MiB)
      Built docxcompose==1.4.0
 Downloaded lxml
 Downloaded babel
Prepared 4 packages in 11.16s
Installed 4 packages in 2.82s
 + babel==2.17.0
 + docxcompose==1.4.0
 + lxml==5.4.0
 + python-docx==1.1.2

Package install took 19379 ms.
Error: Build 

I have manually entered the version numbers, so I don’t know why it’s not building when both packages were properly downloaded.

App ID: 5OQHAWZNLZLZID42

Hi, I am on the hobby plan and trying to install the following packages:

  • beautifulsoup4 4.13.4
  • lxml 5.4.0
  • google-genai 1.12.1

The build fails without any particular message (see the logs below). I tried removing the packages one by one to see if one particular package caused the failure, but this does not seem to be the case.

I appreciate your help!

Logs

Installing custom packages...
Using Python 3.10.16 environment at: .env
Resolved 26 packages in 2.84s
Downloading pydantic-core (1.9MiB)
Downloading lxml (4.9MiB)
 Downloaded pydantic-core
 Downloaded lxml
Prepared 20 packages in 9.16s
Installed 20 packages in 1.02s
 + annotated-types==0.7.0
 + anyio==4.9.0
 + beautifulsoup4==4.13.4
 + cachetools==5.5.2
 + exceptiongroup==1.2.2
 + google-auth==2.39.0
 + google-genai==1.12.1
 + h11==0.16.0
 + httpcore==1.0.9
 + httpx==0.28.1
 + lxml==5.4.0
 + pyasn1==0.6.1
 + pyasn1-modules==0.4.2
 + pydantic==2.11.3
 + pydantic-core==2.33.1
 + rsa==4.9.1
 + sniffio==1.3.1
 + soupsieve==2.7
 + typing-inspection==0.4.0
 + websockets==15.0.1

Package install took 13650 ms.
Error: Build failed 

Same as my error I think:

This should now be resolved – sorry about that!

1 Like

Hi, the problem seems to have persisted in my case. Can you please take a look? Much appreciated!

The app ID is SXVBLVXSTNADNIXX.

Let me know if you need anything else from my side.

Thank yoU!

I’ve tried installing the latest version as well as a few prior and the build fails.

Can you try again now please?

2 Likes

openai library is installing correctly - thank you!

It worked! Thank you very much!

Hate to revive this one but I am having serious issues loading libraries. I loaded an app I hadn’t touched in about a week and the runtime failed. I tried to reload the imports but none of them worked. I started a new app to test and having the same problem. I notice when I exit the app I see a Repl not found alert.

Same issue here guys, can you please help us?

The build is failing without any specific errors trying to install the following packages.

folium
polars-ds
polars-hash
toolz
whenever
geocoder
msgspec-schemaorg

I also seem to be having an issue here. I’ve tried removing the packages one by one, it seems the error occurs whenever I try to add more than one package, regardless of which one it is.

Hi folks,

Apologies for that. For some reason the package installation system is finding lots of interesting (and different!) ways to fail at the moment. Service should now be restored.

2 Likes