-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
Description
Prerequisites
- I am using the latest version of Locust
- I am suggesting a new feature, not asking a question
Description
I see now pip install locust
will also install locust-cloud
as a dependency.
Could you please make it optional so that it's possible to install just locust
without locust-cloud
?
Also: do users really need setuptools
as a dependency or was it added by accident?
The motivation for us is simply to have a smaller dependency tree and uv.lock
file and for us locust
is a (very) rarely used dev dependency. If it's difficult to achieve, not a big deal.
$ uv tree
...
locust v2.37.4 (group: dev)
│ ├── configargparse v1.7
│ ├── flask v3.1.1
│ │ ├── blinker v1.9.0
│ │ ├── click v8.2.1
│ │ ├── itsdangerous v2.2.0
│ │ ├── jinja2 v3.1.6 (*)
│ │ ├── markupsafe v3.0.2
│ │ └── werkzeug v3.1.3
│ │ └── markupsafe v3.0.2
│ ├── flask-cors v6.0.0
│ │ ├── flask v3.1.1 (*)
│ │ └── werkzeug v3.1.3 (*)
│ ├── flask-login v0.6.3
│ │ ├── flask v3.1.1 (*)
│ │ └── werkzeug v3.1.3 (*)
│ ├── gevent v24.11.1
│ │ ├── greenlet v3.2.2
│ │ ├── zope-event v5.0
│ │ │ └── setuptools v80.8.0
│ │ └── zope-interface v7.2
│ │ └── setuptools v80.8.0
│ ├── geventhttpclient v2.3.3
│ │ ├── brotli v1.1.0
│ │ ├── certifi v2025.4.26
│ │ ├── gevent v24.11.1 (*)
│ │ └── urllib3 v2.4.0
│ ├── locust-cloud v1.21.7
│ │ ├── configargparse v1.7
│ │ ├── gevent v24.11.1 (*)
│ │ ├── platformdirs v4.3.8
│ │ └── python-socketio[client] v5.13.0
│ │ ├── bidict v0.23.1
│ │ ├── python-engineio v4.12.1
│ │ │ └── simple-websocket v1.1.0
│ │ │ └── wsproto v1.2.0
│ │ │ └── h11 v0.16.0
│ │ ├── requests v2.32.3 (extra: client) (*)
│ │ └── websocket-client v1.8.0 (extra: client)
│ ├── msgpack v1.1.0
│ ├── psutil v7.0.0
│ ├── pyzmq v26.4.0
│ ├── requests v2.32.3 (*)
│ ├── setuptools v80.8.0
│ └── werkzeug v3.1.3 (*)