circleci

Switched from WSGI to ASGI for Django Channels and now CircleCI throws "corrupted double-linked list" even though tests pass

Switched from WSGI to ASGI for Django Channels and now CircleCI throws "corrupted double-linked list" even though tests pass Question: I’ve been working on a project which requires WebSockets. The platform is built with Django and was running the WSGI server gunicorn. We decided to implement WebSockets using Django Channels. I set everything up including …

Total answers: 1

Check if we're in a GitHub Action / tracis ci / circle ci etc. testing environment

Check if we're in a GitHub Action / tracis ci / circle ci etc. testing environment Question: I would like to programatically determine if a particular Python script is run a testing enviroment such as GitHub action Tracis CI Circle CI etc. I realize that this will require some heuristics, but that’s good enough for …

Total answers: 1

Unzip artifacts after upload (store_artifacts)

Unzip artifacts after upload (store_artifacts) Question: We use Sphinx to build our Python documentation and then store the artifact. GitHub then shows directly a link in the CI to open the index.html. But when building Sphinx doc, thousands of files are created which slows down the upload of the artifact. To reduce upload time, from …

Total answers: 1

Zappa Update failing in CircleCI

Zappa Update failing in CircleCI Question: I am trying to deploy my Python project to AWS Lambda using Zappa and circleci. its throwing error Error: Zappa requires an active virtual environment! #!/bin/bash -eo pipefail zappa update dev (PyYAML 3.13 (/usr/local/lib/python3.6/site-packages), Requirement.parse(‘PyYAML>=4.1’), {‘cfn-flip’}) Calling update for stage dev.. Error: Zappa requires an active virtual environment! Learn …

Total answers: 2