InvalidTemplateLibrary issue #1827
-
Hi Exception in thread django-main-thread: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): i have the following requirements.txt: amqp>=2.5.0,<3.0 someone for help? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is bug #897 (fixed in bcf9f1c). The solution is to upgrade GitPython to version 2.1.15 or higher. If at all possible, a much higher version should be used. The current version of GitPython, as of this writing, is 3.1.42. Over time, bugs have been fixed, including security vulnerabilities. Especially if you are developing a web application, it is a good idea to use patched versions of all dependencies (this is not limited to GitPython). The best way to update may depend on the details of your project and what is causing such old versions to be specified in the first place. It looks like your In case they are of interest, here are some references related to #897 itself:
However, it will most likely not be necessary to deal with any of those details. Upgrading to 2.1.15 or (preferably) higher should be sufficient. |
Beta Was this translation helpful? Give feedback.
This is bug #897 (fixed in bcf9f1c). The solution is to upgrade GitPython to version 2.1.15 or higher.
If at all possible, a much higher version should be used. The current version of GitPython, as of this writing, is 3.1.42. Over time, bugs have been fixed, including security vulnerabilities. Especially if you are developing a web application, it is a good idea to use patched versions of all dependencies (this is not limited to GitPython).
The best way to update may depend on the details of your project and what is causing such old versions to be specified in the first place. It looks like your
requirements.txt
is generated by runningpip freeze
. If so, getting later versions comes down …