Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
smpa01
Super User
Super User

Custom package publishing in environment takes forever

Is publishing a custom package supposed to take forever ? I tried experimenting with creating a custom package and publish it in an environment , it is taking forever (1hr+) and still not done. Folder strucutre

 

 

 

//file1.py

def add (x:int,y:int):
    return x+y

//file2.py
from .file1 import *

def square (x:int,y:int):
    return add(x,y) ** 2

 

 

 

smpa01_0-1727378702405.png

 

smpa01_0-1727378827822.png

 

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
6 REPLIES 6
BryanRock
Frequent Visitor

I just wrote my first R package, so maybe I'm doing something wrong, but I'm having the same issue when I upload a .tar.gz file and try to publish. I waited 30 minutes. When I refreshed the page, it was as if I never clicked publish. No error message or anything.

I have no experience with R unfortunately. 

Python has been prioritized over R in our prod for a long time now. Sorry, I can't weigh in here.

 

Python packages still take ~20 min.

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
tmjones2
Helper I
Helper I

I also sit here for what seems like a lifetime whenever i upload a newer version of my library...

sergeik41
New Member

Why it takes 20 minutes to publish? This should not be exceptable. In Databricks, it takes just a fraction of that. 

Anonymous
Not applicable

Hi @smpa01 

 

We haven’t heard from you on the last response and wanted to check if you are still experiencing this issue. If you need further help on this, please provide more details and we will try to help.

 

Best Regards,
Jing

Community Support Team

Anonymous
Not applicable

Hi @smpa01 

 

I don't encounter any failure. I published a custom library which was downloaded from pypi.org and it succeeded in around 20 minutes. 

vjingzhanmsft_0-1727414159717.png

 

What's your experimental result finally? Did it succeed or fail? Did you receive any error message if it failed?

 

In addition, what's the version of your service and data region? I guess we are not using the same version as I have an additional "Built-in Libraries" section. My service version is 13.0.24328.49 and my data region is UK South. Maybe I'm using a slightly newer version. Deployments of new versions are not pushed to all regions at once. Maybe you can wait a few days and test it out after the version is updated.

 

In addition, you may try publishing a publicly released custom library. I've never developed a python library, so I'm not sure if the cause would lie in this custom library.

 

Let me know if you have any questions. 

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

Check out the July 2025 Fabric update to learn about new features.

July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.