Skip to content
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

All snake_case task cannot be detected with Fabric 3.2.2 Paramiko 3.4.0 Invoke 2.2.0 Python 3.10.12 #2293

Open
YiHuangDB opened this issue Jan 13, 2024 · 0 comments

Comments

@YiHuangDB
Copy link

Describe the bug
all snake_case task cannot be detected with Fabric 3.2.2 Paramiko 3.4.0 Invoke 2.2.0

To Reproduce
Steps to reproduce the behaviour (please attach a minimal example):

  1. install Fabric 3.2.2 Paramiko 3.4.0 Invoke 2.2.0
  2. code to reproduce
# fabfile.py
from fabric import task
@task
def local_deploy(c):
    c.run('echo "Running on localhost local_deploy"')
@task
def deploy(c):
    c.run('echo "Running on localhost deploy"')    
(.venv) ubuntu@ubuntu-Virtual-Machine:~/pyinvoke$ fab deploy
Running on localhost deploy
(.venv) ubuntu@ubuntu-Virtual-Machine:~/pyinvoke$ fab local_deploy
No idea what 'local_deploy' is!

Expected behaviour
snake_case task name should be supported

Environment

  • What version of the Python interpreter are you using? Are you using an
    alternative interpreter such as PyPy?
    Python 3.10.12
  • What operating system are you using both client & server-side?
    ubuntu 22.10 cloud image
  • Are you using OpenSSH server or something else?
    No run locally
  • Which version or versions of the software are you using?
    Fabric 3.2.2
    • Have you already tried the latest release?
      yes
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

No branches or pull requests

1 participant