In this post, we will see how to resolve pre-commit: Missing required key: name will local hook Question: I’m trying to set up a custom repo: local hook with pre-commit and running into an error message that I don’t understand ...
In this post, we will see how to resolve Getting “ERROR: In –require-hashes mode, all requirements must have their versions pinned with” Question: I want to use SHA256 hashes for installing pip packages and I have all dependencies pinned in ...
In this post, we will see how to resolve How to resolve conflicting dependencies in tox? Question: I have been using tox to run the lintin packes over my code base. However I have ran into the issue of not ...
In this post, we will see how to resolve Python requirements.txt and setup.py pick several ranges for the same package Question: I am developing 2 packages, package A that depends on package B. I am currently restricting the versioning of ...
In this post, we will see how to resolve Google Cloud Run for Django, Cloud Build fails for psycop2-binary Question: I have been successfully using Google Build for continuous integration with Google Cloud Run for the Django Application. However recently ...
Question: I’ve installed a library using the command which installs it directly from a Github repository. This works fine and I want to have that dependency in my requirements.txt. I’ve looked at other tickets like this but that didn’t solve ...
Question: Question Normally when I change the deps in my tox.ini file tox will notice the change and recreate the virtualenv with the new dependencies. But if I use deps = -r requirements.txt to read my dependencies from a requirements.txt ...
Question: I have quick question, becouse I have a weird bug. In my code I create virtual environment for python and then install all packages from file using pip install -r <file name>. When I run it locally everything is ...
Question: I am accustomed to seeing requirements.txt that has libraries optionally with an associated [minimum] version. In an existing project I am now working on instead we have library entries like this: The project does use poetry – which might ...