Skip to content

Django: Fix up Pipenv dependency pinning #218

@gdude2002

Description

@gdude2002

As it stands right now, we're pinning dependencies down to the current segment we want, using the "compatible release" specifier.

django = "~=2.2"

What this means is that Pipenv will update Django to 2.3 and other 2.x releases, avoiding any 3.x or later releases. However, we really want to pin to the patch version (or "micro" version, as Pipenv calls it for some reason) - so we should instead be pinning as follows:

django = "~=2.2.0"

This will allow automatic updates to 2.2.x versions, but not 2.3.x and so on.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions