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
Can not install django-phonenumber-field
properly with pipenv
#200
Comments
Looks like there's some funny logic in setup.py. If either Maybe it's best to document that either of these are required, and leave it up to the developer to install whichever they prefer. |
Similar issue using https://github.com/jazzband/pip-tools |
@pauloxnet because |
Hi, What happens if: Best regards |
@oza4h07 , pipenv installs |
Probably #211 fixes this issue. But I suspect that will upset people who want to use the lite version of the library. So maybe we should just remove the dependency and document the dependency and let the developer choose (like @WhyNotHugo suggested). |
For me it installs also randomly |
This should be fixed now in |
For me it seems that the new version resolve this issue. |
🎉 🦄 |
Original issue: pypa/pipenv#1322
When installing
django-phonenumber-field
strange issue happens.When running direct
pipenv install django-phonenumber-field
everything works fine.But when another developer tries to install the requirements from
Pipfile
, for some reason packagephonenumberslite
is missing.I feel like this line in
setup.py
is the cause of this issue: https://github.com/stefanfoulis/django-phonenumber-field/blob/master/setup.py#L8Here are the
Pipfile
andPipfile.lock
:Describe your environment
3.6.4
9.0.1
Expected result
I expect that
django-phonenumber-field
and all its dependencies will be installed.Actual result
phonenumberslite
is not installed.Steps to replicate
pipenv install django-phonenumber-field
pipenv run pip freeze
, you will see something like:pipenv --rm
(we simulate a situation when we have to usePipfile
for installing dependencies)pipenv install
pipenv run pip freeze
, you will see something like this:The text was updated successfully, but these errors were encountered: