Skip to content

Update django-autocomplete-light from 3.9.4 to 4.0 - #2684

Open
tompollard wants to merge 1 commit into
devfrom
tp/fix-dal-install
Open

Update django-autocomplete-light from 3.9.4 to 4.0#2684
tompollard wants to merge 1 commit into
devfrom
tp/fix-dal-install

Conversation

@tompollard

@tompollard tompollard commented Aug 31, 2026

Copy link
Copy Markdown
Member

The 3.9.4 django-autocomplete-light sdist has broken tar metadata (group name is None) which crashes tarfile.chown during extraction on Debian 12, causing the Poetry install step to fail in CI:

  TypeError                                                                                                                                                                                               
  getgrnam() argument 'name' must be str, not None                                                                                                                                                        
  at /usr/lib/python3.11/tarfile.py:2348 in chown

See for example: https://github.com/MIT-LCP/physionet-build/actions/runs/33286356667/job/99560210589

This pull request bumps django-autocomplete-light from 3.9.4 to 3.12.1

@tompollard

Copy link
Copy Markdown
Member Author

Hmm, it looks like it is still an issue in this version of django-autocomplete-light. Will need an alternative fix.

@tompollard tompollard changed the title Update django-autocomplete-light from 3.9.4 to 3.12.1 Update django-autocomplete-light from 3.9.4 to 4.0 Aug 31, 2026
@tompollard

Copy link
Copy Markdown
Member Author

This is actually a broader issue than just this package. See #2685

Poetry 2.x removed the pip-based installer fallback
(installer.modern-installation = false). Without it,
tarfile.chown() crashes when extracting sdists as root
in Docker/CI due to packages with gname=None in tar
metadata. Pin Poetry <2 and re-enable the fallback.

Also update django-autocomplete-light from 3.9.4 to 4.x,
which includes a wheel distribution that avoids the
sdist extraction issue entirely.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant