The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket Pipeline, Google App Engine, pyodbc

Daniel Mossie
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 16, 2020

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 23, 2020

@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).

Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 23, 2020

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

Specifically, pyodbc, what version is it?

TAGS
AUG Leaders

Atlassian Community Events