You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that AWX is open source software provided for free and that I might not receive a timely response.
Feature type
New Feature
Feature Summary
Task, do the following:
remove taggit use in awx/main/models, mainly in the form of taggit.managers.TaggableManager
run awx-manage makemigrations
Any existing tags will be deleted in this process.
Why? Because with jazzband/django-taggit#862 there is a lot of uncertainty about whether this library will play nicely with future Django versions, and whether it will do so in the time frame that we need it. Django has made some opinionated changes that requires a degree of synchronicity, in that the old pattern of index_together will stop working at some point, but the new pattern isn't supported by 3.Y versions. The library may increase their minimum version, or it may introduce long-term versions for 3 vs 4 Django versions. Either way, I'm not counting on that happening.
For the future, when (or if) the Django upgrade forces us to remove the taggit library, this will leave the option open to declare the current AWX version as a checkpoint version, and then in the next version:
Manually delete the taggit tables at the start of the migration command or some other way, or do this as SQL in another numbered migration
Also manually as a separate step, run awx-manage remove_stale_contenttypes, or maybe do that in a numbered migration
Select the relevant components
UI
API
Docs
Collection
CLI
Other
Steps to reproduce
N/A
Current results
N/A
Sugested feature result
N/A
Additional information
No response
The text was updated successfully, but these errors were encountered:
Please confirm the following
Feature type
New Feature
Feature Summary
Task, do the following:
awx/main/models
, mainly in the form oftaggit.managers.TaggableManager
awx-manage makemigrations
Any existing tags will be deleted in this process.
Why? Because with jazzband/django-taggit#862 there is a lot of uncertainty about whether this library will play nicely with future Django versions, and whether it will do so in the time frame that we need it. Django has made some opinionated changes that requires a degree of synchronicity, in that the old pattern of
index_together
will stop working at some point, but the new pattern isn't supported by 3.Y versions. The library may increase their minimum version, or it may introduce long-term versions for 3 vs 4 Django versions. Either way, I'm not counting on that happening.For the future, when (or if) the Django upgrade forces us to remove the taggit library, this will leave the option open to declare the current AWX version as a checkpoint version, and then in the next version:
awx-manage remove_stale_contenttypes
, or maybe do that in a numbered migrationSelect the relevant components
Steps to reproduce
N/A
Current results
N/A
Sugested feature result
N/A
Additional information
No response
The text was updated successfully, but these errors were encountered: