Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,771
Community Members
 
Community Events
176
Community Groups

Pipelines can't find package version on PyPi - how to report issue

Edited

I noticed that one of my projects started failing on pipelines due to the version of the asgiref package I required not being found

ERROR: Could not find a version that satisfies the requirement asgiref==3.5.0

The only versions it seems to support are up to 3.4.1, the previous release from last July.

The thing is 3.5.0 is the current version of that package and has been since January,

Pypi - https://pypi.org/project/asgiref/
Django Release - https://github.com/django/asgiref/blob/main/CHANGELOG.txt

I've upgraded to it locally as well a manually on some deployment for improvement and for the RuntimeError fixes

My builds don't use caches so it's not that. I've tried reporting the issue but I don't have a paid account. Is there a work around to force pipeline to update it's Pypi cache or do I just have to downgrading the package version within the build just so the CI passes which seems madness.

**update**

The issue also affects Coverage where it thinks 6.2 is the latest version and 6.3.2 is out. 6.3.0 was also release in Jan 2022 so it's like anything release this year can not be used which is making builds impossible

ERROR: Could not find a version that satisfies the requirement coverage==6.3.2 (from versions: 3.0b3, 3.0, 3.0.1, 3.1b1, 3.1, 3.2b1, 3.2b2, 3.2b3, 3.2b4, 3.2, 3.3, 3.3.1, 3.4b1, 3.4b2, 3.4, 3.5b1, 3.5, 3.5.1b1, 3.5.1, 3.5.2b1, 3.5.2, 3.5.3, 3.6b1, 3.6b2, 3.6b3, 3.6, 3.7, 3.7.1, 4.0a1, 4.0a2, 4.0a3, 4.0a4, 4.0a5, 4.0a6, 4.0b1, 4.0b2, 4.0b3, 4.0, 4.0.1, 4.0.2, 4.0.3, 4.1b1, 4.1b2, 4.1b3, 4.1, 4.2b1, 4.2, 4.3, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.4b1, 4.4, 4.4.1, 4.4.2, 4.5, 4.5.1, 4.5.2, 4.5.3, 4.5.4, 5.0a1, 5.0a2, 5.0a3, 5.0a4, 5.0a5, 5.0a6, 5.0a7, 5.0a8, 5.0b1, 5.0b2, 5.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.1, 5.2, 5.2.1, 5.3, 5.3.1, 5.4, 5.5, 5.6b1, 6.0b1, 6.0, 6.0.1, 6.0.2, 6.1, 6.1.1, 6.1.2, 6.2)
ERROR: No matching distribution found for coverage==6.3.2

 

It's a shame as I moved from GitHub to BitBucket back in 2014 but it's with the increase in downtime, build limits and now this I need to accelerate moving back to GitHub as it's causing CI/CD issues where I'll have to turn off pipelines completely soon on all my clients projects

1 answer

1 accepted

1 vote
Answer accepted
Norbert C Atlassian Team Mar 10, 2022

Hi @stevemapes 

Thank you for contacting Atlassian Community, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you! Welcome to the Atlassian Community!

Based on my observation, this is not a Pipelines issue, but rather an issue with the build/docker image which is used by your build. To verify this, can I ask you to run the same build locally as in Pipelines and let us know if the issue still persists? Steps to reproduce

git clone https://<user_name>@bitbucket.org/<workspace>/<repository>
cd <repository>
git checkout <commit sha>
docker run -it --volume=<pathtotheclonedrepo>:/<clonedrepo> --workdir="/<clonedrepo>" --memory=8g --memory-swap=8g --memory-swappiness=0 --entrypoint=/bin/bash <imagewhichisusedbyyourbuild>

Once you're in the running docker container, can you run the same exact steps what's in your build and let us know if you experience the same behavior as in Pipelines? I'm asking you to do this as running the same build locally in Docker emulates the same environment as Pipelines.

We're looking forward to hear from you.

Best Regards,
Norbert
Atlassian Bitbucket Cloud Support

Thanks for that @Norbert C you're right that appears to be the issue.

I was using the basic Python images of python:3.8, python:3.9 and python:3.10 but the project now required GDAL support as is uses Geo-Django so I need additional dependencies. I swapped over to using thinkwhere/gdal-python:latest  and that and some others seem to have issues so I will look to move back to the original ones and add in installation of dependencies during the steps from apt

Norbert C Atlassian Team Mar 11, 2022

You're welcome @stevemapes I'm glad to hear I was able to help :)

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events