Skip to content

Conversation

kohtala
Copy link

@kohtala kohtala commented Aug 19, 2025

The magic package for libmagic support has many different implementations that conflict with each other and I believe do not work on Windows. For the avatar only JPEG, GIF and PNG are supported in Jira Could REST API and also BMP and WBMP for Data Center, so we can decide which it is ourselves.

The tempfile code did not work because on Linux the temporary file is created with O_TMPFILE and the file name is integer for the file descriptor.

This replaces solutions in #1847 #1867, #1891 and closes #1801 which should have been closed already.

Copy link

github-actions bot commented Aug 19, 2025

Label error. Requires exactly 1 of: breaking, build, chore, ci, docs, feat, fix, perf, refactor, style, test. Found: dependencies. Follow https://www.conventionalcommits.org to get auto-labeling to work correctly.

The magic package for libmagic support has many different implementations
that conflict with each other. For the avatar only JPEG, GIF and PNG are
supported in Jira Could REST API and also BMP and WBMP for Data Center,
so we can decide which it is ourselves.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make dependency on pillow optional

2 participants