-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
InvalidRequirement when installing apache airflow with gcp_api extra #804
Comments
I forgot to add that with the same virtualenv the following command works properly
|
I can definitely reproduce and I think I know where the issue is coming from. I will investigate and keep you posted. |
Seeing as this looks related, I'm also seeing this when trying to run |
Guessing it's a failure to fully implement PEP 508. Or maybe the whitespace?
Either way, it should be supported given the spec. |
I saw the same error when trying to add |
This should be fixed in the latest |
@sdispater sadly I still seem to have the bug using
|
Hitting same issue here when installing pyobjc
|
@sdispater would you mind reopening this issue as it does not seem to be fixed? |
Just to make sure: could anyone of you try again after clearing the cache |
I confirm that the problem persists.
|
@Paikan Thanks! I will investigate. |
Here's a part of my [[package]]
category = "dev"
description = "Lightweight, extensible schema and data validation tool for Python dictionaries."
marker = "<empty>"
name = "cerberus"
optional = false
python-versions = ">=2.7"
version = "1.3.1" It works fine if I remove the marker value and run [[package]]
category = "dev"
description = "Lightweight, extensible schema and data validation tool for Python dictionaries."
-marker = "<empty>"
name = "cerberus"
optional = false
python-versions = ">=2.7"
version = "1.3.1" |
Marker is not emptry, it should read Still an issue:
But my earlier issue with installing |
Still an issue, both under 0.12.17 and 1.0.0a4 |
@sdispater I'd be happy to help looking into this, because this is an issue for me, but I'm not entirely sure what the expected behaviour here is. It seems that what happens is that this line is adding the def to_dependency(self):
from . import dependency_from_pep_508
name = "{} (=={})".format(self._name, self._version)
if not self.marker.is_any():
name += " ; {}".format(str(self.marker))
return dependency_from_pep_508(name) In the case of Airflow, the |
This seems to be addressed in #1230. |
same issue here ... |
This should be fixed in the latest |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
The text was updated successfully, but these errors were encountered: