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

Deprecate imp [Breaks py2.7 compatibility] #413

Merged
merged 2 commits into from
Mar 13, 2021

Conversation

sergioisidoro
Copy link
Contributor

@sergioisidoro sergioisidoro commented Jul 3, 2020

Getting the following warnings:

venv/lib/python3.7/site-packages/flasgger/utils.py:5
 
venv/lib/python3.7/site-packages/flasgger/utils.py:5: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
 
    import imp

-- Docs: https://docs.pytest.org/en/latest/warnings.html

I guess this relates to #399 , but I think since Python2 has officially reached the EOL, this makes sense.

This makes this package incompatible with Python < 3.3

@sergioisidoro sergioisidoro changed the title Deprecate imp Deprecate imp [Breaks py2.7 compatibility] Jul 3, 2020
@billyrrr billyrrr merged commit 6f5fcf2 into flasgger:master Mar 13, 2021
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.

None yet

2 participants