Hello everyone. I've previously used Buck2 at FB f...
# welcome
t
Hello everyone. I've previously used Buck2 at FB for building, testing and publishing but didn't want the headache of maintaining the build files. So I've been snooping around some build systems like Bazel, Please and well Pants for my new startup that uses Django and Pytorch for ML models. Decided on using Pants just because of the documentation (when evaluating I place heavy weightage on docs, cause it's usually the last item on an engineer's agenda), and you guys have done a stellar job.
❤️ 8
👋 1
b
@hundreds-father-404 in particular put a lot of care into crafting those docs. I'm glad it shows. 🙂
❤️ 1
h
Welcome! We have a bunch of resources (talks, blog posts) about using Pants effectively with Django. Can dig up links if you haven't already found them.
t
So we're trying to use the latest version of Django on python 3.10, but Pants isn't able to resolve the dependency
ERROR: No matching distribution found for django==4.1.4
. I noticed that in the example repo (https://github.com/pantsbuild/example-django/blob/main/requirements.txt) django < 4
h
Hmm, that shouldn't happen... can you open a ticket at https://github.com/pantsbuild/pants/issues with as many details as possible - full debug output (run with
-ldebug
) and error messages and so on?
👍 1
The example repo limited itself to Django<4 before 4 was even released, in case its code was going to be incompatible with Django 4
But not because of any fundamental reason, it should work
t
Seems to have resolved now. Thanks