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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket Pipeline, Google App Engine, pyodbc

Hey there,

I am attempting to deploy my software from a cloud bitbucket repository to Google App Engine using the google-app-engine-deploy bitbucket pipeline [1].

My application is written in python, and now requires the pyodbc pip library in order to connect to a SQL Server. In order to get this pip package to install, you first must install unixodbc-dev with `apt-get -y install unixodbc-dev`, otherwise you get a missing dependency error.

I am currently getting this missing dependency error in my pipeline, I believe this is because the google-app-engine-deploy pipeline [1] does not include this library.

Is there a workaround I can use to deploy my application? Or would it be possible for the pipeline to install this package, to allow me to install all of my requirements.txt?

Screenshots:

My pipeline step that is failing:

screenshot-bitbucket.org-2020.12.16-12_41_48.png

The error in the step:

screenshot-bitbucket.org-2020.12.16-12_41_14.png


Thank you,
Daniel

[1]https://bitbucket.org/atlassian/google-app-engine-deploy/src/master/

1 answer

@Daniel Mossie what image do you use for this step (or for all steps)? python:3.8? I mean, not in google-app-engine (however I will check it out)

It says that there is no sql installed (fully or properly).

Can you share also with us requirements in your lib in setup.py?

Specifically, pyodbc, what version is it?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Trello

Taco Tuesday: Your favorite Trello blog takeaway

Hello friends! From the community that brought you Welcome Wednesday, Throwback Thursday and Friday Fun, welcome to Taco Tuesday, a weekly discussion about all things Trello. The best part? One Tac...

67 views 4 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you