-
-
Notifications
You must be signed in to change notification settings - Fork 16.2k
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
Weird error with "Flask" in setup_requires. #1106
Comments
This is a bug in setuptools. See https://bitbucket.org/pypa/setuptools/issue/196/tests_require-pytest-pytest-cov-breaks. |
Closing this because it's an issue in setuptools. |
I know this issue is closed but, while it is still actually an issue with setuptools, you should be able to get around this by specifying the Flask version in your setup.py. For example, instead of |
@EmergentBehavior This is useful to know, thanks! |
…filter Also add a minimum for flask to fix a small problem during installation (see pallets/flask#1106 (comment) )
Just for future reference, as setuptools moved from Bitbucket to GitHub: pypa/setuptools#498 Also, rather than specifying a version number, changing the order of the dependencies may help too. |
I have noticed a rather weird error when installing a package that has Flask in
install_requires
. Here is the partial output ofpython setup.py install
Here is the relevant bit of
setup.py
Changing "Flask" to "flask" seems to fix things. Not a breaking bug but seems weird nonetheless especially since the packaging docs seem to indicate that "Flask" works fine.
The text was updated successfully, but these errors were encountered: