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

ipaddress requirements in Python 3.3+ #50

Closed
slavkoja opened this issue Feb 22, 2019 · 1 comment
Closed

ipaddress requirements in Python 3.3+ #50

slavkoja opened this issue Feb 22, 2019 · 1 comment

Comments

@slavkoja
Copy link

I am building own Debian's package, then mailparser is not installed via pip and i am using it with Python 3.7.

In the requirements.txt is a ipaddress module, which is part of Python3 standard lib from 3.3 version. I didn't inspect the source in depth, but it seems to work, when i use mailparser module from a script, but when i try to run it as command, it complains about missing distribution under python 3.7:

pkg_resources.DistributionNotFound: The 'ipaddress' distribution was not found and is required by the application

As i can see in ipaddress package description, it is port of built-in module to older versions of Python without it, then it is (have to be) useless in Python 3.3+. Please, consider make this requirement conditional, depending on used Python version.

@fedelemantuano
Copy link
Contributor

Please use the template issue to explain your issue, I can't understand without more information.

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

2 participants