-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Dependency on "decorator" package not captured in v3.0.x #2263
Comments
@lrbison Yep, I am getting this error as well. Looks like It is due to the On version To workaround it, I have to downgrade the
I would assume it is a dependency compatibility issue of Fabric. Looking forward to an official fix. |
Yup this is technically an Invoke level breakage, see pyinvoke/invoke#935 - however I think the correct fix is to make Fabric grow the dependency officially as it was sloppy hygiene to import it via Invoke's vendored copy. I'll commit the fix to master now and it will be out in 3.1 (since it's "sort of" adding a "new" dependency) which is in the works now. Thanks! |
Thank you @bitprophet for the quick response edit: Do you have an expected release date for this? We have around 300 projects with daily builds and all of those using fabric exploded over the weekend because of this. Just to know whether we should start nudging in a fix or not to get our pipelines working again. |
@exhuma There's nothing in Invoke 2.1 that you would be likely to care a lot about, so in your shoes I would definitely update whatever does your pip installing, to explicitly specify |
Invocations 3.1 (no relation to Fabric 3.1...I just happened to get new major revs everywhere recently when dropping Python 2 😅) now out, and Fabric main branch now using it to prove this type of issue will be caught by our CI in the future: https://app.circleci.com/pipelines/github/fabric/fabric/191/workflows/8e7ddf2d-8d19-4579-a361-9c2a00e9f9c4/jobs/775 EDIT: and with the fix in place in Fabric's main branch (see autoclose link below), it passes again: https://app.circleci.com/pipelines/github/fabric/fabric/192/workflows/eb1bd2af-4478-4874-935a-dca384bc5258/jobs/793?invite=true#step-106-633 Look on PyPI for Fabric 3.1 to come out sometime hopefully later this month! |
I confirm installing Fabric 3.1 picks up decorator as part of its dependency chain. Thanks. |
When installing fabric in a fresh venv, Connection cannot be imported:
The above works. But starting with 3.0.0, (including the recent 3.0.1):
The text was updated successfully, but these errors were encountered: