Replies: 3 comments 1 reply
-
Hi there 👋, Thank you for reaching out. That's an excellent question. I know that I used to be common to exclude major dependencies like Django from Django's 3rd party packages. However, if your package imports any behavior for another package, you should maintain a proper dependency. That includes setting minimum versions. For example, your package only supports Django 4.2 and above? You should include that in your dependencies, description. In our case, this package does require psycopg (2 or 3) and in specific version, based on your Django version. We mirrored, that mainly for your CI setup. We should move the test setup, but realistically, this package implements a PostgreSQL feature; thus you will always need client bindings. Officially, Django supports only psycopg. However, I am curious, what issues did you run into? We are always open to improving this package, since it's an important fallback option, since the CITEXT removal from Django contrib. Best, |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Good morning @codingjoe From the commit history, the dependency has been added to satisfy the CI workflow added on 53e5177. The CI workflow could, instead, have it's own dependency file so that projects using this library don't need to have a new dependency added to their projects.
This is because there are other ways to satisfy psycopg requirements. For example, one can use psycopg-binary instead. I'd recommend removing the |
Beta Was this translation helpful? Give feedback.
-
Why does this project specify a psycopg dependency? I'd like to manage that requirement myself rather than by installing this project.
Beta Was this translation helpful? Give feedback.
All reactions