Skip to main content

Questions tagged [python]

Python is a dynamic and strongly typed programming language designed to emphasize usability.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

When I say version control here, I'm talking specifically about the version number of the software I'm working on. I'm using git and happy with the general workflow, and have plans on how to improve ...
Adrian V's user avatar
1 vote
1 answer
45 views

I'd like to set count to 1 when TF_WORKSPACE is prod and 0 otherwise. I recently learned about Fn.conditional and would like to compare a working implementation of it, using purely Python CDKTF, with ...
cov's user avatar
  • 11
1 vote
1 answer
367 views

I have a sort of configuration vars file through which I'm looping, checks: - name: "x" setting: "y" eval: "{{ 'OK' if var == 'x' else 'NOK' }}" main.yml - ...
Someboodyh's user avatar
0 votes
1 answer
194 views

I'm currently building AWX EE custom image with the latest available but it seems latest versions got some conflicts with pip modules. My custom image was working great in July (awx-ee version 22.X 23....
motorbass's user avatar
  • 113
1 vote
1 answer
978 views

I updated a recent playbook module that says I need to use at least Python version 3.8. I run this playbook on our AWX controller. When I run the cmd module and do a "which python3" I get ...
David Desjardins's user avatar
1 vote
2 answers
147 views

I'm new to DevOps and overwhelmed with all the options. I write python web applications as a solo developer, on my local machine. I have a "staging" server and I have multiple websites under ...
DumbMathBoy's user avatar
1 vote
1 answer
3k views

Using cloud function - trying to make get call to get the project name and with the id - https://cloud.google.com/resource-manager/docs/creating-managing-projects#listing_projects from ...
lisa_rao007's user avatar
0 votes
1 answer
2k views

I asked this question on the regular stackoverflow but i think you guys will be much more competent about this topic. My guess is that is some sort of python setup issue. When I write an import line ...
Ruslan Yakushev's user avatar
0 votes
1 answer
2k views

The connection is not succeeding in docker. Look at my settings: Dockerfile FROM python:3.8.5-alpine WORKDIR /app COPY requirements.txt . RUN python3 -m pip install --upgrade pip RUN pip install -...
Flavio W.'s user avatar
2 votes
0 answers
912 views

Background: I have about 15 AWS EC2 instances running Windows. They each have local drives and share a single network drive. Each needs to be able to run certain in-development python tools from ...
mars's user avatar
  • 21
1 vote
1 answer
55 views

We have sensitive data from a customer and need to train a Neural Network for our customers. However we have no severs to train the Neural Networks, so we want to rent GPU servers. There are many ...
Bamberino's user avatar
0 votes
1 answer
637 views

We run services in AWS FARGATE... our Docker builds are tagged before we push them to AWS with a Makefile. I committed changes to a Docker service, ran make, and I see the new Docker image tag when I ...
Mike Pennington's user avatar
3 votes
3 answers
704 views

I am trying to use the pypa/gh-action-pypi-publish action in GitHub to push a Python package to PyPI. I'm in the team that owns microbiomedata/nmdc-schema and successfully uses a GitHub action to ...
Mark Miller's user avatar
1 vote
1 answer
241 views

Just yesterday everything worked fine on our AWS ElasticBeanstalk continuous deployment, but today suddenly fails with the following errors: $ pip install awsebcli -q --upgrade DEPRECATION: Python 2.7 ...
magnump0's user avatar
  • 121
1 vote
1 answer
4k views

I have Pipeline which run Jenkinsfile. one of the stage is pylint: python -m pylint --rcfile=.pylintrc --exit-zero ${MODULE} > ${WORKSPACE}/testreport/pylint.log I know there was used to be ...
arielma's user avatar
  • 339
1 vote
1 answer
3k views

I am trying to build a python script that will build jobs externally but when I am executing it, throws 403 forbidden error for build jobs call other get APIs are working fine. Below is the python ...
Nitish kumar's user avatar
1 vote
1 answer
39 views

I am Data Scientist and I have a problem with setting of versions modules like Keras, Tensorflow PyTorch, etc. Although I am using tools like virtuaenv or conda, my code isn't cross-platform, version ...
fuwiak's user avatar
  • 111
1 vote
2 answers
533 views

I want to force the developers to write unit tests for all new code they wrote. The code is written in python. I want to do it in the Jenkins pipeline. And here is a question. Is there any available ...
Kamil Kapka's user avatar
2 votes
1 answer
623 views

I want to deploy a web app as a docker container. Currently I need to set up nginx, gunicorn and flask to realize this. There are many guides around to do it in docker but always divide it in two ...
tbzk's user avatar
  • 23
0 votes
1 answer
6k views

I have the below code in the jenkisn pipeline: stage ("amd_distribution_input_transformation"){ steps{ script{ amd_distribution_input_transformation url: ...
arielma's user avatar
  • 339
6 votes
1 answer
909 views

I want to deploy a Flask API on AWS using Docker. A common way seems to be using a combination of Nginx + app server (e.g Gunicorn) + Flask app. The reason to use app server seems obvious to me. ...
Domen P's user avatar
  • 61
1 vote
1 answer
813 views

Is there a way to run a Python server that uses WSGI bindings directly? I am trying to go with the one process per container philosophy which will naturally get rid of Apache/NGINX from the container ...
MrCholo's user avatar
2 votes
1 answer
2k views

I'm using Ansible 2.8.0 (ansible --version installed by brew on macOS) which is using Jinja 2.10. I've tried to downgrade Jinja to 2.8 via pip3 install jinja2==2.8, and I can confirm the right ...
kenorb's user avatar
  • 8,061
4 votes
1 answer
5k views

I have a Dockerfile which I want to run some tests inside of as part of a multistage build. The tests attempt to make a connection to localhost, however it appears that they're not able to connect to ...
Madden's user avatar
  • 223
1 vote
1 answer
76 views

I am new to Django six months ago and I learned how to deploy the Django projects to EC2 instances. Basically 1st time when the Django project is deployed to EC2, the instance will be configured ...
user10849817's user avatar