Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move away from using the imghdr module as it is deprecated & will be removed in 3.13 https://docs.python.org/3/library/imghdr.html #1557

Open
1 of 4 tasks
dbaxa opened this issue Nov 28, 2022 · 4 comments

Comments

@dbaxa
Copy link
Member

dbaxa commented Nov 28, 2022

Bug summary

Hi, as per away https://docs.python.org/3/library/imghdr.html the imghdr module is deprecated as of python 3.11 & will be removed in python 3.13.

Is there an existing issue for this?

  • I have searched the existing issues

Jira Instance type

Jira Cloud (Hosted by Atlassian)

Jira instance version

No response

jira-python version

main

Python Interpreter version

3.11

Which operating systems have you used?

  • Linux
  • macOS
  • Windows

Reproduction steps

1. Install jira in python 3.11
2. Import it
3. <path>jira/client.py:11: DeprecationWarning: 'imghdr' is deprecated and slated for removal in Python 3.13
    import imghdr


### Stack trace

```python
<path>jira/client.py:11: DeprecationWarning: 'imghdr' is deprecated and slated for removal in Python 3.13
    import imghdr


### Expected behaviour

No deprecation warning is raised.

### Additional Context

_No response_
@tomereli
Copy link

tomereli commented Jun 2, 2023

Any update on this? we can't this is failing pytest when we enable warnings as errors.

@tibu
Copy link

tibu commented Oct 2, 2023

Do you know when this change could be part of a release?

@NasaGeek
Copy link

Looks like 3.6.0, released last week, addressed this issue. I expect this can be closed.

@deronnax
Copy link
Contributor

deronnax commented Jan 31, 2024

@adehad you can safely close this one as it was addressed by the merged #1680

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

No branches or pull requests

5 participants