Skip to content

Prevent installing 0.9 on dropped Python versions #1100

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

Merged
merged 2 commits into from
Mar 17, 2019

Conversation

Conengmo
Copy link
Member

  • Use pip's python_requires argument should work for users with fairly recent pip version.
  • Otherwise raise an exception in setup.py when it is executed by an old Python version.
  • As a final catch raise an exception on importing folium when the Python version is lower than 3.

This is from the guidelines from https://python3statement.org/practicalities/

* Use pip's `python_requires` argument should work for users with fairly recent pip version.
* Otherwise raise an exception in `setup.py` when it is executed by an old Python version.
* As a final catch raise an exception on importing folium when the Python version is lower than 3.
@ocefpaf ocefpaf merged commit b4305bd into python-visualization:master Mar 17, 2019
@@ -66,11 +64,6 @@ script:
pytest /tmp -vv --ignore=tests/notebooks/test_notebooks.py ;
fi

- if [[ $TRAVIS_JOB_NAME == 'legacy-python' ]]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad to see this go away!

@ocefpaf
Copy link
Member

ocefpaf commented Mar 17, 2019

Thanks @Conengmo! Those safeguards against old pip are nice to have.

@Conengmo Conengmo deleted the py2-errors branch March 17, 2019 18:00
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.

3 participants