-
Notifications
You must be signed in to change notification settings - Fork 76
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`t install graphene-django due to bug in promise install_requires definition #90
Comments
@syrusakbary can you please help? |
@ValkoVolodya that looks like an environment marker, rather than a typo. |
@tdaff , yeah, thanks, now I see, that is valid, but I use version 5.2.0 of |
I asked about this problem in pip-tools repo - jazzband/pip-tools#1327 and problem is that wheel file for version 2.3 is not downloaded - https://pypi.org/project/promise/#files for now I try to pin older version with wheel downloaded |
To be fair, this Inline env markers aren't well-supported by old setuptools so this will only work if the end-users know that they need to have a minimum setuptools version of 36.2 0 upfront. And when you migrate to using a declarative A more portable solution would be to use markers in the nameless extras definitions (this seems to be supported since v0.7): - extras_require={"test": tests_require},
+ extras_require={
+ ":python_version < '3.5'": ["typing>=3.6.4"],
+ "test": tests_require,
+ },
install_requires=[
- "typing>=3.6.4; python_version < '3.5'",
"six"
], Although, my ultimate recommendation is to use PEP517. To activate it, simply add a |
Hello!
Tried to compile my requirements file via
pip-compile
, that contains:but get an error:
Error is here:
https://github.com/syrusakbary/promise/blob/master/setup.py#L60
The text was updated successfully, but these errors were encountered: